Class: Google::Cloud::Trace::V2::AttributeValue

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/devtools/cloudtrace/v2/trace.rb

Overview

The allowed types for [VALUE] in a [KEY]:[VALUE] attribute.

Instance Attribute Summary collapse

Instance Attribute Details

#bool_value::Boolean

Returns A Boolean value represented by true or false.

Note: The following fields are mutually exclusive: bool_value, string_value, int_value. If a field in that set is populated, all other fields in the set will automatically be cleared.

Returns:

  • (::Boolean)

    A Boolean value represented by true or false.

    Note: The following fields are mutually exclusive: bool_value, string_value, int_value. If a field in that set is populated, all other fields in the set will automatically be cleared.



320
321
322
323
# File 'proto_docs/google/devtools/cloudtrace/v2/trace.rb', line 320

class AttributeValue
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#int_value::Integer

Returns A 64-bit signed integer.

Note: The following fields are mutually exclusive: int_value, string_value, bool_value. If a field in that set is populated, all other fields in the set will automatically be cleared.

Returns:

  • (::Integer)

    A 64-bit signed integer.

    Note: The following fields are mutually exclusive: int_value, string_value, bool_value. If a field in that set is populated, all other fields in the set will automatically be cleared.



320
321
322
323
# File 'proto_docs/google/devtools/cloudtrace/v2/trace.rb', line 320

class AttributeValue
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#string_value::Google::Cloud::Trace::V2::TruncatableString

Returns A string up to 256 bytes long.

Note: The following fields are mutually exclusive: string_value, int_value, bool_value. If a field in that set is populated, all other fields in the set will automatically be cleared.

Returns:

  • (::Google::Cloud::Trace::V2::TruncatableString)

    A string up to 256 bytes long.

    Note: The following fields are mutually exclusive: string_value, int_value, bool_value. If a field in that set is populated, all other fields in the set will automatically be cleared.



320
321
322
323
# File 'proto_docs/google/devtools/cloudtrace/v2/trace.rb', line 320

class AttributeValue
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end