Class: Google::Cloud::Vision::V1p3beta1::Product::KeyValue

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/cloud/vision/v1p3beta1/product_search_service.rb

Overview

A product label represented as a key-value pair.

Instance Attribute Summary collapse

Instance Attribute Details

#key::String

Returns The key of the label attached to the product. Cannot be empty and cannot exceed 128 bytes.

Returns:

  • (::String)

    The key of the label attached to the product. Cannot be empty and cannot exceed 128 bytes.



71
72
73
74
# File 'proto_docs/google/cloud/vision/v1p3beta1/product_search_service.rb', line 71

class KeyValue
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#value::String

Returns The value of the label attached to the product. Cannot be empty and cannot exceed 128 bytes.

Returns:

  • (::String)

    The value of the label attached to the product. Cannot be empty and cannot exceed 128 bytes.



71
72
73
74
# File 'proto_docs/google/cloud/vision/v1p3beta1/product_search_service.rb', line 71

class KeyValue
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end