Class: Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesSessionAttributeKeyValuePair

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/searchads360_v23/classes.rb,
lib/google/apis/searchads360_v23/representations.rb,
lib/google/apis/searchads360_v23/representations.rb

Overview

Contains one session attribute of the conversion.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleAdsSearchads360V23ServicesSessionAttributeKeyValuePair

Returns a new instance of GoogleAdsSearchads360V23ServicesSessionAttributeKeyValuePair.



55063
55064
55065
# File 'lib/google/apis/searchads360_v23/classes.rb', line 55063

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#session_attribute_keyString

Required. The name of the session attribute. Corresponds to the JSON property sessionAttributeKey

Returns:

  • (String)


55056
55057
55058
# File 'lib/google/apis/searchads360_v23/classes.rb', line 55056

def session_attribute_key
  @session_attribute_key
end

#session_attribute_valueString

Required. The value of the session attribute. Corresponds to the JSON property sessionAttributeValue

Returns:

  • (String)


55061
55062
55063
# File 'lib/google/apis/searchads360_v23/classes.rb', line 55061

def session_attribute_value
  @session_attribute_value
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



55068
55069
55070
55071
# File 'lib/google/apis/searchads360_v23/classes.rb', line 55068

def update!(**args)
  @session_attribute_key = args[:session_attribute_key] if args.key?(:session_attribute_key)
  @session_attribute_value = args[:session_attribute_value] if args.key?(:session_attribute_value)
end