> ## Documentation Index
> Fetch the complete documentation index at: https://docs.blinkops.com/llms.txt
> Use this file to discover all available pages before exploring further.

# List Kubernetes Operations

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

<Note>
  External Documentation

  To learn more, visit the [GCP documentation](https://cloud.google.com/kubernetes-engine/docs/reference/rest/v1/projects.zones.operations/get).
</Note>

## Basic Parameters

<div className="integrations-table">
  | Parameter | Description                                                                                                    |
  | --------- | -------------------------------------------------------------------------------------------------------------- |
  | Location  | The name of the Google Compute Engine zone in which the operation was performed, or "-" for all zones.         |
  | Project   | The Google Developers Console [project ID or project number](https://support.google.com/cloud/answer/6158840). |
</div>

## Advanced Parameters

<div className="integrations-table">
  | Parameter | Description                                                        |
  | --------- | ------------------------------------------------------------------ |
  | Fields    | Selector specifying which fields to include in a partial response. |
</div>

## Example Output

```json theme={"dark"}
{
	"missingZones": [
		"string"
	],
	"operations": [
		{
			"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

[List Kubernetes Operations with Gcp and Send Results Via Email](https://library.blinkops.com/workflows/list-kubernetes-operations-with-gcp-and-send-results-via-email)

<div className="iframe-wrapper">
  <div className="iframe-media">
    <img src="https://mintcdn.com/blinkops-2/ojHYuDeYX5FWuN8a/img/Icons/play-box.svg?fit=max&auto=format&n=ojHYuDeYX5FWuN8a&q=85&s=b8af968e71438a9499c3223c9bd29fb2" alt="Workflow Library" width="16" height="16" data-path="img/Icons/play-box.svg" />

    Preview this Workflow on desktop
  </div>

  <iframe className="iframe" src="https://library.blinkops.com/workflows/list-kubernetes-operations-with-gcp-and-send-results-via-email/canvas" />
</div>
