Cloud Trace V2 API - Class Google::Cloud::Trace::V2::AttributeValue (v1.2.0)

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 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.

#bool_value=

def bool_value=(value) -> ::Boolean
Parameter
  • value (::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.

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.

#int_value

def int_value() -> ::Integer
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.

#int_value=

def int_value=(value) -> ::Integer
Parameter
  • value (::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.

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.

#string_value

def string_value() -> ::Google::Cloud::Trace::V2::TruncatableString
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.

#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.

    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.