public sealed class 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.
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"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-06-05 UTC."],[[["This document provides reference documentation for the `Span.Types.Attributes` class within the Google Cloud Trace v2 API, specifically for version 3.1.0."],["`Span.Types.Attributes` represents a collection of attributes, each with a key-value pair format, supporting string, integer, or boolean values, with the key having a limit of 128 bytes, and the value, for strings, having a limit of 256."],["The `Attributes` class implements multiple interfaces, including `IMessage`, `IEquatable`, `IDeepCloneable`, and `IBufferMessage`, allowing for message handling, equality checks, deep cloning, and buffered message operations."],["The class has properties such as `AttributeMap`, which stores the attribute set, and `DroppedAttributesCount`, which indicates the number of attributes discarded due to size or quantity limits."],["The documentation includes a listing of previous versions of the Span.Types.Attributes class with links to access the documentation for each of them, starting from version 2.2.0 up to version 3.6.0, the latest version."]]],[]]