Class: Google::Apis::ContentV2_1::OrderOrderAnnotation
- Inherits:
-
Object
- Object
- Google::Apis::ContentV2_1::OrderOrderAnnotation
- Includes:
- Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
- Defined in:
- generated/google/apis/content_v2_1/classes.rb,
generated/google/apis/content_v2_1/representations.rb,
generated/google/apis/content_v2_1/representations.rb
Instance Attribute Summary collapse
-
#key ⇒ String
Key for additional google provided (as key-value pairs) annotation.
-
#value ⇒ String
Value for additional google provided (as key-value pairs) annotation.
Instance Method Summary collapse
-
#initialize(**args) ⇒ OrderOrderAnnotation
constructor
A new instance of OrderOrderAnnotation.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ OrderOrderAnnotation
Returns a new instance of OrderOrderAnnotation.
5276 5277 5278 |
# File 'generated/google/apis/content_v2_1/classes.rb', line 5276 def initialize(**args) update!(**args) end |
Instance Attribute Details
#key ⇒ String
Key for additional google provided (as key-value pairs) annotation.
Corresponds to the JSON property key
5269 5270 5271 |
# File 'generated/google/apis/content_v2_1/classes.rb', line 5269 def key @key end |
#value ⇒ String
Value for additional google provided (as key-value pairs) annotation.
Corresponds to the JSON property value
5274 5275 5276 |
# File 'generated/google/apis/content_v2_1/classes.rb', line 5274 def value @value end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
5281 5282 5283 5284 |
# File 'generated/google/apis/content_v2_1/classes.rb', line 5281 def update!(**args) @key = args[:key] if args.key?(:key) @value = args[:value] if args.key?(:value) end |