class Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p3beta1ProductKeyValue
A product label represented as a key-value pair.
Attributes
key[RW]
The key of the label attached to the product. Cannot be empty and cannot exceed 128 bytes. Corresponds to the JSON property `key` @return [String]
value[RW]
The value of the label attached to the product. Cannot be empty and cannot exceed 128 bytes. Corresponds to the JSON property `value` @return [String]
Public Class Methods
new(**args)
click to toggle source
# File lib/google/apis/vision_v1p1beta1/classes.rb, line 6069 def initialize(**args) update!(**args) end
Public Instance Methods
update!(**args)
click to toggle source
Update properties of this object
# File lib/google/apis/vision_v1p1beta1/classes.rb, line 6074 def update!(**args) @key = args[:key] if args.key?(:key) @value = args[:value] if args.key?(:value) end