Class: Google::Apis::ContentV2_1::OrderOrderAnnotation

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

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

#keyString

Key for additional google provided (as key-value pairs) annotation. Corresponds to the JSON property key

Returns:

  • (String)


5269
5270
5271
# File 'generated/google/apis/content_v2_1/classes.rb', line 5269

def key
  @key
end

#valueString

Value for additional google provided (as key-value pairs) annotation. Corresponds to the JSON property value

Returns:

  • (String)


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