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.
Implements
IMessage<OperationProgress.Types.Metric>, IEquatable<OperationProgress.Types.Metric>, IDeepCloneable<OperationProgress.Types.Metric>, IBufferMessage, IMessageNamespace
Google.Cloud.Container.V1Assembly
Google.Cloud.Container.V1.dll
Constructors
Metric()
public Metric()
Metric(OperationProgress.Types.Metric)
public Metric(OperationProgress.Types.Metric other)
Parameter | |
---|---|
Name | Description |
other | OperationProgress.Types.Metric |
Properties
DoubleValue
public double DoubleValue { get; set; }
For metrics with floating point value.
Property Value | |
---|---|
Type | Description |
Double |
IntValue
public long IntValue { get; set; }
For metrics with integer value.
Property Value | |
---|---|
Type | Description |
Int64 |
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 |
OperationProgress.Types.Metric.ValueOneofCase |