Get Kubernetes Operation
Gets the specified operation.
External Documentation
To learn more, visit the GCP documentation.
Basic Parameters
Parameter | Description |
---|---|
Location | The name of the Google Compute Engine zone in which the operation was performed. |
Operation | The server-assigned name of the operation. Returned as a output to most Kubernetes actions. |
Project | The Google Developers Console project ID or project number. |
Advanced Parameters
Parameter | Description |
---|---|
Fields | Selector specifying which fields to include in a partial response. |
Example Output
{
"clusterConditions": [
{
"canonicalCode": "Canonical code of the condition.",
"code": "Machine-friendly representation of the condition Deprecated. Use canonical_code instead.",
"message": "Human-friendly representation of the condition"
}
],
"detail": "Detailed operation progress, if available.",
"endTime": "[Output only] The time the operation completed, in [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.",
"error": {
"code": 0,
"details": [
{}
],
"message": "A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client."
},
"location": "[Output only] The name of the Google Compute Engine [zone](https://cloud.google.com/compute/docs/regions-zones/regions-zones#available) or [region](https://cloud.google.com/compute/docs/regions-zones/regions-zones#available) in which the cluster resides.",
"name": "The server-assigned ID for the operation.",
"nodepoolConditions": [
{
"canonicalCode": "Canonical code of the condition.",
"code": "Machine-friendly representation of the condition Deprecated. Use canonical_code instead.",
"message": "Human-friendly representation of the condition"
}
],
"operationType": "The operation type.",
"progress": {
"metrics": [
{
"doubleValue": 0,
"intValue": "For metrics with integer value.",
"name": "Required. Metric name, e.g., \"nodes total\", \"percent done\".",
"stringValue": "For metrics with custom values (ratios, visual progress, etc.)."
}
],
"name": "A non-parameterized string describing an operation stage. Unset for single-stage operations.",
"stages": [
null
],
"status": "Status of an operation stage. Unset for single-stage operations."
},
"selfLink": "Server-defined URL for the resource.",
"startTime": "[Output only] The time the operation started, in [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.",
"status": "The current status of the operation.",
"statusMessage": "Output only. If an error has occurred, a textual description of the error. Deprecated. Use the field error instead.",
"targetLink": "Server-defined URL for the target of the operation.",
"zone": "The name of the Google Compute Engine [zone](https://cloud.google.com/compute/docs/zones#available) in which the operation is taking place. This field is deprecated, use location instead."
}
Workflow Library Example
Get Kubernetes Operation with Gcp and Send Results Via Email
Preview this Workflow on desktop