Google Kubernetes Engine v1 API - Class OperationProgress.Types.Metric (3.18.0)

public sealed class OperationProgress.Types.Metric : IMessage<OperationProgress.Types.Metric>, IEquatable<OperationProgress.Types.Metric>, IDeepCloneable<OperationProgress.Types.Metric>, IBufferMessage, IMessage

Reference documentation and code samples for the Google Kubernetes Engine v1 API class OperationProgress.Types.Metric.

Progress metric is (string, int|float|string) pair.

Inheritance

object > OperationProgress.Types.Metric

Namespace

Google.Cloud.Container.V1

Assembly

Google.Cloud.Container.V1.dll

Constructors

Metric()

public Metric()

Metric(Metric)

public Metric(OperationProgress.Types.Metric other)
Parameter
NameDescription
otherOperationProgressTypesMetric

Properties

DoubleValue

public double DoubleValue { get; set; }

For metrics with floating point value.

Property Value
TypeDescription
double

HasDoubleValue

public bool HasDoubleValue { get; }

Gets whether the "double_value" field is set

Property Value
TypeDescription
bool

HasIntValue

public bool HasIntValue { get; }

Gets whether the "int_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

IntValue

public long IntValue { get; set; }

For metrics with integer value.

Property Value
TypeDescription
long

Name

public string Name { get; set; }

Required. Metric name, e.g., "nodes total", "percent done".

Property Value
TypeDescription
string

StringValue

public string StringValue { get; set; }

For metrics with custom values (ratios, visual progress, etc.).

Property Value
TypeDescription
string

ValueCase

public OperationProgress.Types.Metric.ValueOneofCase ValueCase { get; }
Property Value
TypeDescription
OperationProgressTypesMetricValueOneofCase