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"]],[["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-03-21 UTC."],[[["This documentation covers the `Span.Types.Attributes` class within the Google Cloud Trace v2 API, providing reference information and code samples for the class."],["The `Span.Types.Attributes` class is designed to store a set of key-value pairs as attributes, and it inherits from `object` and implements interfaces such as `IMessage`, `IEquatable`, `IDeepCloneable`, and `IBufferMessage`."],["The class provides a `AttributeMap` property, which is a `MapField` where keys are strings and values are `AttributeValue`, allowing for storage of attributes with string, integer, or boolean values."],["It also features a `DroppedAttributesCount` property to indicate if any attributes were discarded due to length or quantity constraints."],["The documentation provides links to various versions of the `Span.Types.Attributes` class, ranging from version 2.2.0 up to the latest version 3.6.0, showing how the class evolves."]]],[]]