Class: Google::Apis::Searchads360V23::GoogleAdsSearchads360V23CommonProductConditionInfo
- Inherits:
-
Object
- Object
- Google::Apis::Searchads360V23::GoogleAdsSearchads360V23CommonProductConditionInfo
- 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
Condition of a product offer.
Instance Attribute Summary collapse
-
#condition ⇒ String
Value of the condition.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleAdsSearchads360V23CommonProductConditionInfo
constructor
A new instance of GoogleAdsSearchads360V23CommonProductConditionInfo.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleAdsSearchads360V23CommonProductConditionInfo
Returns a new instance of GoogleAdsSearchads360V23CommonProductConditionInfo.
9449 9450 9451 |
# File 'lib/google/apis/searchads360_v23/classes.rb', line 9449 def initialize(**args) update!(**args) end |
Instance Attribute Details
#condition ⇒ String
Value of the condition.
Corresponds to the JSON property condition
9447 9448 9449 |
# File 'lib/google/apis/searchads360_v23/classes.rb', line 9447 def condition @condition end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
9454 9455 9456 |
# File 'lib/google/apis/searchads360_v23/classes.rb', line 9454 def update!(**args) @condition = args[:condition] if args.key?(:condition) end |