Stackdriver Monitoring V3 Client - Class LabelValue (2.1.2)
Stay organized with collections
Save and categorize content based on your preferences.
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
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
Returns |
Type |
Description |
bool |
|
hasBoolValue
setBoolValue
Parameter |
Name |
Description |
var |
bool
|
Returns |
Type |
Description |
$this |
|
getInt64Value
Returns |
Type |
Description |
int|string |
|
hasInt64Value
setInt64Value
Parameter |
Name |
Description |
var |
int|string
|
Returns |
Type |
Description |
$this |
|
getStringValue
Returns |
Type |
Description |
string |
|
hasStringValue
setStringValue
Parameter |
Name |
Description |
var |
string
|
Returns |
Type |
Description |
$this |
|
getValue
Returns |
Type |
Description |
string |
|
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-09-04 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-09-04 UTC."],[],[],null,["# Stackdriver Monitoring V3 Client - Class LabelValue (2.1.2)\n\nVersion latestkeyboard_arrow_down\n\n- [2.1.2 (latest)](/php/docs/reference/cloud-monitoring/latest/V3.LabelValue)\n- [2.1.1](/php/docs/reference/cloud-monitoring/2.1.1/V3.LabelValue)\n- [2.0.1](/php/docs/reference/cloud-monitoring/2.0.1/V3.LabelValue)\n- [1.12.1](/php/docs/reference/cloud-monitoring/1.12.1/V3.LabelValue)\n- [1.11.1](/php/docs/reference/cloud-monitoring/1.11.1/V3.LabelValue)\n- [1.10.3](/php/docs/reference/cloud-monitoring/1.10.3/V3.LabelValue)\n- [1.9.0](/php/docs/reference/cloud-monitoring/1.9.0/V3.LabelValue)\n- [1.8.0](/php/docs/reference/cloud-monitoring/1.8.0/V3.LabelValue)\n- [1.7.1](/php/docs/reference/cloud-monitoring/1.7.1/V3.LabelValue)\n- [1.6.0](/php/docs/reference/cloud-monitoring/1.6.0/V3.LabelValue)\n- [1.5.1](/php/docs/reference/cloud-monitoring/1.5.1/V3.LabelValue)\n- [1.4.0](/php/docs/reference/cloud-monitoring/1.4.0/V3.LabelValue)\n- [1.3.2](/php/docs/reference/cloud-monitoring/1.3.2/V3.LabelValue)\n- [1.2.2](/php/docs/reference/cloud-monitoring/1.2.2/V3.LabelValue) \nReference documentation and code samples for the Stackdriver Monitoring V3 Client class LabelValue.\n\nA label value.\n\nGenerated from protobuf message `google.monitoring.v3.LabelValue`\n\nNamespace\n---------\n\nGoogle \\\\ Cloud \\\\ Monitoring \\\\ V3\n\nMethods\n-------\n\n### __construct\n\nConstructor.\n\n### getBoolValue\n\nA bool label value.\n\n### hasBoolValue\n\n### setBoolValue\n\nA bool label value.\n\n### getInt64Value\n\nAn int64 label value.\n\n### hasInt64Value\n\n### setInt64Value\n\nAn int64 label value.\n\n### getStringValue\n\nA string label value.\n\n### hasStringValue\n\n### setStringValue\n\nA string label value.\n\n### getValue"]]