Class: Google::Cloud::Vision::V1p4beta1::Product::KeyValue
- Inherits:
-
Object
- Object
- Google::Cloud::Vision::V1p4beta1::Product::KeyValue
- Extended by:
- Protobuf::MessageExts::ClassMethods
- Includes:
- Protobuf::MessageExts
- Defined in:
- proto_docs/google/cloud/vision/v1p4beta1/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.
75 76 77 78 |
# File 'proto_docs/google/cloud/vision/v1p4beta1/product_search_service.rb', line 75 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.
75 76 77 78 |
# File 'proto_docs/google/cloud/vision/v1p4beta1/product_search_service.rb', line 75 class KeyValue include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |