Reference documentation and code samples for the Stackdriver Monitoring V3 Client class TypedValue.
A single strongly-typed value.
Generated from protobuf message google.monitoring.v3.TypedValue
Namespace
Google \ Cloud \ Monitoring \ V3Methods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ bool_value
bool
A Boolean value: true
or false
.
↳ int64_value
int|string
A 64-bit integer. Its range is approximately ±9.2x10 18 .
↳ double_value
float
A 64-bit double-precision floating-point number. Its magnitude is approximately ±10 ±300 and it has 16 significant digits of precision.
↳ string_value
string
A variable-length string value.
↳ distribution_value
getBoolValue
A Boolean value: true
or false
.
bool
hasBoolValue
setBoolValue
A Boolean value: true
or false
.
var
bool
$this
getInt64Value
A 64-bit integer. Its range is approximately ±9.2x10 18 .
int|string
hasInt64Value
setInt64Value
A 64-bit integer. Its range is approximately ±9.2x10 18 .
var
int|string
$this
getDoubleValue
A 64-bit double-precision floating-point number. Its magnitude is approximately ±10 ±300 and it has 16 significant digits of precision.
float
hasDoubleValue
setDoubleValue
A 64-bit double-precision floating-point number. Its magnitude is approximately ±10 ±300 and it has 16 significant digits of precision.
var
float
$this
getStringValue
A variable-length string value.
string
hasStringValue
setStringValue
A variable-length string value.
var
string
$this
getDistributionValue
A distribution value.
hasDistributionValue
setDistributionValue
A distribution value.
$this
getValue
string