Cloud Vision V1 Client - Class Property (1.7.6)

Reference documentation and code samples for the Cloud Vision V1 Client class Property.

A Property consists of a user-supplied name/value pair.

Generated from protobuf message google.cloud.vision.v1.Property

Namespace

Google \ Cloud \ Vision \ V1

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ name string

Name of the property.

↳ value string

Value of the property.

↳ uint64_value int|string

Value of numeric properties.

getName

Name of the property.

Returns
TypeDescription
string

setName

Name of the property.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getValue

Value of the property.

Returns
TypeDescription
string

setValue

Value of the property.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getUint64Value

Value of numeric properties.

Returns
TypeDescription
int|string

setUint64Value

Value of numeric properties.

Parameter
NameDescription
var int|string
Returns
TypeDescription
$this