Google Cloud Monitoring v3 API - Class TypedValue (3.7.0)

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

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

A single strongly-typed value.

Inheritance

object > TypedValue

Namespace

Google.Cloud.Monitoring.V3

Assembly

Google.Cloud.Monitoring.V3.dll

Constructors

TypedValue()

public TypedValue()

TypedValue(TypedValue)

public TypedValue(TypedValue other)
Parameter
NameDescription
otherTypedValue

Properties

BoolValue

public bool BoolValue { get; set; }

A Boolean value: true or false.

Property Value
TypeDescription
bool

DistributionValue

public Distribution DistributionValue { get; set; }

A distribution value.

Property Value
TypeDescription
Distribution

DoubleValue

public double DoubleValue { get; set; }

A 64-bit double-precision floating-point number. Its magnitude is approximately &plusmn;10<sup>&plusmn;300</sup> and it has 16 significant digits of precision.

Property Value
TypeDescription
double

HasBoolValue

public bool HasBoolValue { get; }

Gets whether the "bool_value" field is set

Property Value
TypeDescription
bool

HasDoubleValue

public bool HasDoubleValue { get; }

Gets whether the "double_value" field is set

Property Value
TypeDescription
bool

HasInt64Value

public bool HasInt64Value { get; }

Gets whether the "int64_value" field is set

Property Value
TypeDescription
bool

HasStringValue

public bool HasStringValue { get; }

Gets whether the "string_value" field is set

Property Value
TypeDescription
bool

Int64Value

public long Int64Value { get; set; }

A 64-bit integer. Its range is approximately &plusmn;9.2x10<sup>18</sup>.

Property Value
TypeDescription
long

StringValue

public string StringValue { get; set; }

A variable-length string value.

Property Value
TypeDescription
string

ValueCase

public TypedValue.ValueOneofCase ValueCase { get; }
Property Value
TypeDescription
TypedValueValueOneofCase