Class: Google::Apis::Searchads360V23::GoogleAdsSearchads360V23CommonProductCustomAttributeInfo

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

Custom attribute of a product offer.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleAdsSearchads360V23CommonProductCustomAttributeInfo

Returns a new instance of GoogleAdsSearchads360V23CommonProductCustomAttributeInfo.



9473
9474
9475
# File 'lib/google/apis/searchads360_v23/classes.rb', line 9473

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

Instance Attribute Details

#indexString

Indicates the index of the custom attribute. Corresponds to the JSON property index

Returns:

  • (String)


9466
9467
9468
# File 'lib/google/apis/searchads360_v23/classes.rb', line 9466

def index
  @index
end

#valueString

String value of the product custom attribute. Corresponds to the JSON property value

Returns:

  • (String)


9471
9472
9473
# File 'lib/google/apis/searchads360_v23/classes.rb', line 9471

def value
  @value
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



9478
9479
9480
9481
# File 'lib/google/apis/searchads360_v23/classes.rb', line 9478

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