- 2.53.0 (latest)
- 2.52.0
- 2.50.0
- 2.49.0
- 2.48.0
- 2.47.1
- 2.46.0
- 2.45.0
- 2.44.0
- 2.43.0
- 2.42.0
- 2.41.0
- 2.40.0
- 2.39.0
- 2.38.0
- 2.37.0
- 2.36.0
- 2.35.0
- 2.34.0
- 2.33.0
- 2.32.0
- 2.31.0
- 2.30.0
- 2.29.0
- 2.28.0
- 2.27.0
- 2.26.0
- 2.25.0
- 2.24.0
- 2.23.0
- 2.22.0
- 2.21.0
- 2.20.0
- 2.19.0
- 2.18.0
- 2.17.4
- 2.16.0
- 2.15.0
- 2.14.0
- 2.13.0
- 2.12.2
- 2.11.2
- 2.10.8
- 2.9.0
- 2.8.1
- 2.7.1
- 2.6.1
- 2.5.0
- 2.4.1
- 2.3.1
- 2.2.0
- 2.1.0
- 2.0.1
- 1.0.3
- 0.5.0
- 0.4.0
- 0.3.0
Operation(mapping=None, *, ignore_unknown_fields=False, **kwargs)
This operation resource represents operations that may have happened or are happening on the cluster. All fields are output only.
Attributes | |
---|---|
Name | Description |
name |
str
The server-assigned ID for the operation. |
zone |
str
The name of the Google Compute Engine zone __
in which the operation is taking place. This field is
deprecated, use location instead.
|
operation_type |
google.cloud.container_v1.types.Operation.Type
The operation type. |
status |
google.cloud.container_v1.types.Operation.Status
The current status of the operation. |
detail |
str
Detailed operation progress, if available. |
status_message |
str
Output only. If an error has occurred, a textual description of the error. Deprecated. Use the field error instead. |
self_link |
str
Server-defined URL for the resource. |
target_link |
str
Server-defined URL for the target of the operation. |
location |
str
[Output only] The name of the Google Compute Engine zone __
or
region __
in which the cluster resides.
|
start_time |
str
[Output only] The time the operation started, in RFC3339 __ text
format.
|
end_time |
str
[Output only] The time the operation completed, in RFC3339 __ text
format.
|
progress |
google.cloud.container_v1.types.OperationProgress
Output only. [Output only] Progress information for an operation. |
cluster_conditions |
MutableSequence[google.cloud.container_v1.types.StatusCondition]
Which conditions caused the current cluster state. Deprecated. Use field error instead. |
nodepool_conditions |
MutableSequence[google.cloud.container_v1.types.StatusCondition]
Which conditions caused the current node pool state. Deprecated. Use field error instead. |
error |
google.rpc.status_pb2.Status
The error result of the operation in case of failure. |
Classes
Status
Status(value)
Current status of the operation.
Values: STATUS_UNSPECIFIED (0): Not set. PENDING (1): The operation has been created. RUNNING (2): The operation is currently running. DONE (3): The operation is done, either cancelled or completed. ABORTING (4): The operation is aborting.
Type
Type(value)
Operation type.
Values: TYPE_UNSPECIFIED (0): Not set. CREATE_CLUSTER (1): Cluster create. DELETE_CLUSTER (2): Cluster delete. UPGRADE_MASTER (3): A master upgrade. UPGRADE_NODES (4): A node upgrade. REPAIR_CLUSTER (5): Cluster repair. UPDATE_CLUSTER (6): Cluster update. CREATE_NODE_POOL (7): Node pool create. DELETE_NODE_POOL (8): Node pool delete. SET_NODE_POOL_MANAGEMENT (9): Set node pool management. AUTO_REPAIR_NODES (10): Automatic node pool repair. AUTO_UPGRADE_NODES (11): Automatic node upgrade. SET_LABELS (12): Set labels. SET_MASTER_AUTH (13): Set/generate master auth materials SET_NODE_POOL_SIZE (14): Set node pool size. SET_NETWORK_POLICY (15): Updates network policy for a cluster. SET_MAINTENANCE_POLICY (16): Set the maintenance policy.