Class: Google::Cloud::Vision::V1p3beta1::Product::KeyValue
- Inherits:
-
Object
- Object
- Google::Cloud::Vision::V1p3beta1::Product::KeyValue
- 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
-
#key ⇒ ::String
The key of the label attached to the product.
-
#value ⇒ ::String
The value of the label attached to the product.
Instance Attribute Details
#key ⇒ ::String
Returns 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.
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 |