Class: Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesSessionAttributeKeyValuePair
- Inherits:
-
Object
- Object
- Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesSessionAttributeKeyValuePair
- 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
-
#session_attribute_key ⇒ String
Required.
-
#session_attribute_value ⇒ String
Required.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleAdsSearchads360V23ServicesSessionAttributeKeyValuePair
constructor
A new instance of GoogleAdsSearchads360V23ServicesSessionAttributeKeyValuePair.
-
#update!(**args) ⇒ Object
Update properties of this object.
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_key ⇒ String
Required. The name of the session attribute.
Corresponds to the JSON property sessionAttributeKey
55056 55057 55058 |
# File 'lib/google/apis/searchads360_v23/classes.rb', line 55056 def session_attribute_key @session_attribute_key end |
#session_attribute_value ⇒ String
Required. The value of the session attribute.
Corresponds to the JSON property sessionAttributeValue
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 |