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 | |
---|---|
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.
Generated from protobuf field bool bool_value = 1;
Returns | |
---|---|
Type | Description |
bool |
hasBoolValue
setBoolValue
A bool label value.
Generated from protobuf field bool bool_value = 1;
Parameter | |
---|---|
Name | Description |
var |
bool
|
Returns | |
---|---|
Type | Description |
$this |
getInt64Value
An int64 label value.
Generated from protobuf field int64 int64_value = 2;
Returns | |
---|---|
Type | Description |
int|string |
hasInt64Value
setInt64Value
An int64 label value.
Generated from protobuf field int64 int64_value = 2;
Parameter | |
---|---|
Name | Description |
var |
int|string
|
Returns | |
---|---|
Type | Description |
$this |
getStringValue
A string label value.
Generated from protobuf field string string_value = 3;
Returns | |
---|---|
Type | Description |
string |
hasStringValue
setStringValue
A string label value.
Generated from protobuf field string string_value = 3;
Parameter | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |
getValue
Returns | |
---|---|
Type | Description |
string |