public sealed class OperationProgress.Types.Metric : IMessage<OperationProgress.Types.Metric>, IEquatable<OperationProgress.Types.Metric>, IDeepCloneable<OperationProgress.Types.Metric>, IBufferMessage, IMessageReference documentation and code samples for the Google Kubernetes Engine v1 API class OperationProgress.Types.Metric.
Progress metric is (string, int|float|string) pair.
Implements
IMessageOperationProgressTypesMetric, IEquatableOperationProgressTypesMetric, IDeepCloneableOperationProgressTypesMetric, IBufferMessage, IMessageNamespace
GoogleGoogle.CloudGoogle.Cloud.ContainerV1Assembly
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 |
|
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 |
|