openapi-directory
Version:
Building & bundling https://github.com/APIs-guru/openapi-directory for easy use from JS
1 lines • 160 kB
JSON
{"openapi":"3.0.0","info":{"contact":{"name":"Google","url":"https://google.com"},"description":"Builds and manages container-based applications, powered by the open source Kubernetes technology.","title":"Kubernetes Engine","version":"v1","x-apiClientRegistration":{"url":"https://console.developers.google.com"},"x-logo":{"url":"https://cloud.google.com/_static/images/new-gcp-logo.png"},"x-origin":[{"converter":{"url":"https://github.com/lucybot/api-spec-converter","version":"2.7.18"},"format":"google","url":"https://container.googleapis.com/$discovery/rest?version=v1","version":"v1"}],"x-preferred":true,"x-providerName":"googleapis.com","x-serviceName":"container"},"externalDocs":{"url":"https://cloud.google.com/container-engine/"},"tags":[{"name":"projects"}],"paths":{"/v1/projects/{projectId}/zones/{zone}/clusters":{"get":{"description":"Lists all clusters owned by a project in either the specified zone or all\nzones.","operationId":"container.projects.zones.clusters.list","parameters":[{"description":"The parent (project and location) where the clusters will be listed.\nSpecified in the format 'projects/*/locations/*'.\nLocation \"-\" matches all zones and all regions.","in":"query","name":"parent","schema":{"type":"string"}},{"description":"Deprecated. The Google Developers Console [project ID or project\nnumber](https://support.google.com/cloud/answer/6158840).\nThis field has been deprecated and replaced by the parent field.","in":"path","name":"projectId","required":true,"schema":{"type":"string"}},{"description":"Deprecated. The name of the Google Compute Engine\n[zone](/compute/docs/zones#available) in which the cluster\nresides, or \"-\" for all zones.\nThis field has been deprecated and replaced by the parent field.","in":"path","name":"zone","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Successful response","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ListClustersResponse"}}}}},"security":[{"Oauth2":["https://www.googleapis.com/auth/cloud-platform"]}],"tags":["projects"]},"parameters":[{"$ref":"#/components/parameters/_.xgafv"},{"$ref":"#/components/parameters/access_token"},{"$ref":"#/components/parameters/alt"},{"$ref":"#/components/parameters/callback"},{"$ref":"#/components/parameters/fields"},{"$ref":"#/components/parameters/key"},{"$ref":"#/components/parameters/oauth_token"},{"$ref":"#/components/parameters/prettyPrint"},{"$ref":"#/components/parameters/quotaUser"},{"$ref":"#/components/parameters/uploadType"},{"$ref":"#/components/parameters/upload_protocol"}],"post":{"description":"Creates a cluster, consisting of the specified number and type of Google\nCompute Engine instances.\n\nBy default, the cluster is created in the project's\n[default network](/compute/docs/networks-and-firewalls#networks).\n\nOne firewall is added for the cluster. After cluster creation,\nthe cluster creates routes for each node to allow the containers\non that node to communicate with all other instances in the\ncluster.\n\nFinally, an entry is added to the project's global metadata indicating\nwhich CIDR range is being used by the cluster.","operationId":"container.projects.zones.clusters.create","parameters":[{"description":"Deprecated. The Google Developers Console [project ID or project\nnumber](https://support.google.com/cloud/answer/6158840).\nThis field has been deprecated and replaced by the parent field.","in":"path","name":"projectId","required":true,"schema":{"type":"string"}},{"description":"Deprecated. The name of the Google Compute Engine\n[zone](/compute/docs/zones#available) in which the cluster\nresides.\nThis field has been deprecated and replaced by the parent field.","in":"path","name":"zone","required":true,"schema":{"type":"string"}}],"requestBody":{"$ref":"#/components/requestBodies/CreateClusterRequest"},"responses":{"200":{"description":"Successful response","content":{"*/*":{"schema":{"$ref":"#/components/schemas/Operation"}}}}},"security":[{"Oauth2":["https://www.googleapis.com/auth/cloud-platform"]}],"tags":["projects"]}},"/v1/projects/{projectId}/zones/{zone}/clusters/{clusterId}":{"delete":{"description":"Deletes the cluster, including the Kubernetes endpoint and all worker\nnodes.\n\nFirewalls and routes that were configured during cluster creation\nare also deleted.\n\nOther Google Compute Engine resources that might be in use by the cluster\n(e.g. load balancer resources) will not be deleted if they weren't present\nat the initial create time.","operationId":"container.projects.zones.clusters.delete","parameters":[{"description":"Deprecated. The name of the cluster to delete.\nThis field has been deprecated and replaced by the name field.","in":"path","name":"clusterId","required":true,"schema":{"type":"string"}},{"description":"The name (project, location, cluster) of the cluster to delete.\nSpecified in the format 'projects/*/locations/*/clusters/*'.","in":"query","name":"name","schema":{"type":"string"}},{"description":"Deprecated. The Google Developers Console [project ID or project\nnumber](https://support.google.com/cloud/answer/6158840).\nThis field has been deprecated and replaced by the name field.","in":"path","name":"projectId","required":true,"schema":{"type":"string"}},{"description":"Deprecated. The name of the Google Compute Engine\n[zone](/compute/docs/zones#available) in which the cluster\nresides.\nThis field has been deprecated and replaced by the name field.","in":"path","name":"zone","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Successful response","content":{"*/*":{"schema":{"$ref":"#/components/schemas/Operation"}}}}},"security":[{"Oauth2":["https://www.googleapis.com/auth/cloud-platform"]}],"tags":["projects"]},"get":{"description":"Gets the details of a specific cluster.","operationId":"container.projects.zones.clusters.get","parameters":[{"description":"Deprecated. The name of the cluster to retrieve.\nThis field has been deprecated and replaced by the name field.","in":"path","name":"clusterId","required":true,"schema":{"type":"string"}},{"description":"The name (project, location, cluster) of the cluster to retrieve.\nSpecified in the format 'projects/*/locations/*/clusters/*'.","in":"query","name":"name","schema":{"type":"string"}},{"description":"Deprecated. The Google Developers Console [project ID or project\nnumber](https://support.google.com/cloud/answer/6158840).\nThis field has been deprecated and replaced by the name field.","in":"path","name":"projectId","required":true,"schema":{"type":"string"}},{"description":"Deprecated. The name of the Google Compute Engine\n[zone](/compute/docs/zones#available) in which the cluster\nresides.\nThis field has been deprecated and replaced by the name field.","in":"path","name":"zone","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Successful response","content":{"*/*":{"schema":{"$ref":"#/components/schemas/Cluster"}}}}},"security":[{"Oauth2":["https://www.googleapis.com/auth/cloud-platform"]}],"tags":["projects"]},"parameters":[{"$ref":"#/components/parameters/_.xgafv"},{"$ref":"#/components/parameters/access_token"},{"$ref":"#/components/parameters/alt"},{"$ref":"#/components/parameters/callback"},{"$ref":"#/components/parameters/fields"},{"$ref":"#/components/parameters/key"},{"$ref":"#/components/parameters/oauth_token"},{"$ref":"#/components/parameters/prettyPrint"},{"$ref":"#/components/parameters/quotaUser"},{"$ref":"#/components/parameters/uploadType"},{"$ref":"#/components/parameters/upload_protocol"}],"put":{"description":"Updates the settings of a specific cluster.","operationId":"container.projects.zones.clusters.update","parameters":[{"description":"Deprecated. The name of the cluster to upgrade.\nThis field has been deprecated and replaced by the name field.","in":"path","name":"clusterId","required":true,"schema":{"type":"string"}},{"description":"Deprecated. The Google Developers Console [project ID or project\nnumber](https://support.google.com/cloud/answer/6158840).\nThis field has been deprecated and replaced by the name field.","in":"path","name":"projectId","required":true,"schema":{"type":"string"}},{"description":"Deprecated. The name of the Google Compute Engine\n[zone](/compute/docs/zones#available) in which the cluster\nresides.\nThis field has been deprecated and replaced by the name field.","in":"path","name":"zone","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdateClusterRequest"}}}},"responses":{"200":{"description":"Successful response","content":{"*/*":{"schema":{"$ref":"#/components/schemas/Operation"}}}}},"security":[{"Oauth2":["https://www.googleapis.com/auth/cloud-platform"]}],"tags":["projects"]}},"/v1/projects/{projectId}/zones/{zone}/clusters/{clusterId}/addons":{"parameters":[{"$ref":"#/components/parameters/_.xgafv"},{"$ref":"#/components/parameters/access_token"},{"$ref":"#/components/parameters/alt"},{"$ref":"#/components/parameters/callback"},{"$ref":"#/components/parameters/fields"},{"$ref":"#/components/parameters/key"},{"$ref":"#/components/parameters/oauth_token"},{"$ref":"#/components/parameters/prettyPrint"},{"$ref":"#/components/parameters/quotaUser"},{"$ref":"#/components/parameters/uploadType"},{"$ref":"#/components/parameters/upload_protocol"}],"post":{"description":"Sets the addons for a specific cluster.","operationId":"container.projects.zones.clusters.addons","parameters":[{"description":"Deprecated. The name of the cluster to upgrade.\nThis field has been deprecated and replaced by the name field.","in":"path","name":"clusterId","required":true,"schema":{"type":"string"}},{"description":"Deprecated. The Google Developers Console [project ID or project\nnumber](https://support.google.com/cloud/answer/6158840).\nThis field has been deprecated and replaced by the name field.","in":"path","name":"projectId","required":true,"schema":{"type":"string"}},{"description":"Deprecated. The name of the Google Compute Engine\n[zone](/compute/docs/zones#available) in which the cluster\nresides.\nThis field has been deprecated and replaced by the name field.","in":"path","name":"zone","required":true,"schema":{"type":"string"}}],"requestBody":{"$ref":"#/components/requestBodies/SetAddonsConfigRequest"},"responses":{"200":{"description":"Successful response","content":{"*/*":{"schema":{"$ref":"#/components/schemas/Operation"}}}}},"security":[{"Oauth2":["https://www.googleapis.com/auth/cloud-platform"]}],"tags":["projects"]}},"/v1/projects/{projectId}/zones/{zone}/clusters/{clusterId}/legacyAbac":{"parameters":[{"$ref":"#/components/parameters/_.xgafv"},{"$ref":"#/components/parameters/access_token"},{"$ref":"#/components/parameters/alt"},{"$ref":"#/components/parameters/callback"},{"$ref":"#/components/parameters/fields"},{"$ref":"#/components/parameters/key"},{"$ref":"#/components/parameters/oauth_token"},{"$ref":"#/components/parameters/prettyPrint"},{"$ref":"#/components/parameters/quotaUser"},{"$ref":"#/components/parameters/uploadType"},{"$ref":"#/components/parameters/upload_protocol"}],"post":{"description":"Enables or disables the ABAC authorization mechanism on a cluster.","operationId":"container.projects.zones.clusters.legacyAbac","parameters":[{"description":"Deprecated. The name of the cluster to update.\nThis field has been deprecated and replaced by the name field.","in":"path","name":"clusterId","required":true,"schema":{"type":"string"}},{"description":"Deprecated. The Google Developers Console [project ID or project\nnumber](https://support.google.com/cloud/answer/6158840).\nThis field has been deprecated and replaced by the name field.","in":"path","name":"projectId","required":true,"schema":{"type":"string"}},{"description":"Deprecated. The name of the Google Compute Engine\n[zone](/compute/docs/zones#available) in which the cluster\nresides.\nThis field has been deprecated and replaced by the name field.","in":"path","name":"zone","required":true,"schema":{"type":"string"}}],"requestBody":{"$ref":"#/components/requestBodies/SetLegacyAbacRequest"},"responses":{"200":{"description":"Successful response","content":{"*/*":{"schema":{"$ref":"#/components/schemas/Operation"}}}}},"security":[{"Oauth2":["https://www.googleapis.com/auth/cloud-platform"]}],"tags":["projects"]}},"/v1/projects/{projectId}/zones/{zone}/clusters/{clusterId}/locations":{"parameters":[{"$ref":"#/components/parameters/_.xgafv"},{"$ref":"#/components/parameters/access_token"},{"$ref":"#/components/parameters/alt"},{"$ref":"#/components/parameters/callback"},{"$ref":"#/components/parameters/fields"},{"$ref":"#/components/parameters/key"},{"$ref":"#/components/parameters/oauth_token"},{"$ref":"#/components/parameters/prettyPrint"},{"$ref":"#/components/parameters/quotaUser"},{"$ref":"#/components/parameters/uploadType"},{"$ref":"#/components/parameters/upload_protocol"}],"post":{"description":"Sets the locations for a specific cluster.","operationId":"container.projects.zones.clusters.locations","parameters":[{"description":"Deprecated. The name of the cluster to upgrade.\nThis field has been deprecated and replaced by the name field.","in":"path","name":"clusterId","required":true,"schema":{"type":"string"}},{"description":"Deprecated. The Google Developers Console [project ID or project\nnumber](https://support.google.com/cloud/answer/6158840).\nThis field has been deprecated and replaced by the name field.","in":"path","name":"projectId","required":true,"schema":{"type":"string"}},{"description":"Deprecated. The name of the Google Compute Engine\n[zone](/compute/docs/zones#available) in which the cluster\nresides.\nThis field has been deprecated and replaced by the name field.","in":"path","name":"zone","required":true,"schema":{"type":"string"}}],"requestBody":{"$ref":"#/components/requestBodies/SetLocationsRequest"},"responses":{"200":{"description":"Successful response","content":{"*/*":{"schema":{"$ref":"#/components/schemas/Operation"}}}}},"security":[{"Oauth2":["https://www.googleapis.com/auth/cloud-platform"]}],"tags":["projects"]}},"/v1/projects/{projectId}/zones/{zone}/clusters/{clusterId}/logging":{"parameters":[{"$ref":"#/components/parameters/_.xgafv"},{"$ref":"#/components/parameters/access_token"},{"$ref":"#/components/parameters/alt"},{"$ref":"#/components/parameters/callback"},{"$ref":"#/components/parameters/fields"},{"$ref":"#/components/parameters/key"},{"$ref":"#/components/parameters/oauth_token"},{"$ref":"#/components/parameters/prettyPrint"},{"$ref":"#/components/parameters/quotaUser"},{"$ref":"#/components/parameters/uploadType"},{"$ref":"#/components/parameters/upload_protocol"}],"post":{"description":"Sets the logging service for a specific cluster.","operationId":"container.projects.zones.clusters.logging","parameters":[{"description":"Deprecated. The name of the cluster to upgrade.\nThis field has been deprecated and replaced by the name field.","in":"path","name":"clusterId","required":true,"schema":{"type":"string"}},{"description":"Deprecated. The Google Developers Console [project ID or project\nnumber](https://support.google.com/cloud/answer/6158840).\nThis field has been deprecated and replaced by the name field.","in":"path","name":"projectId","required":true,"schema":{"type":"string"}},{"description":"Deprecated. The name of the Google Compute Engine\n[zone](/compute/docs/zones#available) in which the cluster\nresides.\nThis field has been deprecated and replaced by the name field.","in":"path","name":"zone","required":true,"schema":{"type":"string"}}],"requestBody":{"$ref":"#/components/requestBodies/SetLoggingServiceRequest"},"responses":{"200":{"description":"Successful response","content":{"*/*":{"schema":{"$ref":"#/components/schemas/Operation"}}}}},"security":[{"Oauth2":["https://www.googleapis.com/auth/cloud-platform"]}],"tags":["projects"]}},"/v1/projects/{projectId}/zones/{zone}/clusters/{clusterId}/master":{"parameters":[{"$ref":"#/components/parameters/_.xgafv"},{"$ref":"#/components/parameters/access_token"},{"$ref":"#/components/parameters/alt"},{"$ref":"#/components/parameters/callback"},{"$ref":"#/components/parameters/fields"},{"$ref":"#/components/parameters/key"},{"$ref":"#/components/parameters/oauth_token"},{"$ref":"#/components/parameters/prettyPrint"},{"$ref":"#/components/parameters/quotaUser"},{"$ref":"#/components/parameters/uploadType"},{"$ref":"#/components/parameters/upload_protocol"}],"post":{"description":"Updates the master for a specific cluster.","operationId":"container.projects.zones.clusters.master","parameters":[{"description":"Deprecated. The name of the cluster to upgrade.\nThis field has been deprecated and replaced by the name field.","in":"path","name":"clusterId","required":true,"schema":{"type":"string"}},{"description":"Deprecated. The Google Developers Console [project ID or project\nnumber](https://support.google.com/cloud/answer/6158840).\nThis field has been deprecated and replaced by the name field.","in":"path","name":"projectId","required":true,"schema":{"type":"string"}},{"description":"Deprecated. The name of the Google Compute Engine\n[zone](/compute/docs/zones#available) in which the cluster\nresides.\nThis field has been deprecated and replaced by the name field.","in":"path","name":"zone","required":true,"schema":{"type":"string"}}],"requestBody":{"$ref":"#/components/requestBodies/UpdateMasterRequest"},"responses":{"200":{"description":"Successful response","content":{"*/*":{"schema":{"$ref":"#/components/schemas/Operation"}}}}},"security":[{"Oauth2":["https://www.googleapis.com/auth/cloud-platform"]}],"tags":["projects"]}},"/v1/projects/{projectId}/zones/{zone}/clusters/{clusterId}/monitoring":{"parameters":[{"$ref":"#/components/parameters/_.xgafv"},{"$ref":"#/components/parameters/access_token"},{"$ref":"#/components/parameters/alt"},{"$ref":"#/components/parameters/callback"},{"$ref":"#/components/parameters/fields"},{"$ref":"#/components/parameters/key"},{"$ref":"#/components/parameters/oauth_token"},{"$ref":"#/components/parameters/prettyPrint"},{"$ref":"#/components/parameters/quotaUser"},{"$ref":"#/components/parameters/uploadType"},{"$ref":"#/components/parameters/upload_protocol"}],"post":{"description":"Sets the monitoring service for a specific cluster.","operationId":"container.projects.zones.clusters.monitoring","parameters":[{"description":"Deprecated. The name of the cluster to upgrade.\nThis field has been deprecated and replaced by the name field.","in":"path","name":"clusterId","required":true,"schema":{"type":"string"}},{"description":"Deprecated. The Google Developers Console [project ID or project\nnumber](https://support.google.com/cloud/answer/6158840).\nThis field has been deprecated and replaced by the name field.","in":"path","name":"projectId","required":true,"schema":{"type":"string"}},{"description":"Deprecated. The name of the Google Compute Engine\n[zone](/compute/docs/zones#available) in which the cluster\nresides.\nThis field has been deprecated and replaced by the name field.","in":"path","name":"zone","required":true,"schema":{"type":"string"}}],"requestBody":{"$ref":"#/components/requestBodies/SetMonitoringServiceRequest"},"responses":{"200":{"description":"Successful response","content":{"*/*":{"schema":{"$ref":"#/components/schemas/Operation"}}}}},"security":[{"Oauth2":["https://www.googleapis.com/auth/cloud-platform"]}],"tags":["projects"]}},"/v1/projects/{projectId}/zones/{zone}/clusters/{clusterId}/nodePools":{"get":{"description":"Lists the node pools for a cluster.","operationId":"container.projects.zones.clusters.nodePools.list","parameters":[{"description":"Deprecated. The name of the cluster.\nThis field has been deprecated and replaced by the parent field.","in":"path","name":"clusterId","required":true,"schema":{"type":"string"}},{"description":"The parent (project, location, cluster id) where the node pools will be\nlisted. Specified in the format 'projects/*/locations/*/clusters/*'.","in":"query","name":"parent","schema":{"type":"string"}},{"description":"Deprecated. The Google Developers Console [project ID or project\nnumber](https://developers.google.com/console/help/new/#projectnumber).\nThis field has been deprecated and replaced by the parent field.","in":"path","name":"projectId","required":true,"schema":{"type":"string"}},{"description":"Deprecated. The name of the Google Compute Engine\n[zone](/compute/docs/zones#available) in which the cluster\nresides.\nThis field has been deprecated and replaced by the parent field.","in":"path","name":"zone","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Successful response","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ListNodePoolsResponse"}}}}},"security":[{"Oauth2":["https://www.googleapis.com/auth/cloud-platform"]}],"tags":["projects"]},"parameters":[{"$ref":"#/components/parameters/_.xgafv"},{"$ref":"#/components/parameters/access_token"},{"$ref":"#/components/parameters/alt"},{"$ref":"#/components/parameters/callback"},{"$ref":"#/components/parameters/fields"},{"$ref":"#/components/parameters/key"},{"$ref":"#/components/parameters/oauth_token"},{"$ref":"#/components/parameters/prettyPrint"},{"$ref":"#/components/parameters/quotaUser"},{"$ref":"#/components/parameters/uploadType"},{"$ref":"#/components/parameters/upload_protocol"}],"post":{"description":"Creates a node pool for a cluster.","operationId":"container.projects.zones.clusters.nodePools.create","parameters":[{"description":"Deprecated. The name of the cluster.\nThis field has been deprecated and replaced by the parent field.","in":"path","name":"clusterId","required":true,"schema":{"type":"string"}},{"description":"Deprecated. The Google Developers Console [project ID or project\nnumber](https://developers.google.com/console/help/new/#projectnumber).\nThis field has been deprecated and replaced by the parent field.","in":"path","name":"projectId","required":true,"schema":{"type":"string"}},{"description":"Deprecated. The name of the Google Compute Engine\n[zone](/compute/docs/zones#available) in which the cluster\nresides.\nThis field has been deprecated and replaced by the parent field.","in":"path","name":"zone","required":true,"schema":{"type":"string"}}],"requestBody":{"$ref":"#/components/requestBodies/CreateNodePoolRequest"},"responses":{"200":{"description":"Successful response","content":{"*/*":{"schema":{"$ref":"#/components/schemas/Operation"}}}}},"security":[{"Oauth2":["https://www.googleapis.com/auth/cloud-platform"]}],"tags":["projects"]}},"/v1/projects/{projectId}/zones/{zone}/clusters/{clusterId}/nodePools/{nodePoolId}":{"delete":{"description":"Deletes a node pool from a cluster.","operationId":"container.projects.zones.clusters.nodePools.delete","parameters":[{"description":"Deprecated. The name of the cluster.\nThis field has been deprecated and replaced by the name field.","in":"path","name":"clusterId","required":true,"schema":{"type":"string"}},{"description":"The name (project, location, cluster, node pool id) of the node pool to\ndelete. Specified in the format\n'projects/*/locations/*/clusters/*/nodePools/*'.","in":"query","name":"name","schema":{"type":"string"}},{"description":"Deprecated. The name of the node pool to delete.\nThis field has been deprecated and replaced by the name field.","in":"path","name":"nodePoolId","required":true,"schema":{"type":"string"}},{"description":"Deprecated. The Google Developers Console [project ID or project\nnumber](https://developers.google.com/console/help/new/#projectnumber).\nThis field has been deprecated and replaced by the name field.","in":"path","name":"projectId","required":true,"schema":{"type":"string"}},{"description":"Deprecated. The name of the Google Compute Engine\n[zone](/compute/docs/zones#available) in which the cluster\nresides.\nThis field has been deprecated and replaced by the name field.","in":"path","name":"zone","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Successful response","content":{"*/*":{"schema":{"$ref":"#/components/schemas/Operation"}}}}},"security":[{"Oauth2":["https://www.googleapis.com/auth/cloud-platform"]}],"tags":["projects"]},"get":{"description":"Retrieves the node pool requested.","operationId":"container.projects.zones.clusters.nodePools.get","parameters":[{"description":"Deprecated. The name of the cluster.\nThis field has been deprecated and replaced by the name field.","in":"path","name":"clusterId","required":true,"schema":{"type":"string"}},{"description":"The name (project, location, cluster, node pool id) of the node pool to\nget. Specified in the format\n'projects/*/locations/*/clusters/*/nodePools/*'.","in":"query","name":"name","schema":{"type":"string"}},{"description":"Deprecated. The name of the node pool.\nThis field has been deprecated and replaced by the name field.","in":"path","name":"nodePoolId","required":true,"schema":{"type":"string"}},{"description":"Deprecated. The Google Developers Console [project ID or project\nnumber](https://developers.google.com/console/help/new/#projectnumber).\nThis field has been deprecated and replaced by the name field.","in":"path","name":"projectId","required":true,"schema":{"type":"string"}},{"description":"Deprecated. The name of the Google Compute Engine\n[zone](/compute/docs/zones#available) in which the cluster\nresides.\nThis field has been deprecated and replaced by the name field.","in":"path","name":"zone","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Successful response","content":{"*/*":{"schema":{"$ref":"#/components/schemas/NodePool"}}}}},"security":[{"Oauth2":["https://www.googleapis.com/auth/cloud-platform"]}],"tags":["projects"]},"parameters":[{"$ref":"#/components/parameters/_.xgafv"},{"$ref":"#/components/parameters/access_token"},{"$ref":"#/components/parameters/alt"},{"$ref":"#/components/parameters/callback"},{"$ref":"#/components/parameters/fields"},{"$ref":"#/components/parameters/key"},{"$ref":"#/components/parameters/oauth_token"},{"$ref":"#/components/parameters/prettyPrint"},{"$ref":"#/components/parameters/quotaUser"},{"$ref":"#/components/parameters/uploadType"},{"$ref":"#/components/parameters/upload_protocol"}]},"/v1/projects/{projectId}/zones/{zone}/clusters/{clusterId}/nodePools/{nodePoolId}/autoscaling":{"parameters":[{"$ref":"#/components/parameters/_.xgafv"},{"$ref":"#/components/parameters/access_token"},{"$ref":"#/components/parameters/alt"},{"$ref":"#/components/parameters/callback"},{"$ref":"#/components/parameters/fields"},{"$ref":"#/components/parameters/key"},{"$ref":"#/components/parameters/oauth_token"},{"$ref":"#/components/parameters/prettyPrint"},{"$ref":"#/components/parameters/quotaUser"},{"$ref":"#/components/parameters/uploadType"},{"$ref":"#/components/parameters/upload_protocol"}],"post":{"description":"Sets the autoscaling settings for a specific node pool.","operationId":"container.projects.zones.clusters.nodePools.autoscaling","parameters":[{"description":"Deprecated. The name of the cluster to upgrade.\nThis field has been deprecated and replaced by the name field.","in":"path","name":"clusterId","required":true,"schema":{"type":"string"}},{"description":"Deprecated. The name of the node pool to upgrade.\nThis field has been deprecated and replaced by the name field.","in":"path","name":"nodePoolId","required":true,"schema":{"type":"string"}},{"description":"Deprecated. The Google Developers Console [project ID or project\nnumber](https://support.google.com/cloud/answer/6158840).\nThis field has been deprecated and replaced by the name field.","in":"path","name":"projectId","required":true,"schema":{"type":"string"}},{"description":"Deprecated. The name of the Google Compute Engine\n[zone](/compute/docs/zones#available) in which the cluster\nresides.\nThis field has been deprecated and replaced by the name field.","in":"path","name":"zone","required":true,"schema":{"type":"string"}}],"requestBody":{"$ref":"#/components/requestBodies/SetNodePoolAutoscalingRequest"},"responses":{"200":{"description":"Successful response","content":{"*/*":{"schema":{"$ref":"#/components/schemas/Operation"}}}}},"security":[{"Oauth2":["https://www.googleapis.com/auth/cloud-platform"]}],"tags":["projects"]}},"/v1/projects/{projectId}/zones/{zone}/clusters/{clusterId}/nodePools/{nodePoolId}/setManagement":{"parameters":[{"$ref":"#/components/parameters/_.xgafv"},{"$ref":"#/components/parameters/access_token"},{"$ref":"#/components/parameters/alt"},{"$ref":"#/components/parameters/callback"},{"$ref":"#/components/parameters/fields"},{"$ref":"#/components/parameters/key"},{"$ref":"#/components/parameters/oauth_token"},{"$ref":"#/components/parameters/prettyPrint"},{"$ref":"#/components/parameters/quotaUser"},{"$ref":"#/components/parameters/uploadType"},{"$ref":"#/components/parameters/upload_protocol"}],"post":{"description":"Sets the NodeManagement options for a node pool.","operationId":"container.projects.zones.clusters.nodePools.setManagement","parameters":[{"description":"Deprecated. The name of the cluster to update.\nThis field has been deprecated and replaced by the name field.","in":"path","name":"clusterId","required":true,"schema":{"type":"string"}},{"description":"Deprecated. The name of the node pool to update.\nThis field has been deprecated and replaced by the name field.","in":"path","name":"nodePoolId","required":true,"schema":{"type":"string"}},{"description":"Deprecated. The Google Developers Console [project ID or project\nnumber](https://support.google.com/cloud/answer/6158840).\nThis field has been deprecated and replaced by the name field.","in":"path","name":"projectId","required":true,"schema":{"type":"string"}},{"description":"Deprecated. The name of the Google Compute Engine\n[zone](/compute/docs/zones#available) in which the cluster\nresides.\nThis field has been deprecated and replaced by the name field.","in":"path","name":"zone","required":true,"schema":{"type":"string"}}],"requestBody":{"$ref":"#/components/requestBodies/SetNodePoolManagementRequest"},"responses":{"200":{"description":"Successful response","content":{"*/*":{"schema":{"$ref":"#/components/schemas/Operation"}}}}},"security":[{"Oauth2":["https://www.googleapis.com/auth/cloud-platform"]}],"tags":["projects"]}},"/v1/projects/{projectId}/zones/{zone}/clusters/{clusterId}/nodePools/{nodePoolId}/setSize":{"parameters":[{"$ref":"#/components/parameters/_.xgafv"},{"$ref":"#/components/parameters/access_token"},{"$ref":"#/components/parameters/alt"},{"$ref":"#/components/parameters/callback"},{"$ref":"#/components/parameters/fields"},{"$ref":"#/components/parameters/key"},{"$ref":"#/components/parameters/oauth_token"},{"$ref":"#/components/parameters/prettyPrint"},{"$ref":"#/components/parameters/quotaUser"},{"$ref":"#/components/parameters/uploadType"},{"$ref":"#/components/parameters/upload_protocol"}],"post":{"description":"Sets the size for a specific node pool.","operationId":"container.projects.zones.clusters.nodePools.setSize","parameters":[{"description":"Deprecated. The name of the cluster to update.\nThis field has been deprecated and replaced by the name field.","in":"path","name":"clusterId","required":true,"schema":{"type":"string"}},{"description":"Deprecated. The name of the node pool to update.\nThis field has been deprecated and replaced by the name field.","in":"path","name":"nodePoolId","required":true,"schema":{"type":"string"}},{"description":"Deprecated. The Google Developers Console [project ID or project\nnumber](https://support.google.com/cloud/answer/6158840).\nThis field has been deprecated and replaced by the name field.","in":"path","name":"projectId","required":true,"schema":{"type":"string"}},{"description":"Deprecated. The name of the Google Compute Engine\n[zone](/compute/docs/zones#available) in which the cluster\nresides.\nThis field has been deprecated and replaced by the name field.","in":"path","name":"zone","required":true,"schema":{"type":"string"}}],"requestBody":{"$ref":"#/components/requestBodies/SetNodePoolSizeRequest"},"responses":{"200":{"description":"Successful response","content":{"*/*":{"schema":{"$ref":"#/components/schemas/Operation"}}}}},"security":[{"Oauth2":["https://www.googleapis.com/auth/cloud-platform"]}],"tags":["projects"]}},"/v1/projects/{projectId}/zones/{zone}/clusters/{clusterId}/nodePools/{nodePoolId}/update":{"parameters":[{"$ref":"#/components/parameters/_.xgafv"},{"$ref":"#/components/parameters/access_token"},{"$ref":"#/components/parameters/alt"},{"$ref":"#/components/parameters/callback"},{"$ref":"#/components/parameters/fields"},{"$ref":"#/components/parameters/key"},{"$ref":"#/components/parameters/oauth_token"},{"$ref":"#/components/parameters/prettyPrint"},{"$ref":"#/components/parameters/quotaUser"},{"$ref":"#/components/parameters/uploadType"},{"$ref":"#/components/parameters/upload_protocol"}],"post":{"description":"Updates the version and/or image type for a specific node pool.","operationId":"container.projects.zones.clusters.nodePools.update","parameters":[{"description":"Deprecated. The name of the cluster to upgrade.\nThis field has been deprecated and replaced by the name field.","in":"path","name":"clusterId","required":true,"schema":{"type":"string"}},{"description":"Deprecated. The name of the node pool to upgrade.\nThis field has been deprecated and replaced by the name field.","in":"path","name":"nodePoolId","required":true,"schema":{"type":"string"}},{"description":"Deprecated. The Google Developers Console [project ID or project\nnumber](https://support.google.com/cloud/answer/6158840).\nThis field has been deprecated and replaced by the name field.","in":"path","name":"projectId","required":true,"schema":{"type":"string"}},{"description":"Deprecated. The name of the Google Compute Engine\n[zone](/compute/docs/zones#available) in which the cluster\nresides.\nThis field has been deprecated and replaced by the name field.","in":"path","name":"zone","required":true,"schema":{"type":"string"}}],"requestBody":{"$ref":"#/components/requestBodies/UpdateNodePoolRequest"},"responses":{"200":{"description":"Successful response","content":{"*/*":{"schema":{"$ref":"#/components/schemas/Operation"}}}}},"security":[{"Oauth2":["https://www.googleapis.com/auth/cloud-platform"]}],"tags":["projects"]}},"/v1/projects/{projectId}/zones/{zone}/clusters/{clusterId}/nodePools/{nodePoolId}:rollback":{"parameters":[{"$ref":"#/components/parameters/_.xgafv"},{"$ref":"#/components/parameters/access_token"},{"$ref":"#/components/parameters/alt"},{"$ref":"#/components/parameters/callback"},{"$ref":"#/components/parameters/fields"},{"$ref":"#/components/parameters/key"},{"$ref":"#/components/parameters/oauth_token"},{"$ref":"#/components/parameters/prettyPrint"},{"$ref":"#/components/parameters/quotaUser"},{"$ref":"#/components/parameters/uploadType"},{"$ref":"#/components/parameters/upload_protocol"}],"post":{"description":"Roll back the previously Aborted or Failed NodePool upgrade.\nThis will be an no-op if the last upgrade successfully completed.","operationId":"container.projects.zones.clusters.nodePools.rollback","parameters":[{"description":"Deprecated. The name of the cluster to rollback.\nThis field has been deprecated and replaced by the name field.","in":"path","name":"clusterId","required":true,"schema":{"type":"string"}},{"description":"Deprecated. The name of the node pool to rollback.\nThis field has been deprecated and replaced by the name field.","in":"path","name":"nodePoolId","required":true,"schema":{"type":"string"}},{"description":"Deprecated. The Google Developers Console [project ID or project\nnumber](https://support.google.com/cloud/answer/6158840).\nThis field has been deprecated and replaced by the name field.","in":"path","name":"projectId","required":true,"schema":{"type":"string"}},{"description":"Deprecated. The name of the Google Compute Engine\n[zone](/compute/docs/zones#available) in which the cluster\nresides.\nThis field has been deprecated and replaced by the name field.","in":"path","name":"zone","required":true,"schema":{"type":"string"}}],"requestBody":{"$ref":"#/components/requestBodies/RollbackNodePoolUpgradeRequest"},"responses":{"200":{"description":"Successful response","content":{"*/*":{"schema":{"$ref":"#/components/schemas/Operation"}}}}},"security":[{"Oauth2":["https://www.googleapis.com/auth/cloud-platform"]}],"tags":["projects"]}},"/v1/projects/{projectId}/zones/{zone}/clusters/{clusterId}/resourceLabels":{"parameters":[{"$ref":"#/components/parameters/_.xgafv"},{"$ref":"#/components/parameters/access_token"},{"$ref":"#/components/parameters/alt"},{"$ref":"#/components/parameters/callback"},{"$ref":"#/components/parameters/fields"},{"$ref":"#/components/parameters/key"},{"$ref":"#/components/parameters/oauth_token"},{"$ref":"#/components/parameters/prettyPrint"},{"$ref":"#/components/parameters/quotaUser"},{"$ref":"#/components/parameters/uploadType"},{"$ref":"#/components/parameters/upload_protocol"}],"post":{"description":"Sets labels on a cluster.","operationId":"container.projects.zones.clusters.resourceLabels","parameters":[{"description":"Deprecated. The name of the cluster.\nThis field has been deprecated and replaced by the name field.","in":"path","name":"clusterId","required":true,"schema":{"type":"string"}},{"description":"Deprecated. The Google Developers Console [project ID or project\nnumber](https://developers.google.com/console/help/new/#projectnumber).\nThis field has been deprecated and replaced by the name field.","in":"path","name":"projectId","required":true,"schema":{"type":"string"}},{"description":"Deprecated. The name of the Google Compute Engine\n[zone](/compute/docs/zones#available) in which the cluster\nresides.\nThis field has been deprecated and replaced by the name field.","in":"path","name":"zone","required":true,"schema":{"type":"string"}}],"requestBody":{"$ref":"#/components/requestBodies/SetLabelsRequest"},"responses":{"200":{"description":"Successful response","content":{"*/*":{"schema":{"$ref":"#/components/schemas/Operation"}}}}},"security":[{"Oauth2":["https://www.googleapis.com/auth/cloud-platform"]}],"tags":["projects"]}},"/v1/projects/{projectId}/zones/{zone}/clusters/{clusterId}:completeIpRotation":{"parameters":[{"$ref":"#/components/parameters/_.xgafv"},{"$ref":"#/components/parameters/access_token"},{"$ref":"#/components/parameters/alt"},{"$ref":"#/components/parameters/callback"},{"$ref":"#/components/parameters/fields"},{"$ref":"#/components/parameters/key"},{"$ref":"#/components/parameters/oauth_token"},{"$ref":"#/components/parameters/prettyPrint"},{"$ref":"#/components/parameters/quotaUser"},{"$ref":"#/components/parameters/uploadType"},{"$ref":"#/components/parameters/upload_protocol"}],"post":{"description":"Completes master IP rotation.","operationId":"container.projects.zones.clusters.completeIpRotation","parameters":[{"description":"Deprecated. The name of the cluster.\nThis field has been deprecated and replaced by the name field.","in":"path","name":"clusterId","required":true,"schema":{"type":"string"}},{"description":"Deprecated. The Google Developers Console [project ID or project\nnumber](https://developers.google.com/console/help/new/#projectnumber).\nThis field has been deprecated and replaced by the name field.","in":"path","name":"projectId","required":true,"schema":{"type":"string"}},{"description":"Deprecated. The name of the Google Compute Engine\n[zone](/compute/docs/zones#available) in which the cluster\nresides.\nThis field has been deprecated and replaced by the name field.","in":"path","name":"zone","required":true,"schema":{"type":"string"}}],"requestBody":{"$ref":"#/components/requestBodies/CompleteIPRotationRequest"},"responses":{"200":{"description":"Successful response","content":{"*/*":{"schema":{"$ref":"#/components/schemas/Operation"}}}}},"security":[{"Oauth2":["https://www.googleapis.com/auth/cloud-platform"]}],"tags":["projects"]}},"/v1/projects/{projectId}/zones/{zone}/clusters/{clusterId}:setMaintenancePolicy":{"parameters":[{"$ref":"#/components/parameters/_.xgafv"},{"$ref":"#/components/parameters/access_token"},{"$ref":"#/components/parameters/alt"},{"$ref":"#/components/parameters/callback"},{"$ref":"#/components/parameters/fields"},{"$ref":"#/components/parameters/key"},{"$ref":"#/components/parameters/oauth_token"},{"$ref":"#/components/parameters/prettyPrint"},{"$ref":"#/components/parameters/quotaUser"},{"$ref":"#/components/parameters/uploadType"},{"$ref":"#/components/parameters/upload_protocol"}],"post":{"description":"Sets the maintenance policy for a cluster.","operationId":"container.projects.zones.clusters.setMaintenancePolicy","parameters":[{"description":"The name of the cluster to update.","in":"path","name":"clusterId","required":true,"schema":{"type":"string"}},{"description":"The Google Developers Console [project ID or project\nnumber](https://support.google.com/cloud/answer/6158840).","in":"path","name":"projectId","required":true,"schema":{"type":"string"}},{"description":"The name of the Google Compute Engine\n[zone](/compute/docs/zones#available) in which the cluster\nresides.","in":"path","name":"zone","required":true,"schema":{"type":"string"}}],"requestBody":{"$ref":"#/components/requestBodies/SetMaintenancePolicyRequest"},"responses":{"200":{"description":"Successful response","content":{"*/*":{"schema":{"$ref":"#/components/schemas/Operation"}}}}},"security":[{"Oauth2":["https://www.googleapis.com/auth/cloud-platform"]}],"tags":["projects"]}},"/v1/projects/{projectId}/zones/{zone}/clusters/{clusterId}:setMasterAuth":{"parameters":[{"$ref":"#/components/parameters/_.xgafv"},{"$ref":"#/components/parameters/access_token"},{"$ref":"#/components/parameters/alt"},{"$ref":"#/components/parameters/callback"},{"$ref":"#/components/parameters/fields"},{"$ref":"#/components/parameters/key"},{"$ref":"#/components/parameters/oauth_token"},{"$ref":"#/components/parameters/prettyPrint"},{"$ref":"#/components/parameters/quotaUser"},{"$ref":"#/components/parameters/uploadType"},{"$ref":"#/components/parameters/upload_protocol"}],"post":{"description":"Used to set master auth materials. Currently supports :-\nChanging the admin password for a specific cluster.\nThis can be either via password generation or explicitly set the password.","operationId":"container.projects.zones.clusters.setMasterAuth","parameters":[{"description":"Deprecated. The name of the cluster to upgrade.\nThis field has been deprecated and replaced by the name field.","in":"path","name":"clusterId","required":true,"schema":{"type":"string"}},{"description":"Deprecated. The Google Developers Console [project ID or project\nnumber](https://support.google.com/cloud/answer/6158840).\nThis field has been deprecated and replaced by the name field.","in":"path","name":"projectId","required":true,"schema":{"type":"string"}},{"description":"Deprecated. The name of the Google Compute Engine\n[zone](/compute/docs/zones#available) in which the cluster\nresides.\nThis field has been deprecated and replaced by the name field.","in":"path","name":"zone","required":true,"schema":{"type":"string"}}],"requestBody":{"$ref":"#/components/requestBodies/SetMasterAuthRequest"},"responses":{"200":{"description":"Successful response","content":{"*/*":{"schema":{"$ref":"#/components/schemas/Operation"}}}}},"security":[{"Oauth2":["https://www.googleapis.com/auth/cloud-platform"]}],"tags":["projects"]}},"/v1/projects/{projectId}/zones/{zone}/clusters/{clusterId}:setNetworkPolicy":{"parameters":[{"$ref":"#/components/parameters/_.xgafv"},{"$ref":"#/components/parameters/access_token"},{"$ref":"#/components/parameters/alt"},{"$ref":"#/components/parameters/callback"},{"$ref":"#/components/parameters/fields"},{"$ref":"#/components/parameters/key"},{"$ref":"#/components/parameters/oauth_token"},{"$ref":"#/components/parameters/prettyPrint"},{"$ref":"#/components/parameters/quotaUser"},{"$ref":"#/components/parameters/uploadType"},{"$ref":"#/components/parameters/upload_protocol"}],"post":{"description":"Enables/Disables Network Policy for a cluster.","operationId":"container.projects.zones.clusters.setNetworkPolicy","parameters":[{"description":"Deprecated. The name of the cluster.\nThis field has been deprecated and replaced by the name field.","in":"path","name":"clusterId","required":true,"schema":{"type":"string"}},{"description":"Deprecated. The Google Developers Console [project ID or project\nnumber](https://developers.google.com/console/help/new/#projectnumber).\nThis field has been deprecated and replaced by the name field.","in":"path","name":"projectId","required":true,"schema":{"type":"string"}},{"description":"Deprecated. The name of the Google Compute Engine\n[zone](/compute/docs/zones#available) in which the cluster\nresides.\nThis field has been deprecated and replaced by the name field.","in":"path","name":"zone","required":true,"schema":{"type":"string"}}],"requestBody":{"$ref":"#/components/requestBodies/SetNetworkPolicyRequest"},"responses":{"200":{"description":"Successful response","content":{"*/*":{"schema":{"$ref":"#/components/schemas/Operation"}}}}},"security":[{"Oauth2":["https://www.googleapis.com/auth/cloud-platform"]}],"tags":["projects"]}},"/v1/projects/{projectId}/zones/{zone}/clusters/{clusterId}:startIpRotation":{"parameters":[{"$ref":"#/components/parameters/_.xgafv"},{"$ref":"#/components/parameters/access_token"},{"$ref":"#/components/parameters/alt"},{"$ref":"#/components/parameters/callback"},{"$ref":"#/components/parameters/fields"},{"$ref":"#/components/parameters/key"},{"$ref":"#/components/parameters/oauth_token"},{"$ref":"#/components/parameters/prettyPrint"},{"$ref":"#/components/parameters/quotaUser"},{"$ref":"#/components/parameters/uploadType"},{"$ref":"#/components/parameters/upload_protocol"}],"post":{"description":"Start master IP rotation.","operationId":"container.projects.zones.clusters.startIpRotation","parameters":[{"description":"Deprecated. The name of the cluster.\nThis field has been deprecated and replaced by the name field.","in":"path","name":"clusterId","required":true,"schema":{"type":"string"}},{"description":"Deprecated. The Google Developers Console [project ID or project\nnumber](https://developers.google.com/console/help/new/#projectnumber).\nThis field has been deprecated and replaced by the name field.","in":"path","name":"projectId","required":true,"schema":{"type":"string"}},{"description":"Deprecated. The name of the Google Compute Engine\n[zone](/compute/docs/zones#available) in which the cluster\nresides.\nThis field has been deprecated and replaced by the name field.","in":"path","name":"zone","required":true,"schema":{"type":"string"}}],"requestBody":{"$ref":"#/components/requestBodies/StartIPRotationRequest"},"responses":{"200":{"description":"Successful response","content":{"*/*":{"schema":{"$ref":"#/components/schemas/Operation"}}}}},"security":[{"Oauth2":["https://www.googleapis.com/auth/cloud-platform"]}],"tags":["projects"]}},"/v1/projects/{projectId}/zones/{zone}/operations":{"get":{"description":"Lists all operations in a project in a specific zone or all zones.","operationId":"container.projects.zones.operations.list","parameters":[{"description":"The parent (project and location) where the operations will be listed.\nSpecified in the format 'projects/*/locations/*'.\nLocation \"-\" matches all zones and all regions.","in":"query","name":"parent","schema":{"type":"string"}},{"description":"Deprecated. The Google Developers Console [project ID or project\nnumber](https://support.google.com/cloud/answer/6158840).\nThis field has been deprecated and replaced by the parent field.","in":"path","name":"projectId","required":true,"schema":{"type":"string"}},{"description":"Deprecated. The name of the Google Compute Engine\n[zone](/compute/docs/zones#available) to return operations for, or `-` for\nall zones. This field has been deprecated and replaced by the parent field.","in":"path","name":"zone","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Successful response","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ListOperationsResponse"}}}}},"security":[{"Oauth2":["https://www.googleapis.com/auth/cloud-platform"]}],"tags":["projects"]},"parameters":[{"$ref":"#/components/parameters/_.xgafv"},{"$ref":"#/components/parameters/access_token"},{"$ref":"#/components/parameters/alt"},{"$ref":"#/components/parameters/callback"},{"$ref":"#/components/parameters/fields"},{"$ref":"#/components/parameters/key"},{"$ref":"#/components/parameters/oauth_token"},{"$ref":"#/components/parameters/prettyPrint"},{"$ref":"#/components/parameters/quotaUser"},{"$ref":"#/components/parameters/uploadType"},{"$ref":"#/components/parameters/upload_protocol"}]},"/v1/projects/{projectId}/zones/{zone}/operations/{operationId}":{"get":{"description":"Gets the specified operation.","operationId":"container.projects.zones.operations.get","parameters":[{"description":"The name (project, location, operation id) of the operation to get.\nSpecified in the format 'projects/*/locations/*/operations/*'.","in":"query","name":"name","schema":{"type":"string"}},{"description":"Deprecated. The server-assigned `name` of the operation.\nThis field has been deprecated and replaced by the name field.","in":"path","name":"operationId","required":true,"schema":{"type":"string"}},{"description":"Deprecated. The Google Developers Console [project ID or project\nnumber](https://support.google.com/cloud/answer/6158840).\nThis field has been deprecated and replaced by the name field.","in":"path","name":"projectId","required":true,"schema":{"type":"string"}},{"description":"Deprecated. The name of the Google Compute Engine\n[zone](/compute/docs/zones#available) in which the cluster\nresides.\nThis field has been deprecated and replaced