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.
9441 9442 9443 |
# File 'lib/google/apis/searchads360_v23/classes.rb', line 9441 def initialize(**args) update!(**args) end |
Instance Attribute Details
#condition ⇒ String
Value of the condition.
Corresponds to the JSON property condition
9439 9440 9441 |
# File 'lib/google/apis/searchads360_v23/classes.rb', line 9439 def condition @condition end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
9446 9447 9448 |
# File 'lib/google/apis/searchads360_v23/classes.rb', line 9446 def update!(**args) @condition = args[:condition] if args.key?(:condition) end |