Reference documentation and code samples for the Cloud Trace V2 API class Google::Cloud::Trace::V2::Span::TimeEvent::Annotation.
Text annotation with a set of attributes.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#attributes
def attributes() -> ::Google::Cloud::Trace::V2::Span::Attributes
Returns
- (::Google::Cloud::Trace::V2::Span::Attributes) — A set of attributes on the annotation. You can have up to 4 attributes per Annotation.
#attributes=
def attributes=(value) -> ::Google::Cloud::Trace::V2::Span::Attributes
Parameter
- value (::Google::Cloud::Trace::V2::Span::Attributes) — A set of attributes on the annotation. You can have up to 4 attributes per Annotation.
Returns
- (::Google::Cloud::Trace::V2::Span::Attributes) — A set of attributes on the annotation. You can have up to 4 attributes per Annotation.
#description
def description() -> ::Google::Cloud::Trace::V2::TruncatableString
Returns
- (::Google::Cloud::Trace::V2::TruncatableString) — A user-supplied message describing the event. The maximum length for the description is 256 bytes.
#description=
def description=(value) -> ::Google::Cloud::Trace::V2::TruncatableString
Parameter
- value (::Google::Cloud::Trace::V2::TruncatableString) — A user-supplied message describing the event. The maximum length for the description is 256 bytes.
Returns
- (::Google::Cloud::Trace::V2::TruncatableString) — A user-supplied message describing the event. The maximum length for the description is 256 bytes.