Reference documentation and code samples for the Cloud Trace V2 API class Google::Cloud::Trace::V2::AttributeValue.
The allowed types for [VALUE] in a [KEY]:[VALUE]
attribute.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#bool_value
def bool_value() -> ::Boolean
Returns
-
(::Boolean) — A Boolean value represented by
true
orfalse
.
#bool_value=
def bool_value=(value) -> ::Boolean
Parameter
-
value (::Boolean) — A Boolean value represented by
true
orfalse
.
Returns
-
(::Boolean) — A Boolean value represented by
true
orfalse
.
#int_value
def int_value() -> ::Integer
Returns
- (::Integer) — A 64-bit signed integer.
#int_value=
def int_value=(value) -> ::Integer
Parameter
- value (::Integer) — A 64-bit signed integer.
Returns
- (::Integer) — A 64-bit signed integer.
#string_value
def string_value() -> ::Google::Cloud::Trace::V2::TruncatableString
Returns
- (::Google::Cloud::Trace::V2::TruncatableString) — A string up to 256 bytes long.
#string_value=
def string_value=(value) -> ::Google::Cloud::Trace::V2::TruncatableString
Parameter
- value (::Google::Cloud::Trace::V2::TruncatableString) — A string up to 256 bytes long.
Returns
- (::Google::Cloud::Trace::V2::TruncatableString) — A string up to 256 bytes long.