Google Cloud Monitoring v3 API - Class LabelValue (3.11.0)

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

Reference documentation and code samples for the Google Cloud Monitoring v3 API class LabelValue.

A label value.

Inheritance

object > LabelValue

Namespace

Google.Cloud.Monitoring.V3

Assembly

Google.Cloud.Monitoring.V3.dll

Constructors

LabelValue()

public LabelValue()

LabelValue(LabelValue)

public LabelValue(LabelValue other)
Parameter
Name Description
other LabelValue

Properties

BoolValue

public bool BoolValue { get; set; }

A bool label value.

Property Value
Type Description
bool

HasBoolValue

public bool HasBoolValue { get; }

Gets whether the "bool_value" field is set

Property Value
Type Description
bool

HasInt64Value

public bool HasInt64Value { get; }

Gets whether the "int64_value" field is set

Property Value
Type Description
bool

HasStringValue

public bool HasStringValue { get; }

Gets whether the "string_value" field is set

Property Value
Type Description
bool

Int64Value

public long Int64Value { get; set; }

An int64 label value.

Property Value
Type Description
long

StringValue

public string StringValue { get; set; }

A string label value.

Property Value
Type Description
string

ValueCase

public LabelValue.ValueOneofCase ValueCase { get; }
Property Value
Type Description
LabelValueValueOneofCase