REST Resource: projects.zones.operations

Resource: Operation

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

JSON representation
{
  "name": string,
  "zone": string,
  "operationType": enum (Type),
  "status": enum (Status),
  "detail": string,
  "statusMessage": string,
  "selfLink": string,
  "targetLink": string,
  "location": string,
  "startTime": string,
  "endTime": string,
  "progress": {
    object (OperationProgress)
  },
  "clusterConditions": [
    {
      object (StatusCondition)
    }
  ],
  "nodepoolConditions": [
    {
      object (StatusCondition)
    }
  ],
  "error": {
    object (Status)
  }
}
Fields
name

string

Output only. The server-assigned ID for the operation.

zone
(deprecated)

string

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

operationType

enum (Type)

Output only. The operation type.

status

enum (Status)

Output only. The current status of the operation.

detail

string

Output only. Detailed operation progress, if available.

statusMessage
(deprecated)

string

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

location

string

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

startTime

string

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

endTime

string

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

progress

object (OperationProgress)

Output only. Progress information for an operation.

clusterConditions[]
(deprecated)

object (StatusCondition)

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

nodepoolConditions[]
(deprecated)

object (StatusCondition)

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

error

object (Status)

The error result of the operation in case of failure.

Methods

cancel

Cancels the specified operation.

get

Gets the specified operation.

list

Lists all operations in a project in a specific zone or all zones.