Google Cloud Monitoring v3 API - Class TypedValue (3.10.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
Name Description
other TypedValue

Properties

BoolValue

public bool BoolValue { get; set; }

A Boolean value: true or false.

Property Value
Type Description
bool

DistributionValue

public Distribution DistributionValue { get; set; }

A distribution value.

Property Value
Type Description
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
Type Description
double

HasBoolValue

public bool HasBoolValue { get; }

Gets whether the "bool_value" field is set

Property Value
Type Description
bool

HasDoubleValue

public bool HasDoubleValue { get; }

Gets whether the "double_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; }

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

Property Value
Type Description
long

StringValue

public string StringValue { get; set; }

A variable-length string value.

Property Value
Type Description
string

ValueCase

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