public sealed class Attributes : IMessage<Span.Types.Attributes>, IEquatable<Span.Types.Attributes>, IDeepCloneable<Span.Types.Attributes>, IBufferMessage, IMessage
A set of attributes, each in the format [KEY]:[VALUE].
public MapField<string, AttributeValue> AttributeMap { get; }
The set of attributes. Each attribute's key can be up to 128 bytes
long. The value can be a string up to 256 bytes, a signed 64-bit integer,
or the Boolean values true and false. For example:
The number of attributes that were discarded. Attributes can be discarded
because their keys are too long or because there are too many attributes.
If this value is 0 then all attributes are valid.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-07 UTC."],[[["\u003cp\u003eThe content describes the \u003ccode\u003eAttributes\u003c/code\u003e class within the \u003ccode\u003eGoogle.Cloud.Trace.V2\u003c/code\u003e namespace, which is used to represent a set of attributes in the format of \u003ccode\u003e[KEY]:[VALUE]\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThis \u003ccode\u003eAttributes\u003c/code\u003e class implements several interfaces, including \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e, indicating its capabilities for serialization, comparison, cloning, and buffer management.\u003c/p\u003e\n"],["\u003cp\u003eThe class offers two constructors: a default constructor, and one that allows for the initialization of \u003ccode\u003eAttributes\u003c/code\u003e based on another \u003ccode\u003eAttributes\u003c/code\u003e object.\u003c/p\u003e\n"],["\u003cp\u003eKey properties of \u003ccode\u003eAttributes\u003c/code\u003e include \u003ccode\u003eAttributeMap\u003c/code\u003e, which is a \u003ccode\u003eMapField\u003c/code\u003e storing attribute key-value pairs, and \u003ccode\u003eDroppedAttributesCount\u003c/code\u003e, which tracks the number of discarded attributes.\u003c/p\u003e\n"],["\u003cp\u003eThe provided versions of the \u003ccode\u003eGoogle.Cloud.Trace.V2\u003c/code\u003e range from 2.2.0 up to 3.6.0, with 3.6.0 being the latest version available.\u003c/p\u003e\n"]]],[],null,[]]