Skip to main content

operations

Overview

Nameoperations
TypeResource
Idgoogle.container.operations

Fields

NameDatatypeDescription
namestringThe server-assigned ID for the operation.
statusstringThe current status of the operation.
selfLinkstringServer-defined URI for the operation. Example: https://container.googleapis.com/v1alpha1/projects/123/locations/us-central1/operations/operation-123.
zonestringThe name of the Google Compute Engine zone in which the operation is taking place. This field is deprecated, use location instead.
clusterConditionsarrayWhich conditions caused the current cluster state. Deprecated. Use field error instead.
statusMessagestringOutput only. If an error has occurred, a textual description of the error. Deprecated. Use the field error instead.
operationTypestringThe operation type.
targetLinkstringServer-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
nodepoolConditionsarrayWhich conditions caused the current node pool state. Deprecated. Use field error instead.
endTimestring[Output only] The time the operation completed, in RFC3339 text format.
errorobjectThe Status type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by gRPC. Each Status message contains three pieces of data: error code, error message, and error details. You can find out more about this error model and how to work with it in the API Design Guide.
detailstringDetailed operation progress, if available.
locationstring[Output only] The name of the Google Compute Engine zone or region in which the cluster resides.
startTimestring[Output only] The time the operation started, in RFC3339 text format.
progressobjectInformation about operation (or operation stage) progress.

Methods

NameAccessible byRequired ParamsDescription
projects_locations_operations_getSELECTlocationsId, operationsId, projectsIdGets the specified operation.
projects_locations_operations_listSELECTlocationsId, projectsIdLists all operations in a project in a specific zone or all zones.
projects_zones_operations_getSELECToperationId, projectId, zoneGets the specified operation.
projects_zones_operations_listSELECTprojectId, zoneLists all operations in a project in a specific zone or all zones.
projects_locations_operations_cancelEXEClocationsId, operationsId, projectsIdCancels the specified operation.
projects_zones_operations_cancelEXECoperationId, projectId, zoneCancels the specified operation.