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.
54991 54992 54993 |
# File 'lib/google/apis/searchads360_v23/classes.rb', line 54991 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
54984 54985 54986 |
# File 'lib/google/apis/searchads360_v23/classes.rb', line 54984 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
54989 54990 54991 |
# File 'lib/google/apis/searchads360_v23/classes.rb', line 54989 def session_attribute_value @session_attribute_value end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
54996 54997 54998 54999 |
# File 'lib/google/apis/searchads360_v23/classes.rb', line 54996 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 |