Class AttributeValue (2.3.0)

public sealed class AttributeValue : IMessage<AttributeValue>, IEquatable<AttributeValue>, IDeepCloneable<AttributeValue>, IBufferMessage, IMessage

The allowed types for [VALUE] in a [KEY]:[VALUE] attribute.

Inheritance

Object > AttributeValue

Namespace

Google.Cloud.Trace.V2

Assembly

Google.Cloud.Trace.V2.dll

Constructors

AttributeValue()

public AttributeValue()

AttributeValue(AttributeValue)

public AttributeValue(AttributeValue other)
Parameter
NameDescription
otherAttributeValue

Properties

BoolValue

public bool BoolValue { get; set; }

A Boolean value represented by true or false.

Property Value
TypeDescription
Boolean

IntValue

public long IntValue { get; set; }

A 64-bit signed integer.

Property Value
TypeDescription
Int64

StringValue

public TruncatableString StringValue { get; set; }

A string up to 256 bytes long.

Property Value
TypeDescription
TruncatableString

ValueCase

public AttributeValue.ValueOneofCase ValueCase { get; }
Property Value
TypeDescription
AttributeValue.ValueOneofCase