Google Kubernetes Engine v1 API - Class Operation (3.18.0)

public sealed class Operation : IMessage<Operation>, IEquatable<Operation>, IDeepCloneable<Operation>, IBufferMessage, IMessage

Reference documentation and code samples for the Google Kubernetes Engine v1 API class Operation.

This operation resource represents operations that may have happened or are happening on the cluster. All fields are output only.

Inheritance

object > Operation

Namespace

Google.Cloud.Container.V1

Assembly

Google.Cloud.Container.V1.dll

Constructors

Operation()

public Operation()

Operation(Operation)

public Operation(Operation other)
Parameter
NameDescription
otherOperation

Properties

ClusterConditions

[Obsolete]
public RepeatedField<StatusCondition> ClusterConditions { get; }

Which conditions caused the current cluster state. Deprecated. Use field error instead.

Property Value
TypeDescription
RepeatedFieldStatusCondition

Detail

public string Detail { get; set; }

Detailed operation progress, if available.

Property Value
TypeDescription
string

EndTime

public string EndTime { get; set; }

[Output only] The time the operation completed, in RFC3339 text format.

Property Value
TypeDescription
string

Error

public Status Error { get; set; }

The error result of the operation in case of failure.

Property Value
TypeDescription
Status

Location

public string Location { get; set; }

[Output only] The name of the Google Compute Engine zone or region in which the cluster resides.

Property Value
TypeDescription
string

Name

public string Name { get; set; }

The server-assigned ID for the operation.

Property Value
TypeDescription
string

NodepoolConditions

[Obsolete]
public RepeatedField<StatusCondition> NodepoolConditions { get; }

Which conditions caused the current node pool state. Deprecated. Use field error instead.

Property Value
TypeDescription
RepeatedFieldStatusCondition

OperationType

public Operation.Types.Type OperationType { get; set; }

The operation type.

Property Value
TypeDescription
OperationTypesType

Progress

public OperationProgress Progress { get; set; }

Output only. [Output only] Progress information for an operation.

Property Value
TypeDescription
OperationProgress
public string SelfLink { get; set; }

Server-defined URI for the operation. Example: https://container.googleapis.com/v1alpha1/projects/123/locations/us-central1/operations/operation-123.

Property Value
TypeDescription
string

StartTime

public string StartTime { get; set; }

[Output only] The time the operation started, in RFC3339 text format.

Property Value
TypeDescription
string

Status

public Operation.Types.Status Status { get; set; }

The current status of the operation.

Property Value
TypeDescription
OperationTypesStatus

StatusMessage

[Obsolete]
public string StatusMessage { get; set; }

Output only. If an error has occurred, a textual description of the error. Deprecated. Use the field error instead.

Property Value
TypeDescription
string
public string TargetLink { get; set; }

Server-defined URI for the target of the operation. The format of this is a URI to the resource being modified (such as a cluster, node pool, or node). For node pool repairs, there may be multiple nodes being repaired, but only one will be the target.

Examples:

-

#

https://container.googleapis.com/v1/projects/123/locations/us-central1/clusters/my-cluster

#

https://container.googleapis.com/v1/projects/123/zones/us-central1-c/clusters/my-cluster/nodePools/my-np

https://container.googleapis.com/v1/projects/123/zones/us-central1-c/clusters/my-cluster/nodePools/my-np/node/my-node

Property Value
TypeDescription
string

Zone

[Obsolete]
public string Zone { get; set; }

The name of the Google Compute Engine zone in which the operation is taking place. This field is deprecated, use location instead.

Property Value
TypeDescription
string