Class: Google::Apis::Searchads360V23::GoogleAdsSearchads360V23CommonProductCustomAttributeInfo
- Inherits:
-
Object
- Object
- Google::Apis::Searchads360V23::GoogleAdsSearchads360V23CommonProductCustomAttributeInfo
- 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
-
#index ⇒ String
Indicates the index of the custom attribute.
-
#value ⇒ String
String value of the product custom attribute.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleAdsSearchads360V23CommonProductCustomAttributeInfo
constructor
A new instance of GoogleAdsSearchads360V23CommonProductCustomAttributeInfo.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleAdsSearchads360V23CommonProductCustomAttributeInfo
Returns a new instance of GoogleAdsSearchads360V23CommonProductCustomAttributeInfo.
9465 9466 9467 |
# File 'lib/google/apis/searchads360_v23/classes.rb', line 9465 def initialize(**args) update!(**args) end |
Instance Attribute Details
#index ⇒ String
Indicates the index of the custom attribute.
Corresponds to the JSON property index
9458 9459 9460 |
# File 'lib/google/apis/searchads360_v23/classes.rb', line 9458 def index @index end |
#value ⇒ String
String value of the product custom attribute.
Corresponds to the JSON property value
9463 9464 9465 |
# File 'lib/google/apis/searchads360_v23/classes.rb', line 9463 def value @value end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
9470 9471 9472 9473 |
# File 'lib/google/apis/searchads360_v23/classes.rb', line 9470 def update!(**args) @index = args[:index] if args.key?(:index) @value = args[:value] if args.key?(:value) end |