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.



55075
55076
55077
# File 'lib/google/apis/searchads360_v23/classes.rb', line 55075

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)


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

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)


55073
55074
55075
# File 'lib/google/apis/searchads360_v23/classes.rb', line 55073

def session_attribute_value
  @session_attribute_value
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



55080
55081
55082
55083
# File 'lib/google/apis/searchads360_v23/classes.rb', line 55080

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