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,
  "startTime": string,
  "endTime": string,
}
Fields
name

string

The server-assigned ID for the operation.

zone

string

The name of the Google Compute Engine zone in which the operation is taking place.

operationType

enum(Type)

The operation type.

status

enum(Status)

The current status of the operation.

detail

string

Detailed operation progress, if available.

statusMessage

string

If an error has occurred, a textual description of the error.

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.

Type

Operation type.

Enums
TYPE_UNSPECIFIED Not set.
CREATE_CLUSTER Cluster create.
DELETE_CLUSTER Cluster delete.
UPGRADE_MASTER A master upgrade.
UPGRADE_NODES A node upgrade.
REPAIR_CLUSTER Cluster repair.
UPDATE_CLUSTER Cluster update.
CREATE_NODE_POOL Node pool create.
DELETE_NODE_POOL Node pool delete.
SET_NODE_POOL_MANAGEMENT Set node pool management.
AUTO_REPAIR_NODES Automatic node pool repair.
AUTO_UPGRADE_NODES Automatic node upgrade.
SET_LABELS Set labels.
SET_MASTER_AUTH Set/generate master auth materials
SET_NODE_POOL_SIZE Set node pool size.
SET_NETWORK_POLICY Updates network policy for a cluster.

Status

Current status of the operation.

Enums
STATUS_UNSPECIFIED Not set.
PENDING The operation has been created.
RUNNING The operation is currently running.
DONE The operation is done, either cancelled or completed.
ABORTING The operation is aborting.

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.

Monitor your resources on the go

Get the Google Cloud Console app to help you manage your projects.

Send feedback about...

Container Engine