Class TypedValue (2.3.0)

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

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
Boolean

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

Int64Value

public long Int64Value { get; set; }

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

Property Value
TypeDescription
Int64

StringValue

public string StringValue { get; set; }

A variable-length string value.

Property Value
TypeDescription
String

ValueCase

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