Stackdriver Monitoring V3 Client - Class LabelValue (1.10.3)

Reference documentation and code samples for the Stackdriver Monitoring V3 Client class LabelValue.

A label value.

Generated from protobuf message google.monitoring.v3.LabelValue

Namespace

Google \ Cloud \ Monitoring \ V3

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ bool_value bool

A bool label value.

↳ int64_value int|string

An int64 label value.

↳ string_value string

A string label value.

getBoolValue

A bool label value.

Returns
Type Description
bool

hasBoolValue

setBoolValue

A bool label value.

Parameter
Name Description
var bool
Returns
Type Description
$this

getInt64Value

An int64 label value.

Returns
Type Description
int|string

hasInt64Value

setInt64Value

An int64 label value.

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

getStringValue

A string label value.

Returns
Type Description
string

hasStringValue

setStringValue

A string label value.

Parameter
Name Description
var string
Returns
Type Description
$this

getValue

Returns
Type Description
string