Class OperationProgress.Types.Metric

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

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(OperationProgress.Types.Metric)

public Metric(OperationProgress.Types.Metric other)
Parameter
TypeNameDescription
OperationProgress.Types.Metricother

Properties

DoubleValue

public double DoubleValue { get; set; }

For metrics with floating point value.

Property Value
TypeDescription
Double

IntValue

public long IntValue { get; set; }

For metrics with integer value.

Property Value
TypeDescription
Int64

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
OperationProgress.Types.Metric.ValueOneofCase

Implements