public sealed class Span.Types.Attributes : IMessage<Span.Types.Attributes>, IEquatable<Span.Types.Attributes>, IDeepCloneable<Span.Types.Attributes>, IBufferMessage, IMessage
Reference documentation and code samples for the Google Cloud Trace v2 API class Span.Types.Attributes.
public MapField<string, AttributeValue> AttributeMap { get; }
A 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 or 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\u003eThis page provides documentation for the \u003ccode\u003eSpan.Types.Attributes\u003c/code\u003e class within the Google Cloud Trace v2 API, specifically for version 3.4.0.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eSpan.Types.Attributes\u003c/code\u003e represents a collection of key-value pairs, where keys can be up to 128 bytes and values can be strings, 64-bit integers, or booleans.\u003c/p\u003e\n"],["\u003cp\u003eThe class implements interfaces such as \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e, enabling various functionalities.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eAttributes\u003c/code\u003e class includes properties like \u003ccode\u003eAttributeMap\u003c/code\u003e, a map field for storing key-value pairs, and \u003ccode\u003eDroppedAttributesCount\u003c/code\u003e, which indicates the number of discarded attributes.\u003c/p\u003e\n"],["\u003cp\u003eThere are different versions of the \u003ccode\u003eSpan.Types.Attributes\u003c/code\u003e class in the documentation, ranging from version 2.2.0 up to the latest version, 3.6.0, as well as the current version 3.4.0.\u003c/p\u003e\n"]]],[],null,[]]