Stackdriver Monitoring V3 Client - Class LabelValue (1.7.1)

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
NameDescription
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
TypeDescription
bool

hasBoolValue

setBoolValue

A bool label value.

Parameter
NameDescription
var bool
Returns
TypeDescription
$this

getInt64Value

An int64 label value.

Returns
TypeDescription
int|string

hasInt64Value

setInt64Value

An int64 label value.

Parameter
NameDescription
var int|string
Returns
TypeDescription
$this

getStringValue

A string label value.

Returns
TypeDescription
string

hasStringValue

setStringValue

A string label value.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getValue

Returns
TypeDescription
string