Reference documentation and code samples for the Stackdriver Trace V2 Client class AttributeValue.
The allowed types for [VALUE]
in a [KEY]:[VALUE]
attribute.
Generated from protobuf message google.devtools.cloudtrace.v2.AttributeValue
Namespace
Google \ Cloud \ Trace \ V2Methods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ string_value
↳ int_value
int|string
A 64-bit signed integer.
↳ bool_value
bool
A Boolean value represented by true
or false
.
getStringValue
A string up to 256 bytes long.
hasStringValue
setStringValue
A string up to 256 bytes long.
$this
getIntValue
A 64-bit signed integer.
int|string
hasIntValue
setIntValue
A 64-bit signed integer.
var
int|string
$this
getBoolValue
A Boolean value represented by true
or false
.
bool
hasBoolValue
setBoolValue
A Boolean value represented by true
or false
.
var
bool
$this
getValue
string