Cloud Vision V1 Client - Class Property (1.9.4)

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
Name Description
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
Type Description
string

setName

Name of the property.

Parameter
Name Description
var string
Returns
Type Description
$this

getValue

Value of the property.

Returns
Type Description
string

setValue

Value of the property.

Parameter
Name Description
var string
Returns
Type Description
$this

getUint64Value

Value of numeric properties.

Returns
Type Description
int|string

setUint64Value

Value of numeric properties.

Parameter
Name Description
var int|string
Returns
Type Description
$this