Google API Common Protos Client - Class LabelDescriptor (4.8.3)

Reference documentation and code samples for the Google API Common Protos Client class LabelDescriptor.

A description of a label.

Generated from protobuf message google.api.LabelDescriptor

Namespace

Google \ Api

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ key string

The label key.

↳ value_type int

The type of data that can be assigned to the label.

↳ description string

A human-readable description for the label.

getKey

The label key.

Returns
Type Description
string

setKey

The label key.

Parameter
Name Description
var string
Returns
Type Description
$this

getValueType

The type of data that can be assigned to the label.

Returns
Type Description
int

setValueType

The type of data that can be assigned to the label.

Parameter
Name Description
var int
Returns
Type Description
$this

getDescription

A human-readable description for the label.

Returns
Type Description
string

setDescription

A human-readable description for the label.

Parameter
Name Description
var string
Returns
Type Description
$this