Stackdriver Monitoring V3 Client - Class LabelValue (1.2.2)

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

A label value.

Generated from protobuf message google.monitoring.v3.LabelValue

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.

Generated from protobuf field bool bool_value = 1;

Returns
TypeDescription
bool

hasBoolValue

setBoolValue

A bool label value.

Generated from protobuf field bool bool_value = 1;

Parameter
NameDescription
var bool
Returns
TypeDescription
$this

getInt64Value

An int64 label value.

Generated from protobuf field int64 int64_value = 2;

Returns
TypeDescription
int|string

hasInt64Value

setInt64Value

An int64 label value.

Generated from protobuf field int64 int64_value = 2;

Parameter
NameDescription
var int|string
Returns
TypeDescription
$this

getStringValue

A string label value.

Generated from protobuf field string string_value = 3;

Returns
TypeDescription
string

hasStringValue

setStringValue

A string label value.

Generated from protobuf field string string_value = 3;

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getValue

Returns
TypeDescription
string