Google Kubernetes Engine v1 API - Class OperationProgress.Types.Metric (3.27.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
Name Description
other OperationProgressTypesMetric

Properties

DoubleValue

public double DoubleValue { get; set; }

For metrics with floating point value.

Property Value
Type Description
double

HasDoubleValue

public bool HasDoubleValue { get; }

Gets whether the "double_value" field is set

Property Value
Type Description
bool

HasIntValue

public bool HasIntValue { get; }

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

IntValue

public long IntValue { get; set; }

For metrics with integer value.

Property Value
Type Description
long

Name

public string Name { get; set; }

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

Property Value
Type Description
string

StringValue

public string StringValue { get; set; }

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

Property Value
Type Description
string

ValueCase

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