public sealed class Annotation : IMessage<Span.Types.TimeEvent.Types.Annotation>, IEquatable<Span.Types.TimeEvent.Types.Annotation>, IDeepCloneable<Span.Types.TimeEvent.Types.Annotation>, IBufferMessage, IMessage
Reference documentation and code samples for the Google Cloud Trace v2 API class Span.Types.TimeEvent.Types.Annotation.
Text annotation with a set of attributes.
Implements
IMessage<Span.Types.TimeEvent.Types.Annotation>, IEquatable<Span.Types.TimeEvent.Types.Annotation>, IDeepCloneable<Span.Types.TimeEvent.Types.Annotation>, IBufferMessage, IMessageNamespace
Google.Cloud.Trace.V2Assembly
Google.Cloud.Trace.V2.dll
Constructors
Annotation()
public Annotation()
Annotation(Span.Types.TimeEvent.Types.Annotation)
public Annotation(Span.Types.TimeEvent.Types.Annotation other)
Parameter | |
---|---|
Name | Description |
other | Span.Types.TimeEvent.Types.Annotation |
Properties
Attributes
public Span.Types.Attributes Attributes { get; set; }
A set of attributes on the annotation. You can have up to 4 attributes per Annotation.
Property Value | |
---|---|
Type | Description |
Span.Types.Attributes |
Description
public TruncatableString Description { get; set; }
A user-supplied message describing the event. The maximum length for the description is 256 bytes.
Property Value | |
---|---|
Type | Description |
TruncatableString |