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.



54991
54992
54993
# File 'lib/google/apis/searchads360_v23/classes.rb', line 54991

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)


54984
54985
54986
# File 'lib/google/apis/searchads360_v23/classes.rb', line 54984

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)


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