Reference documentation and code samples for the Cloud Vision V1 Client class KeyValue.
A product label represented as a key-value pair.
Generated from protobuf message google.cloud.vision.v1.Product.KeyValue
Namespace
Google \ Cloud \ Vision \ V1 \ ProductMethods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ key
string
The key of the label attached to the product. Cannot be empty and cannot exceed 128 bytes.
↳ value
string
The value of the label attached to the product. Cannot be empty and cannot exceed 128 bytes.
getKey
The key of the label attached to the product. Cannot be empty and cannot exceed 128 bytes.
string
setKey
The key of the label attached to the product. Cannot be empty and cannot exceed 128 bytes.
var
string
$this
getValue
The value of the label attached to the product. Cannot be empty and cannot exceed 128 bytes.
string
setValue
The value of the label attached to the product. Cannot be empty and cannot exceed 128 bytes.
var
string
$this

