blob: 69595898e47291ad0da4fc6d9d21700b70098cd5 [file] [log] [blame]
{
"auth": {
"oauth2": {
"scopes": {
"https://www.googleapis.com/auth/cloud-platform": {
"description": "View and manage your data across Google Cloud Platform services"
}
}
}
},
"basePath": "",
"baseUrl": "https://container.googleapis.com/",
"batchPath": "batch",
"canonicalName": "Container",
"description": "Builds and manages container-based applications, powered by the open source Kubernetes technology.",
"discoveryVersion": "v1",
"documentationLink": "https://cloud.google.com/container-engine/",
"fullyEncodeReservedExpansion": true,
"icons": {
"x16": "http://www.google.com/images/icons/product/search-16.gif",
"x32": "http://www.google.com/images/icons/product/search-32.gif"
},
"id": "container:v1beta1",
"kind": "discovery#restDescription",
"mtlsRootUrl": "https://container.mtls.googleapis.com/",
"name": "container",
"ownerDomain": "google.com",
"ownerName": "Google",
"parameters": {
"$.xgafv": {
"description": "V1 error format.",
"enum": [
"1",
"2"
],
"enumDescriptions": [
"v1 error format",
"v2 error format"
],
"location": "query",
"type": "string"
},
"access_token": {
"description": "OAuth access token.",
"location": "query",
"type": "string"
},
"alt": {
"default": "json",
"description": "Data format for response.",
"enum": [
"json",
"media",
"proto"
],
"enumDescriptions": [
"Responses with Content-Type of application/json",
"Media download with context-dependent Content-Type",
"Responses with Content-Type of application/x-protobuf"
],
"location": "query",
"type": "string"
},
"callback": {
"description": "JSONP",
"location": "query",
"type": "string"
},
"fields": {
"description": "Selector specifying which fields to include in a partial response.",
"location": "query",
"type": "string"
},
"key": {
"description": "API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.",
"location": "query",
"type": "string"
},
"oauth_token": {
"description": "OAuth 2.0 token for the current user.",
"location": "query",
"type": "string"
},
"prettyPrint": {
"default": "true",
"description": "Returns response with indentations and line breaks.",
"location": "query",
"type": "boolean"
},
"quotaUser": {
"description": "Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.",
"location": "query",
"type": "string"
},
"uploadType": {
"description": "Legacy upload protocol for media (e.g. \"media\", \"multipart\").",
"location": "query",
"type": "string"
},
"upload_protocol": {
"description": "Upload protocol for media (e.g. \"raw\", \"multipart\").",
"location": "query",
"type": "string"
}
},
"protocol": "rest",
"resources": {
"projects": {
"resources": {
"aggregated": {
"resources": {
"usableSubnetworks": {
"methods": {
"list": {
"description": "Lists subnetworks that can be used for creating clusters in a project.",
"flatPath": "v1beta1/projects/{projectsId}/aggregated/usableSubnetworks",
"httpMethod": "GET",
"id": "container.projects.aggregated.usableSubnetworks.list",
"parameterOrder": [
"parent"
],
"parameters": {
"filter": {
"description": "Filtering currently only supports equality on the networkProjectId and must be in the form: \"networkProjectId=[PROJECTID]\", where `networkProjectId` is the project which owns the listed subnetworks. This defaults to the parent project ID.",
"location": "query",
"type": "string"
},
"pageSize": {
"description": "The max number of results per page that should be returned. If the number of available results is larger than `page_size`, a `next_page_token` is returned which can be used to get the next page of results in subsequent requests. Acceptable values are 0 to 500, inclusive. (Default: 500)",
"format": "int32",
"location": "query",
"type": "integer"
},
"pageToken": {
"description": "Specifies a page token to use. Set this to the nextPageToken returned by previous list requests to get the next page of results.",
"location": "query",
"type": "string"
},
"parent": {
"description": "Required. The parent project where subnetworks are usable. Specified in the format `projects/*`.",
"location": "path",
"pattern": "^projects/[^/]+$",
"required": true,
"type": "string"
}
},
"path": "v1beta1/{+parent}/aggregated/usableSubnetworks",
"response": {
"$ref": "ListUsableSubnetworksResponse"
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform"
]
}
}
}
}
},
"locations": {
"methods": {
"getServerConfig": {
"description": "Returns configuration info about the Google Kubernetes Engine service.",
"flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/serverConfig",
"httpMethod": "GET",
"id": "container.projects.locations.getServerConfig",
"parameterOrder": [
"name"
],
"parameters": {
"name": {
"description": "The name (project and location) of the server config to get, specified in the format `projects/*/locations/*`.",
"location": "path",
"pattern": "^projects/[^/]+/locations/[^/]+$",
"required": true,
"type": "string"
},
"projectId": {
"description": "Required. Deprecated. The Google Developers Console [project ID or project number](https://support.google.com/cloud/answer/6158840). This field has been deprecated and replaced by the name field.",
"location": "query",
"type": "string"
},
"zone": {
"description": "Required. Deprecated. The name of the Google Compute Engine [zone](https://cloud.google.com/compute/docs/zones#available) to return operations for. This field has been deprecated and replaced by the name field.",
"location": "query",
"type": "string"
}
},
"path": "v1beta1/{+name}/serverConfig",
"response": {
"$ref": "ServerConfig"
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform"
]
},
"list": {
"description": "Fetches locations that offer Google Kubernetes Engine.",
"flatPath": "v1beta1/projects/{projectsId}/locations",
"httpMethod": "GET",
"id": "container.projects.locations.list",
"parameterOrder": [
"parent"
],
"parameters": {
"parent": {
"description": "Required. Contains the name of the resource requested. Specified in the format `projects/*`.",
"location": "path",
"pattern": "^projects/[^/]+$",
"required": true,
"type": "string"
}
},
"path": "v1beta1/{+parent}/locations",
"response": {
"$ref": "ListLocationsResponse"
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform"
]
}
},
"resources": {
"clusters": {
"methods": {
"completeIpRotation": {
"description": "Completes master IP rotation.",
"flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/clusters/{clustersId}:completeIpRotation",
"httpMethod": "POST",
"id": "container.projects.locations.clusters.completeIpRotation",
"parameterOrder": [
"name"
],
"parameters": {
"name": {
"description": "The name (project, location, cluster id) of the cluster to complete IP rotation. Specified in the format `projects/*/locations/*/clusters/*`.",
"location": "path",
"pattern": "^projects/[^/]+/locations/[^/]+/clusters/[^/]+$",
"required": true,
"type": "string"
}
},
"path": "v1beta1/{+name}:completeIpRotation",
"request": {
"$ref": "CompleteIPRotationRequest"
},
"response": {
"$ref": "Operation"
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform"
]
},
"create": {
"description": "Creates a cluster, consisting of the specified number and type of Google Compute Engine instances. By default, the cluster is created in the project's [default network](https://cloud.google.com/compute/docs/networks-and-firewalls#networks). One firewall is added for the cluster. After cluster creation, the Kubelet creates routes for each node to allow the containers on that node to communicate with all other instances in the cluster. Finally, an entry is added to the project's global metadata indicating which CIDR range the cluster is using.",
"flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/clusters",
"httpMethod": "POST",
"id": "container.projects.locations.clusters.create",
"parameterOrder": [
"parent"
],
"parameters": {
"parent": {
"description": "The parent (project and location) where the cluster will be created. Specified in the format `projects/*/locations/*`.",
"location": "path",
"pattern": "^projects/[^/]+/locations/[^/]+$",
"required": true,
"type": "string"
}
},
"path": "v1beta1/{+parent}/clusters",
"request": {
"$ref": "CreateClusterRequest"
},
"response": {
"$ref": "Operation"
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform"
]
},
"delete": {
"description": "Deletes the cluster, including the Kubernetes endpoint and all worker nodes. Firewalls and routes that were configured during cluster creation are also deleted. Other Google Compute Engine resources that might be in use by the cluster, such as load balancer resources, are not deleted if they weren't present when the cluster was initially created.",
"flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/clusters/{clustersId}",
"httpMethod": "DELETE",
"id": "container.projects.locations.clusters.delete",
"parameterOrder": [
"name"
],
"parameters": {
"clusterId": {
"description": "Required. Deprecated. The name of the cluster to delete. This field has been deprecated and replaced by the name field.",
"location": "query",
"type": "string"
},
"name": {
"description": "The name (project, location, cluster) of the cluster to delete. Specified in the format `projects/*/locations/*/clusters/*`.",
"location": "path",
"pattern": "^projects/[^/]+/locations/[^/]+/clusters/[^/]+$",
"required": true,
"type": "string"
},
"projectId": {
"description": "Required. Deprecated. The Google Developers Console [project ID or project number](https://support.google.com/cloud/answer/6158840). This field has been deprecated and replaced by the name field.",
"location": "query",
"type": "string"
},
"zone": {
"description": "Required. Deprecated. The name of the Google Compute Engine [zone](https://cloud.google.com/compute/docs/zones#available) in which the cluster resides. This field has been deprecated and replaced by the name field.",
"location": "query",
"type": "string"
}
},
"path": "v1beta1/{+name}",
"response": {
"$ref": "Operation"
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform"
]
},
"get": {
"description": "Gets the details for a specific cluster.",
"flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/clusters/{clustersId}",
"httpMethod": "GET",
"id": "container.projects.locations.clusters.get",
"parameterOrder": [
"name"
],
"parameters": {
"clusterId": {
"description": "Required. Deprecated. The name of the cluster to retrieve. This field has been deprecated and replaced by the name field.",
"location": "query",
"type": "string"
},
"name": {
"description": "The name (project, location, cluster) of the cluster to retrieve. Specified in the format `projects/*/locations/*/clusters/*`.",
"location": "path",
"pattern": "^projects/[^/]+/locations/[^/]+/clusters/[^/]+$",
"required": true,
"type": "string"
},
"projectId": {
"description": "Required. Deprecated. The Google Developers Console [project ID or project number](https://support.google.com/cloud/answer/6158840). This field has been deprecated and replaced by the name field.",
"location": "query",
"type": "string"
},
"zone": {
"description": "Required. Deprecated. The name of the Google Compute Engine [zone](https://cloud.google.com/compute/docs/zones#available) in which the cluster resides. This field has been deprecated and replaced by the name field.",
"location": "query",
"type": "string"
}
},
"path": "v1beta1/{+name}",
"response": {
"$ref": "Cluster"
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform"
]
},
"getJwks": {
"description": "Gets the public component of the cluster signing keys in JSON Web Key format. This API is not yet intended for general use, and is not available for all clusters.",
"flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/clusters/{clustersId}/jwks",
"httpMethod": "GET",
"id": "container.projects.locations.clusters.getJwks",
"parameterOrder": [
"parent"
],
"parameters": {
"parent": {
"description": "The cluster (project, location, cluster id) to get keys for. Specified in the format `projects/*/locations/*/clusters/*`.",
"location": "path",
"pattern": "^projects/[^/]+/locations/[^/]+/clusters/[^/]+$",
"required": true,
"type": "string"
}
},
"path": "v1beta1/{+parent}/jwks",
"response": {
"$ref": "GetJSONWebKeysResponse"
}
},
"list": {
"description": "Lists all clusters owned by a project in either the specified zone or all zones.",
"flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/clusters",
"httpMethod": "GET",
"id": "container.projects.locations.clusters.list",
"parameterOrder": [
"parent"
],
"parameters": {
"parent": {
"description": "The parent (project and location) where the clusters will be listed. Specified in the format `projects/*/locations/*`. Location \"-\" matches all zones and all regions.",
"location": "path",
"pattern": "^projects/[^/]+/locations/[^/]+$",
"required": true,
"type": "string"
},
"projectId": {
"description": "Required. Deprecated. The Google Developers Console [project ID or project number](https://support.google.com/cloud/answer/6158840). This field has been deprecated and replaced by the parent field.",
"location": "query",
"type": "string"
},
"zone": {
"description": "Required. Deprecated. The name of the Google Compute Engine [zone](https://cloud.google.com/compute/docs/zones#available) in which the cluster resides, or \"-\" for all zones. This field has been deprecated and replaced by the parent field.",
"location": "query",
"type": "string"
}
},
"path": "v1beta1/{+parent}/clusters",
"response": {
"$ref": "ListClustersResponse"
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform"
]
},
"setAddons": {
"description": "Sets the addons for a specific cluster.",
"flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/clusters/{clustersId}:setAddons",
"httpMethod": "POST",
"id": "container.projects.locations.clusters.setAddons",
"parameterOrder": [
"name"
],
"parameters": {
"name": {
"description": "The name (project, location, cluster) of the cluster to set addons. Specified in the format `projects/*/locations/*/clusters/*`.",
"location": "path",
"pattern": "^projects/[^/]+/locations/[^/]+/clusters/[^/]+$",
"required": true,
"type": "string"
}
},
"path": "v1beta1/{+name}:setAddons",
"request": {
"$ref": "SetAddonsConfigRequest"
},
"response": {
"$ref": "Operation"
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform"
]
},
"setLegacyAbac": {
"description": "Enables or disables the ABAC authorization mechanism on a cluster.",
"flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/clusters/{clustersId}:setLegacyAbac",
"httpMethod": "POST",
"id": "container.projects.locations.clusters.setLegacyAbac",
"parameterOrder": [
"name"
],
"parameters": {
"name": {
"description": "The name (project, location, cluster id) of the cluster to set legacy abac. Specified in the format `projects/*/locations/*/clusters/*`.",
"location": "path",
"pattern": "^projects/[^/]+/locations/[^/]+/clusters/[^/]+$",
"required": true,
"type": "string"
}
},
"path": "v1beta1/{+name}:setLegacyAbac",
"request": {
"$ref": "SetLegacyAbacRequest"
},
"response": {
"$ref": "Operation"
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform"
]
},
"setLocations": {
"description": "Sets the locations for a specific cluster. Deprecated. Use [projects.locations.clusters.update](https://cloud.google.com/kubernetes-engine/docs/reference/rest/v1beta1/projects.locations.clusters/update) instead.",
"flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/clusters/{clustersId}:setLocations",
"httpMethod": "POST",
"id": "container.projects.locations.clusters.setLocations",
"parameterOrder": [
"name"
],
"parameters": {
"name": {
"description": "The name (project, location, cluster) of the cluster to set locations. Specified in the format `projects/*/locations/*/clusters/*`.",
"location": "path",
"pattern": "^projects/[^/]+/locations/[^/]+/clusters/[^/]+$",
"required": true,
"type": "string"
}
},
"path": "v1beta1/{+name}:setLocations",
"request": {
"$ref": "SetLocationsRequest"
},
"response": {
"$ref": "Operation"
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform"
]
},
"setLogging": {
"description": "Sets the logging service for a specific cluster.",
"flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/clusters/{clustersId}:setLogging",
"httpMethod": "POST",
"id": "container.projects.locations.clusters.setLogging",
"parameterOrder": [
"name"
],
"parameters": {
"name": {
"description": "The name (project, location, cluster) of the cluster to set logging. Specified in the format `projects/*/locations/*/clusters/*`.",
"location": "path",
"pattern": "^projects/[^/]+/locations/[^/]+/clusters/[^/]+$",
"required": true,
"type": "string"
}
},
"path": "v1beta1/{+name}:setLogging",
"request": {
"$ref": "SetLoggingServiceRequest"
},
"response": {
"$ref": "Operation"
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform"
]
},
"setMaintenancePolicy": {
"description": "Sets the maintenance policy for a cluster.",
"flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/clusters/{clustersId}:setMaintenancePolicy",
"httpMethod": "POST",
"id": "container.projects.locations.clusters.setMaintenancePolicy",
"parameterOrder": [
"name"
],
"parameters": {
"name": {
"description": "The name (project, location, cluster id) of the cluster to set maintenance policy. Specified in the format `projects/*/locations/*/clusters/*`.",
"location": "path",
"pattern": "^projects/[^/]+/locations/[^/]+/clusters/[^/]+$",
"required": true,
"type": "string"
}
},
"path": "v1beta1/{+name}:setMaintenancePolicy",
"request": {
"$ref": "SetMaintenancePolicyRequest"
},
"response": {
"$ref": "Operation"
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform"
]
},
"setMasterAuth": {
"description": "Sets master auth materials. Currently supports changing the admin password or a specific cluster, either via password generation or explicitly setting the password.",
"flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/clusters/{clustersId}:setMasterAuth",
"httpMethod": "POST",
"id": "container.projects.locations.clusters.setMasterAuth",
"parameterOrder": [
"name"
],
"parameters": {
"name": {
"description": "The name (project, location, cluster) of the cluster to set auth. Specified in the format `projects/*/locations/*/clusters/*`.",
"location": "path",
"pattern": "^projects/[^/]+/locations/[^/]+/clusters/[^/]+$",
"required": true,
"type": "string"
}
},
"path": "v1beta1/{+name}:setMasterAuth",
"request": {
"$ref": "SetMasterAuthRequest"
},
"response": {
"$ref": "Operation"
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform"
]
},
"setMonitoring": {
"description": "Sets the monitoring service for a specific cluster.",
"flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/clusters/{clustersId}:setMonitoring",
"httpMethod": "POST",
"id": "container.projects.locations.clusters.setMonitoring",
"parameterOrder": [
"name"
],
"parameters": {
"name": {
"description": "The name (project, location, cluster) of the cluster to set monitoring. Specified in the format `projects/*/locations/*/clusters/*`.",
"location": "path",
"pattern": "^projects/[^/]+/locations/[^/]+/clusters/[^/]+$",
"required": true,
"type": "string"
}
},
"path": "v1beta1/{+name}:setMonitoring",
"request": {
"$ref": "SetMonitoringServiceRequest"
},
"response": {
"$ref": "Operation"
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform"
]
},
"setNetworkPolicy": {
"description": "Enables or disables Network Policy for a cluster.",
"flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/clusters/{clustersId}:setNetworkPolicy",
"httpMethod": "POST",
"id": "container.projects.locations.clusters.setNetworkPolicy",
"parameterOrder": [
"name"
],
"parameters": {
"name": {
"description": "The name (project, location, cluster id) of the cluster to set networking policy. Specified in the format `projects/*/locations/*/clusters/*`.",
"location": "path",
"pattern": "^projects/[^/]+/locations/[^/]+/clusters/[^/]+$",
"required": true,
"type": "string"
}
},
"path": "v1beta1/{+name}:setNetworkPolicy",
"request": {
"$ref": "SetNetworkPolicyRequest"
},
"response": {
"$ref": "Operation"
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform"
]
},
"setResourceLabels": {
"description": "Sets labels on a cluster.",
"flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/clusters/{clustersId}:setResourceLabels",
"httpMethod": "POST",
"id": "container.projects.locations.clusters.setResourceLabels",
"parameterOrder": [
"name"
],
"parameters": {
"name": {
"description": "The name (project, location, cluster id) of the cluster to set labels. Specified in the format `projects/*/locations/*/clusters/*`.",
"location": "path",
"pattern": "^projects/[^/]+/locations/[^/]+/clusters/[^/]+$",
"required": true,
"type": "string"
}
},
"path": "v1beta1/{+name}:setResourceLabels",
"request": {
"$ref": "SetLabelsRequest"
},
"response": {
"$ref": "Operation"
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform"
]
},
"startIpRotation": {
"description": "Starts master IP rotation.",
"flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/clusters/{clustersId}:startIpRotation",
"httpMethod": "POST",
"id": "container.projects.locations.clusters.startIpRotation",
"parameterOrder": [
"name"
],
"parameters": {
"name": {
"description": "The name (project, location, cluster id) of the cluster to start IP rotation. Specified in the format `projects/*/locations/*/clusters/*`.",
"location": "path",
"pattern": "^projects/[^/]+/locations/[^/]+/clusters/[^/]+$",
"required": true,
"type": "string"
}
},
"path": "v1beta1/{+name}:startIpRotation",
"request": {
"$ref": "StartIPRotationRequest"
},
"response": {
"$ref": "Operation"
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform"
]
},
"update": {
"description": "Updates the settings for a specific cluster.",
"flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/clusters/{clustersId}",
"httpMethod": "PUT",
"id": "container.projects.locations.clusters.update",
"parameterOrder": [
"name"
],
"parameters": {
"name": {
"description": "The name (project, location, cluster) of the cluster to update. Specified in the format `projects/*/locations/*/clusters/*`.",
"location": "path",
"pattern": "^projects/[^/]+/locations/[^/]+/clusters/[^/]+$",
"required": true,
"type": "string"
}
},
"path": "v1beta1/{+name}",
"request": {
"$ref": "UpdateClusterRequest"
},
"response": {
"$ref": "Operation"
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform"
]
},
"updateMaster": {
"description": "Updates the master for a specific cluster.",
"flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/clusters/{clustersId}:updateMaster",
"httpMethod": "POST",
"id": "container.projects.locations.clusters.updateMaster",
"parameterOrder": [
"name"
],
"parameters": {
"name": {
"description": "The name (project, location, cluster) of the cluster to update. Specified in the format `projects/*/locations/*/clusters/*`.",
"location": "path",
"pattern": "^projects/[^/]+/locations/[^/]+/clusters/[^/]+$",
"required": true,
"type": "string"
}
},
"path": "v1beta1/{+name}:updateMaster",
"request": {
"$ref": "UpdateMasterRequest"
},
"response": {
"$ref": "Operation"
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform"
]
}
},
"resources": {
"nodePools": {
"methods": {
"create": {
"description": "Creates a node pool for a cluster.",
"flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/clusters/{clustersId}/nodePools",
"httpMethod": "POST",
"id": "container.projects.locations.clusters.nodePools.create",
"parameterOrder": [
"parent"
],
"parameters": {
"parent": {
"description": "The parent (project, location, cluster id) where the node pool will be created. Specified in the format `projects/*/locations/*/clusters/*`.",
"location": "path",
"pattern": "^projects/[^/]+/locations/[^/]+/clusters/[^/]+$",
"required": true,
"type": "string"
}
},
"path": "v1beta1/{+parent}/nodePools",
"request": {
"$ref": "CreateNodePoolRequest"
},
"response": {
"$ref": "Operation"
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform"
]
},
"delete": {
"description": "Deletes a node pool from a cluster.",
"flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/clusters/{clustersId}/nodePools/{nodePoolsId}",
"httpMethod": "DELETE",
"id": "container.projects.locations.clusters.nodePools.delete",
"parameterOrder": [
"name"
],
"parameters": {
"clusterId": {
"description": "Required. Deprecated. The name of the cluster. This field has been deprecated and replaced by the name field.",
"location": "query",
"type": "string"
},
"name": {
"description": "The name (project, location, cluster, node pool id) of the node pool to delete. Specified in the format `projects/*/locations/*/clusters/*/nodePools/*`.",
"location": "path",
"pattern": "^projects/[^/]+/locations/[^/]+/clusters/[^/]+/nodePools/[^/]+$",
"required": true,
"type": "string"
},
"nodePoolId": {
"description": "Required. Deprecated. The name of the node pool to delete. This field has been deprecated and replaced by the name field.",
"location": "query",
"type": "string"
},
"projectId": {
"description": "Required. Deprecated. The Google Developers Console [project ID or project number](https://developers.google.com/console/help/new/#projectnumber). This field has been deprecated and replaced by the name field.",
"location": "query",
"type": "string"
},
"zone": {
"description": "Required. Deprecated. The name of the Google Compute Engine [zone](https://cloud.google.com/compute/docs/zones#available) in which the cluster resides. This field has been deprecated and replaced by the name field.",
"location": "query",
"type": "string"
}
},
"path": "v1beta1/{+name}",
"response": {
"$ref": "Operation"
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform"
]
},
"get": {
"description": "Retrieves the requested node pool.",
"flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/clusters/{clustersId}/nodePools/{nodePoolsId}",
"httpMethod": "GET",
"id": "container.projects.locations.clusters.nodePools.get",
"parameterOrder": [
"name"
],
"parameters": {
"clusterId": {
"description": "Required. Deprecated. The name of the cluster. This field has been deprecated and replaced by the name field.",
"location": "query",
"type": "string"
},
"name": {
"description": "The name (project, location, cluster, node pool id) of the node pool to get. Specified in the format `projects/*/locations/*/clusters/*/nodePools/*`.",
"location": "path",
"pattern": "^projects/[^/]+/locations/[^/]+/clusters/[^/]+/nodePools/[^/]+$",
"required": true,
"type": "string"
},
"nodePoolId": {
"description": "Required. Deprecated. The name of the node pool. This field has been deprecated and replaced by the name field.",
"location": "query",
"type": "string"
},
"projectId": {
"description": "Required. Deprecated. The Google Developers Console [project ID or project number](https://developers.google.com/console/help/new/#projectnumber). This field has been deprecated and replaced by the name field.",
"location": "query",
"type": "string"
},
"zone": {
"description": "Required. Deprecated. The name of the Google Compute Engine [zone](https://cloud.google.com/compute/docs/zones#available) in which the cluster resides. This field has been deprecated and replaced by the name field.",
"location": "query",
"type": "string"
}
},
"path": "v1beta1/{+name}",
"response": {
"$ref": "NodePool"
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform"
]
},
"list": {
"description": "Lists the node pools for a cluster.",
"flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/clusters/{clustersId}/nodePools",
"httpMethod": "GET",
"id": "container.projects.locations.clusters.nodePools.list",
"parameterOrder": [
"parent"
],
"parameters": {
"clusterId": {
"description": "Required. Deprecated. The name of the cluster. This field has been deprecated and replaced by the parent field.",
"location": "query",
"type": "string"
},
"parent": {
"description": "The parent (project, location, cluster id) where the node pools will be listed. Specified in the format `projects/*/locations/*/clusters/*`.",
"location": "path",
"pattern": "^projects/[^/]+/locations/[^/]+/clusters/[^/]+$",
"required": true,
"type": "string"
},
"projectId": {
"description": "Required. Deprecated. The Google Developers Console [project ID or project number](https://developers.google.com/console/help/new/#projectnumber). This field has been deprecated and replaced by the parent field.",
"location": "query",
"type": "string"
},
"zone": {
"description": "Required. Deprecated. The name of the Google Compute Engine [zone](https://cloud.google.com/compute/docs/zones#available) in which the cluster resides. This field has been deprecated and replaced by the parent field.",
"location": "query",
"type": "string"
}
},
"path": "v1beta1/{+parent}/nodePools",
"response": {
"$ref": "ListNodePoolsResponse"
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform"
]
},
"rollback": {
"description": "Rolls back a previously Aborted or Failed NodePool upgrade. This makes no changes if the last upgrade successfully completed.",
"flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/clusters/{clustersId}/nodePools/{nodePoolsId}:rollback",
"httpMethod": "POST",
"id": "container.projects.locations.clusters.nodePools.rollback",
"parameterOrder": [
"name"
],
"parameters": {
"name": {
"description": "The name (project, location, cluster, node pool id) of the node poll to rollback upgrade. Specified in the format `projects/*/locations/*/clusters/*/nodePools/*`.",
"location": "path",
"pattern": "^projects/[^/]+/locations/[^/]+/clusters/[^/]+/nodePools/[^/]+$",
"required": true,
"type": "string"
}
},
"path": "v1beta1/{+name}:rollback",
"request": {
"$ref": "RollbackNodePoolUpgradeRequest"
},
"response": {
"$ref": "Operation"
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform"
]
},
"setAutoscaling": {
"description": "Sets the autoscaling settings of a specific node pool.",
"flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/clusters/{clustersId}/nodePools/{nodePoolsId}:setAutoscaling",
"httpMethod": "POST",
"id": "container.projects.locations.clusters.nodePools.setAutoscaling",
"parameterOrder": [
"name"
],
"parameters": {
"name": {
"description": "The name (project, location, cluster, node pool) of the node pool to set autoscaler settings. Specified in the format `projects/*/locations/*/clusters/*/nodePools/*`.",
"location": "path",
"pattern": "^projects/[^/]+/locations/[^/]+/clusters/[^/]+/nodePools/[^/]+$",
"required": true,
"type": "string"
}
},
"path": "v1beta1/{+name}:setAutoscaling",
"request": {
"$ref": "SetNodePoolAutoscalingRequest"
},
"response": {
"$ref": "Operation"
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform"
]
},
"setManagement": {
"description": "Sets the NodeManagement options for a node pool.",
"flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/clusters/{clustersId}/nodePools/{nodePoolsId}:setManagement",
"httpMethod": "POST",
"id": "container.projects.locations.clusters.nodePools.setManagement",
"parameterOrder": [
"name"
],
"parameters": {
"name": {
"description": "The name (project, location, cluster, node pool id) of the node pool to set management properties. Specified in the format `projects/*/locations/*/clusters/*/nodePools/*`.",
"location": "path",
"pattern": "^projects/[^/]+/locations/[^/]+/clusters/[^/]+/nodePools/[^/]+$",
"required": true,
"type": "string"
}
},
"path": "v1beta1/{+name}:setManagement",
"request": {
"$ref": "SetNodePoolManagementRequest"
},
"response": {
"$ref": "Operation"
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform"
]
},
"setSize": {
"description": "Sets the size for a specific node pool.",
"flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/clusters/{clustersId}/nodePools/{nodePoolsId}:setSize",
"httpMethod": "POST",
"id": "container.projects.locations.clusters.nodePools.setSize",
"parameterOrder": [
"name"
],
"parameters": {
"name": {
"description": "The name (project, location, cluster, node pool id) of the node pool to set size. Specified in the format `projects/*/locations/*/clusters/*/nodePools/*`.",
"location": "path",
"pattern": "^projects/[^/]+/locations/[^/]+/clusters/[^/]+/nodePools/[^/]+$",
"required": true,
"type": "string"
}
},
"path": "v1beta1/{+name}:setSize",
"request": {
"$ref": "SetNodePoolSizeRequest"
},
"response": {
"$ref": "Operation"
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform"
]
},
"update": {
"description": "Updates the version and/or image type of a specific node pool.",
"flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/clusters/{clustersId}/nodePools/{nodePoolsId}",
"httpMethod": "PUT",
"id": "container.projects.locations.clusters.nodePools.update",
"parameterOrder": [
"name"
],
"parameters": {
"name": {
"description": "The name (project, location, cluster, node pool) of the node pool to update. Specified in the format `projects/*/locations/*/clusters/*/nodePools/*`.",
"location": "path",
"pattern": "^projects/[^/]+/locations/[^/]+/clusters/[^/]+/nodePools/[^/]+$",
"required": true,
"type": "string"
}
},
"path": "v1beta1/{+name}",
"request": {
"$ref": "UpdateNodePoolRequest"
},
"response": {
"$ref": "Operation"
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform"
]
}
}
},
"well-known": {
"methods": {
"getOpenid-configuration": {
"description": "Gets the OIDC discovery document for the cluster. See the [OpenID Connect Discovery 1.0 specification](https://openid.net/specs/openid-connect-discovery-1_0.html) for details. This API is not yet intended for general use, and is not available for all clusters.",
"flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/clusters/{clustersId}/.well-known/openid-configuration",
"httpMethod": "GET",
"id": "container.projects.locations.clusters.well-known.getOpenid-configuration",
"parameterOrder": [
"parent"
],
"parameters": {
"parent": {
"description": "The cluster (project, location, cluster id) to get the discovery document for. Specified in the format `projects/*/locations/*/clusters/*`.",
"location": "path",
"pattern": "^projects/[^/]+/locations/[^/]+/clusters/[^/]+$",
"required": true,
"type": "string"
}
},
"path": "v1beta1/{+parent}/.well-known/openid-configuration",
"response": {
"$ref": "GetOpenIDConfigResponse"
}
}
}
}
}
},
"operations": {
"methods": {
"cancel": {
"description": "Cancels the specified operation.",
"flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/operations/{operationsId}:cancel",
"httpMethod": "POST",
"id": "container.projects.locations.operations.cancel",
"parameterOrder": [
"name"
],
"parameters": {
"name": {
"description": "The name (project, location, operation id) of the operation to cancel. Specified in the format `projects/*/locations/*/operations/*`.",
"location": "path",
"pattern": "^projects/[^/]+/locations/[^/]+/operations/[^/]+$",
"required": true,
"type": "string"
}
},
"path": "v1beta1/{+name}:cancel",
"request": {
"$ref": "CancelOperationRequest"
},
"response": {
"$ref": "Empty"
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform"
]
},
"get": {
"description": "Gets the specified operation.",
"flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/operations/{operationsId}",
"httpMethod": "GET",
"id": "container.projects.locations.operations.get",
"parameterOrder": [
"name"
],
"parameters": {
"name": {
"description": "The name (project, location, operation id) of the operation to get. Specified in the format `projects/*/locations/*/operations/*`.",
"location": "path",
"pattern": "^projects/[^/]+/locations/[^/]+/operations/[^/]+$",
"required": true,
"type": "string"
},
"operationId": {
"description": "Required. Deprecated. The server-assigned `name` of the operation. This field has been deprecated and replaced by the name field.",
"location": "query",
"type": "string"
},
"projectId": {
"description": "Required. Deprecated. The Google Developers Console [project ID or project number](https://support.google.com/cloud/answer/6158840). This field has been deprecated and replaced by the name field.",
"location": "query",
"type": "string"
},
"zone": {
"description": "Required. Deprecated. The name of the Google Compute Engine [zone](https://cloud.google.com/compute/docs/zones#available) in which the cluster resides. This field has been deprecated and replaced by the name field.",
"location": "query",
"type": "string"
}
},
"path": "v1beta1/{+name}",
"response": {
"$ref": "Operation"
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform"
]
},
"list": {
"description": "Lists all operations in a project in the specified zone or all zones.",
"flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/operations",
"httpMethod": "GET",
"id": "container.projects.locations.operations.list",
"parameterOrder": [
"parent"
],
"parameters": {
"parent": {
"description": "The parent (project and location) where the operations will be listed. Specified in the format `projects/*/locations/*`. Location \"-\" matches all zones and all regions.",
"location": "path",
"pattern": "^projects/[^/]+/locations/[^/]+$",
"required": true,
"type": "string"
},
"projectId": {
"description": "Required. Deprecated. The Google Developers Console [project ID or project number](https://support.google.com/cloud/answer/6158840). This field has been deprecated and replaced by the parent field.",
"location": "query",
"type": "string"
},
"zone": {
"description": "Required. Deprecated. The name of the Google Compute Engine [zone](https://cloud.google.com/compute/docs/zones#available) to return operations for, or `-` for all zones. This field has been deprecated and replaced by the parent field.",
"location": "query",
"type": "string"
}
},
"path": "v1beta1/{+parent}/operations",
"response": {
"$ref": "ListOperationsResponse"
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform"
]
}
}
}
}
},
"zones": {
"methods": {
"getServerconfig": {
"description": "Returns configuration info about the Google Kubernetes Engine service.",
"flatPath": "v1beta1/projects/{projectId}/zones/{zone}/serverconfig",
"httpMethod": "GET",
"id": "container.projects.zones.getServerconfig",
"parameterOrder": [
"projectId",
"zone"
],
"parameters": {
"name": {
"description": "The name (project and location) of the server config to get, specified in the format `projects/*/locations/*`.",
"location": "query",
"type": "string"
},
"projectId": {
"description": "Required. Deprecated. The Google Developers Console [project ID or project number](https://support.google.com/cloud/answer/6158840). This field has been deprecated and replaced by the name field.",
"location": "path",
"required": true,
"type": "string"
},
"zone": {
"description": "Required. Deprecated. The name of the Google Compute Engine [zone](https://cloud.google.com/compute/docs/zones#available) to return operations for. This field has been deprecated and replaced by the name field.",
"location": "path",
"required": true,
"type": "string"
}
},
"path": "v1beta1/projects/{projectId}/zones/{zone}/serverconfig",
"response": {
"$ref": "ServerConfig"
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform"
]
}
},
"resources": {
"clusters": {
"methods": {
"addons": {
"description": "Sets the addons for a specific cluster.",
"flatPath": "v1beta1/projects/{projectId}/zones/{zone}/clusters/{clusterId}/addons",
"httpMethod": "POST",
"id": "container.projects.zones.clusters.addons",
"parameterOrder": [
"projectId",
"zone",
"clusterId"
],
"parameters": {
"clusterId": {
"description": "Required. Deprecated. The name of the cluster to upgrade. This field has been deprecated and replaced by the name field.",
"location": "path",
"required": true,
"type": "string"
},
"projectId": {
"description": "Required. Deprecated. The Google Developers Console [project ID or project number](https://support.google.com/cloud/answer/6158840). This field has been deprecated and replaced by the name field.",
"location": "path",
"required": true,
"type": "string"
},
"zone": {
"description": "Required. Deprecated. The name of the Google Compute Engine [zone](https://cloud.google.com/compute/docs/zones#available) in which the cluster resides. This field has been deprecated and replaced by the name field.",
"location": "path",
"required": true,
"type": "string"
}
},
"path": "v1beta1/projects/{projectId}/zones/{zone}/clusters/{clusterId}/addons",
"request": {
"$ref": "SetAddonsConfigRequest"
},
"response": {
"$ref": "Operation"
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform"
]
},
"completeIpRotation": {
"description": "Completes master IP rotation.",
"flatPath": "v1beta1/projects/{projectId}/zones/{zone}/clusters/{clusterId}:completeIpRotation",
"httpMethod": "POST",
"id": "container.projects.zones.clusters.completeIpRotation",
"parameterOrder": [
"projectId",
"zone",
"clusterId"
],
"parameters": {
"clusterId": {
"description": "Required. Deprecated. The name of the cluster. This field has been deprecated and replaced by the name field.",
"location": "path",
"required": true,
"type": "string"
},
"projectId": {
"description": "Required. Deprecated. The Google Developers Console [project ID or project number](https://developers.google.com/console/help/new/#projectnumber). This field has been deprecated and replaced by the name field.",
"location": "path",
"required": true,
"type": "string"
},
"zone": {
"description": "Required. Deprecated. The name of the Google Compute Engine [zone](https://cloud.google.com/compute/docs/zones#available) in which the cluster resides. This field has been deprecated and replaced by the name field.",
"location": "path",
"required": true,
"type": "string"
}
},
"path": "v1beta1/projects/{projectId}/zones/{zone}/clusters/{clusterId}:completeIpRotation",
"request": {
"$ref": "CompleteIPRotationRequest"
},
"response": {
"$ref": "Operation"
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform"
]
},
"create": {
"description": "Creates a cluster, consisting of the specified number and type of Google Compute Engine instances. By default, the cluster is created in the project's [default network](https://cloud.google.com/compute/docs/networks-and-firewalls#networks). One firewall is added for the cluster. After cluster creation, the Kubelet creates routes for each node to allow the containers on that node to communicate with all other instances in the cluster. Finally, an entry is added to the project's global metadata indicating which CIDR range the cluster is using.",
"flatPath": "v1beta1/projects/{projectId}/zones/{zone}/clusters",
"httpMethod": "POST",
"id": "container.projects.zones.clusters.create",
"parameterOrder": [
"projectId",
"zone"
],
"parameters": {
"projectId": {
"description": "Required. Deprecated. The Google Developers Console [project ID or project number](https://support.google.com/cloud/answer/6158840). This field has been deprecated and replaced by the parent field.",
"location": "path",
"required": true,
"type": "string"
},
"zone": {
"description": "Required. Deprecated. The name of the Google Compute Engine [zone](https://cloud.google.com/compute/docs/zones#available) in which the cluster resides. This field has been deprecated and replaced by the parent field.",
"location": "path",
"required": true,
"type": "string"
}
},
"path": "v1beta1/projects/{projectId}/zones/{zone}/clusters",
"request": {
"$ref": "CreateClusterRequest"
},
"response": {
"$ref": "Operation"
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform"
]
},
"delete": {
"description": "Deletes the cluster, including the Kubernetes endpoint and all worker nodes. Firewalls and routes that were configured during cluster creation are also deleted. Other Google Compute Engine resources that might be in use by the cluster, such as load balancer resources, are not deleted if they weren't present when the cluster was initially created.",
"flatPath": "v1beta1/projects/{projectId}/zones/{zone}/clusters/{clusterId}",
"httpMethod": "DELETE",
"id": "container.projects.zones.clusters.delete",
"parameterOrder": [
"projectId",
"zone",
"clusterId"
],
"parameters": {
"clusterId": {
"description": "Required. Deprecated. The name of the cluster to delete. This field has been deprecated and replaced by the name field.",
"location": "path",
"required": true,
"type": "string"
},
"name": {
"description": "The name (project, location, cluster) of the cluster to delete. Specified in the format `projects/*/locations/*/clusters/*`.",
"location": "query",
"type": "string"
},
"projectId": {
"description": "Required. Deprecated. The Google Developers Console [project ID or project number](https://support.google.com/cloud/answer/6158840). This field has been deprecated and replaced by the name field.",
"location": "path",
"required": true,
"type": "string"
},
"zone": {
"description": "Required. Deprecated. The name of the Google Compute Engine [zone](https://cloud.google.com/compute/docs/zones#available) in which the cluster resides. This field has been deprecated and replaced by the name field.",
"location": "path",
"required": true,
"type": "string"
}
},
"path": "v1beta1/projects/{projectId}/zones/{zone}/clusters/{clusterId}",
"response": {
"$ref": "Operation"
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform"
]
},
"get": {
"description": "Gets the details for a specific cluster.",
"flatPath": "v1beta1/projects/{projectId}/zones/{zone}/clusters/{clusterId}",
"httpMethod": "GET",
"id": "container.projects.zones.clusters.get",
"parameterOrder": [
"projectId",
"zone",
"clusterId"
],
"parameters": {
"clusterId": {
"description": "Required. Deprecated. The name of the cluster to retrieve. This field has been deprecated and replaced by the name field.",
"location": "path",
"required": true,
"type": "string"
},
"name": {
"description": "The name (project, location, cluster) of the cluster to retrieve. Specified in the format `projects/*/locations/*/clusters/*`.",
"location": "query",
"type": "string"
},
"projectId": {
"description": "Required. Deprecated. The Google Developers Console [project ID or project number](https://support.google.com/cloud/answer/6158840). This field has been deprecated and replaced by the name field.",
"location": "path",
"required": true,
"type": "string"
},
"zone": {
"description": "Required. Deprecated. The name of the Google Compute Engine [zone](https://cloud.google.com/compute/docs/zones#available) in which the cluster resides. This field has been deprecated and replaced by the name field.",
"location": "path",
"required": true,
"type": "string"
}
},
"path": "v1beta1/projects/{projectId}/zones/{zone}/clusters/{clusterId}",
"response": {
"$ref": "Cluster"
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform"
]
},
"legacyAbac": {
"description": "Enables or disables the ABAC authorization mechanism on a cluster.",
"flatPath": "v1beta1/projects/{projectId}/zones/{zone}/clusters/{clusterId}/legacyAbac",
"httpMethod": "POST",
"id": "container.projects.zones.clusters.legacyAbac",
"parameterOrder": [
"projectId",
"zone",
"clusterId"
],
"parameters": {
"clusterId": {
"description": "Required. Deprecated. The name of the cluster to update. This field has been deprecated and replaced by the name field.",
"location": "path",
"required": true,
"type": "string"
},
"projectId": {
"description": "Required. Deprecated. The Google Developers Console [project ID or project number](https://support.google.com/cloud/answer/6158840). This field has been deprecated and replaced by the name field.",
"location": "path",
"required": true,
"type": "string"
},
"zone": {
"description": "Required. Deprecated. The name of the Google Compute Engine [zone](https://cloud.google.com/compute/docs/zones#available) in which the cluster resides. This field has been deprecated and replaced by the name field.",
"location": "path",
"required": true,
"type": "string"
}
},
"path": "v1beta1/projects/{projectId}/zones/{zone}/clusters/{clusterId}/legacyAbac",
"request": {
"$ref": "SetLegacyAbacRequest"
},
"response": {
"$ref": "Operation"
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform"
]
},
"list": {
"description": "Lists all clusters owned by a project in either the specified zone or all zones.",
"flatPath": "v1beta1/projects/{projectId}/zones/{zone}/clusters",
"httpMethod": "GET",
"id": "container.projects.zones.clusters.list",
"parameterOrder": [
"projectId",
"zone"
],
"parameters": {
"parent": {
"description": "The parent (project and location) where the clusters will be listed. Specified in the format `projects/*/locations/*`. Location \"-\" matches all zones and all regions.",
"location": "query",
"type": "string"
},
"projectId": {
"description": "Required. Deprecated. The Google Developers Console [project ID or project number](https://support.google.com/cloud/answer/6158840). This field has been deprecated and replaced by the parent field.",
"location": "path",
"required": true,
"type": "string"
},
"zone": {
"description": "Required. Deprecated. The name of the Google Compute Engine [zone](https://cloud.google.com/compute/docs/zones#available) in which the cluster resides, or \"-\" for all zones. This field has been deprecated and replaced by the parent field.",
"location": "path",
"required": true,
"type": "string"
}
},
"path": "v1beta1/projects/{projectId}/zones/{zone}/clusters",
"response": {
"$ref": "ListClustersResponse"
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform"
]
},
"locations": {
"description": "Sets the locations for a specific cluster. Deprecated. Use [projects.locations.clusters.update](https://cloud.google.com/kubernetes-engine/docs/reference/rest/v1beta1/projects.locations.clusters/update) instead.",
"flatPath": "v1beta1/projects/{projectId}/zones/{zone}/clusters/{clusterId}/locations",
"httpMethod": "POST",
"id": "container.projects.zones.clusters.locations",
"parameterOrder": [
"projectId",
"zone",
"clusterId"
],
"parameters": {
"clusterId": {
"description": "Required. Deprecated. The name of the cluster to upgrade. This field has been deprecated and replaced by the name field.",
"location": "path",
"required": true,
"type": "string"
},
"projectId": {
"description": "Required. Deprecated. The Google Developers Console [project ID or project number](https://support.google.com/cloud/answer/6158840). This field has been deprecated and replaced by the name field.",
"location": "path",
"required": true,
"type": "string"
},
"zone": {
"description": "Required. Deprecated. The name of the Google Compute Engine [zone](https://cloud.google.com/compute/docs/zones#available) in which the cluster resides. This field has been deprecated and replaced by the name field.",
"location": "path",
"required": true,
"type": "string"
}
},
"path": "v1beta1/projects/{projectId}/zones/{zone}/clusters/{clusterId}/locations",
"request": {
"$ref": "SetLocationsRequest"
},
"response": {
"$ref": "Operation"
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform"
]
},
"logging": {
"description": "Sets the logging service for a specific cluster.",
"flatPath": "v1beta1/projects/{projectId}/zones/{zone}/clusters/{clusterId}/logging",
"httpMethod": "POST",
"id": "container.projects.zones.clusters.logging",
"parameterOrder": [
"projectId",
"zone",
"clusterId"
],
"parameters": {
"clusterId": {
"description": "Required. Deprecated. The name of the cluster to upgrade. This field has been deprecated and replaced by the name field.",
"location": "path",
"required": true,
"type": "string"
},
"projectId": {
"description": "Required. Deprecated. The Google Developers Console [project ID or project number](https://support.google.com/cloud/answer/6158840). This field has been deprecated and replaced by the name field.",
"location": "path",
"required": true,
"type": "string"
},
"zone": {
"description": "Required. Deprecated. The name of the Google Compute Engine [zone](https://cloud.google.com/compute/docs/zones#available) in which the cluster resides. This field has been deprecated and replaced by the name field.",
"location": "path",
"required": true,
"type": "string"
}
},
"path": "v1beta1/projects/{projectId}/zones/{zone}/clusters/{clusterId}/logging",
"request": {
"$ref": "SetLoggingServiceRequest"
},
"response": {
"$ref": "Operation"
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform"
]
},
"master": {
"description": "Updates the master for a specific cluster.",
"flatPath": "v1beta1/projects/{projectId}/zones/{zone}/clusters/{clusterId}/master",
"httpMethod": "POST",
"id": "container.projects.zones.clusters.master",
"parameterOrder": [
"projectId",
"zone",
"clusterId"
],
"parameters": {
"clusterId": {
"description": "Required. Deprecated. The name of the cluster to upgrade. This field has been deprecated and replaced by the name field.",
"location": "path",
"required": true,
"type": "string"
},
"projectId": {
"description": "Required. Deprecated. The Google Developers Console [project ID or project number](https://support.google.com/cloud/answer/6158840). This field has been deprecated and replaced by the name field.",
"location": "path",
"required": true,
"type": "string"
},
"zone": {
"description": "Required. Deprecated. The name of the Google Compute Engine [zone](https://cloud.google.com/compute/docs/zones#available) in which the cluster resides. This field has been deprecated and replaced by the name field.",
"location": "path",
"required": true,
"type": "string"
}
},
"path": "v1beta1/projects/{projectId}/zones/{zone}/clusters/{clusterId}/master",
"request": {
"$ref": "UpdateMasterRequest"
},
"response": {
"$ref": "Operation"
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform"
]
},
"monitoring": {
"description": "Sets the monitoring service for a specific cluster.",
"flatPath": "v1beta1/projects/{projectId}/zones/{zone}/clusters/{clusterId}/monitoring",
"httpMethod": "POST",
"id": "container.projects.zones.clusters.monitoring",
"parameterOrder": [
"projectId",
"zone",
"clusterId"
],
"parameters": {
"clusterId": {
"description": "Required. Deprecated. The name of the cluster to upgrade. This field has been deprecated and replaced by the name field.",
"location": "path",
"required": true,
"type": "string"
},
"projectId": {
"description": "Required. Deprecated. The Google Developers Console [project ID or project number](https://support.google.com/cloud/answer/6158840). This field has been deprecated and replaced by the name field.",
"location": "path",
"required": true,
"type": "string"
},
"zone": {
"description": "Required. Deprecated. The name of the Google Compute Engine [zone](https://cloud.google.com/compute/docs/zones#available) in which the cluster resides. This field has been deprecated and replaced by the name field.",
"location": "path",
"required": true,
"type": "string"
}
},
"path": "v1beta1/projects/{projectId}/zones/{zone}/clusters/{clusterId}/monitoring",
"request": {
"$ref": "SetMonitoringServiceRequest"
},
"response": {
"$ref": "Operation"
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform"
]
},
"resourceLabels": {
"description": "Sets labels on a cluster.",
"flatPath": "v1beta1/projects/{projectId}/zones/{zone}/clusters/{clusterId}/resourceLabels",
"httpMethod": "POST",
"id": "container.projects.zones.clusters.resourceLabels",
"parameterOrder": [
"projectId",
"zone",
"clusterId"
],
"parameters": {
"clusterId": {
"description": "Required. Deprecated. The name of the cluster. This field has been deprecated and replaced by the name field.",
"location": "path",
"required": true,
"type": "string"
},
"projectId": {
"description": "Required. Deprecated. The Google Developers Console [project ID or project number](https://developers.google.com/console/help/new/#projectnumber). This field has been deprecated and replaced by the name field.",
"location": "path",
"required": true,
"type": "string"
},
"zone": {
"description": "Required. Deprecated. The name of the Google Compute Engine [zone](https://cloud.google.com/compute/docs/zones#available) in which the cluster resides. This field has been deprecated and replaced by the name field.",
"location": "path",
"required": true,
"type": "string"
}
},
"path": "v1beta1/projects/{projectId}/zones/{zone}/clusters/{clusterId}/resourceLabels",
"request": {
"$ref": "SetLabelsRequest"
},
"response": {
"$ref": "Operation"
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform"
]
},
"setMaintenancePolicy": {
"description": "Sets the maintenance policy for a cluster.",
"flatPath": "v1beta1/projects/{projectId}/zones/{zone}/clusters/{clusterId}:setMaintenancePolicy",
"httpMethod": "POST",
"id": "container.projects.zones.clusters.setMaintenancePolicy",
"parameterOrder": [
"projectId",
"zone",
"clusterId"
],
"parameters": {
"clusterId": {
"description": "Required. The name of the cluster to update.",
"location": "path",
"required": true,
"type": "string"
},
"projectId": {
"description": "Required. The Google Developers Console [project ID or project number](https://support.google.com/cloud/answer/6158840).",
"location": "path",
"required": true,
"type": "string"
},
"zone": {
"description": "Required. The name of the Google Compute Engine [zone](https://cloud.google.com/compute/docs/zones#available) in which the cluster resides.",
"location": "path",
"required": true,
"type": "string"
}
},
"path": "v1beta1/projects/{projectId}/zones/{zone}/clusters/{clusterId}:setMaintenancePolicy",
"request": {
"$ref": "SetMaintenancePolicyRequest"
},
"response": {
"$ref": "Operation"
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform"
]
},
"setMasterAuth": {
"description": "Sets master auth materials. Currently supports changing the admin password or a specific cluster, either via password generation or explicitly setting the password.",
"flatPath": "v1beta1/projects/{projectId}/zones/{zone}/clusters/{clusterId}:setMasterAuth",
"httpMethod": "POST",
"id": "container.projects.zones.clusters.setMasterAuth",
"parameterOrder": [
"projectId",
"zone",
"clusterId"
],
"parameters": {
"clusterId": {
"description": "Required. Deprecated. The name of the cluster to upgrade. This field has been deprecated and replaced by the name field.",
"location": "path",
"required": true,
"type": "string"
},
"projectId": {
"description": "Required. Deprecated. The Google Developers Console [project ID or project number](https://support.google.com/cloud/answer/6158840). This field has been deprecated and replaced by the name field.",
"location": "path",
"required": true,
"type": "string"
},
"zone": {
"description": "Required. Deprecated. The name of the Google Compute Engine [zone](https://cloud.google.com/compute/docs/zones#available) in which the cluster resides. This field has been deprecated and replaced by the name field.",
"location": "path",
"required": true,
"type": "string"
}
},
"path": "v1beta1/projects/{projectId}/zones/{zone}/clusters/{clusterId}:setMasterAuth",
"request": {
"$ref": "SetMasterAuthRequest"
},
"response": {
"$ref": "Operation"
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform"
]
},
"setNetworkPolicy": {
"description": "Enables or disables Network Policy for a cluster.",
"flatPath": "v1beta1/projects/{projectId}/zones/{zone}/clusters/{clusterId}:setNetworkPolicy",
"httpMethod": "POST",
"id": "container.projects.zones.clusters.setNetworkPolicy",
"parameterOrder": [
"projectId",
"zone",
"clusterId"
],
"parameters": {
"clusterId": {
"description": "Required. Deprecated. The name of the cluster. This field has been deprecated and replaced by the name field.",
"location": "path",
"required": true,
"type": "string"
},
"projectId": {
"description": "Required. Deprecated. The Google Developers Console [project ID or project number](https://developers.google.com/console/help/new/#projectnumber). This field has been deprecated and replaced by the name field.",
"location": "path",
"required": true,
"type": "string"
},
"zone": {
"description": "Required. Deprecated. The name of the Google Compute Engine [zone](https://cloud.google.com/compute/docs/zones#available) in which the cluster resides. This field has been deprecated and replaced by the name field.",
"location": "path",
"required": true,
"type": "string"
}
},
"path": "v1beta1/projects/{projectId}/zones/{zone}/clusters/{clusterId}:setNetworkPolicy",
"request": {
"$ref": "SetNetworkPolicyRequest"
},
"response": {
"$ref": "Operation"
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform"
]
},
"startIpRotation": {
"description": "Starts master IP rotation.",
"flatPath": "v1beta1/projects/{projectId}/zones/{zone}/clusters/{clusterId}:startIpRotation",
"httpMethod": "POST",
"id": "container.projects.zones.clusters.startIpRotation",
"parameterOrder": [
"projectId",
"zone",
"clusterId"
],
"parameters": {
"clusterId": {
"description": "Required. Deprecated. The name of the cluster. This field has been deprecated and replaced by the name field.",
"location": "path",
"required": true,
"type": "string"
},
"projectId": {
"description": "Required. Deprecated. The Google Developers Console [project ID or project number](https://developers.google.com/console/help/new/#projectnumber). This field has been deprecated and replaced by the name field.",
"location": "path",
"required": true,
"type": "string"
},
"zone": {
"description": "Required. Deprecated. The name of the Google Compute Engine [zone](https://cloud.google.com/compute/docs/zones#available) in which the cluster resides. This field has been deprecated and replaced by the name field.",
"location": "path",
"required": true,
"type": "string"
}
},
"path": "v1beta1/projects/{projectId}/zones/{zone}/clusters/{clusterId}:startIpRotation",
"request": {
"$ref": "StartIPRotationRequest"
},
"response": {
"$ref": "Operation"
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform"
]
},
"update": {
"description": "Updates the settings for a specific cluster.",
"flatPath": "v1beta1/projects/{projectId}/zones/{zone}/clusters/{clusterId}",
"httpMethod": "PUT",
"id": "container.projects.zones.clusters.update",
"parameterOrder": [
"projectId",
"zone",
"clusterId"
],
"parameters": {
"clusterId": {
"description": "Required. Deprecated. The name of the cluster to upgrade. This field has been deprecated and replaced by the name field.",
"location": "path",
"required": true,
"type": "string"
},
"projectId": {
"description": "Required. Deprecated. The Google Developers Console [project ID or project number](https://support.google.com/cloud/answer/6158840). This field has been deprecated and replaced by the name field.",
"location": "path",
"required": true,
"type": "string"
},
"zone": {
"description": "Required. Deprecated. The name of the Google Compute Engine [zone](https://cloud.google.com/compute/docs/zones#available) in which the cluster resides. This field has been deprecated and replaced by the name field.",
"location": "path",
"required": true,
"type": "string"
}
},
"path": "v1beta1/projects/{projectId}/zones/{zone}/clusters/{clusterId}",
"request": {
"$ref": "UpdateClusterRequest"
},
"response": {
"$ref": "Operation"
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform"
]
}
},
"resources": {
"nodePools": {
"methods": {
"autoscaling": {
"description": "Sets the autoscaling settings of a specific node pool.",
"flatPath": "v1beta1/projects/{projectId}/zones/{zone}/clusters/{clusterId}/nodePools/{nodePoolId}/autoscaling",
"httpMethod": "POST",
"id": "container.projects.zones.clusters.nodePools.autoscaling",
"parameterOrder": [
"projectId",
"zone",
"clusterId",
"nodePoolId"
],
"parameters": {
"clusterId": {
"description": "Required. Deprecated. The name of the cluster to upgrade. This field has been deprecated and replaced by the name field.",
"location": "path",
"required": true,
"type": "string"
},
"nodePoolId": {
"description": "Required. Deprecated. The name of the node pool to upgrade. This field has been deprecated and replaced by the name field.",
"location": "path",
"required": true,
"type": "string"
},
"projectId": {
"description": "Required. Deprecated. The Google Developers Console [project ID or project number](https://support.google.com/cloud/answer/6158840). This field has been deprecated and replaced by the name field.",
"location": "path",
"required": true,
"type": "string"
},
"zone": {
"description": "Required. Deprecated. The name of the Google Compute Engine [zone](https://cloud.google.com/compute/docs/zones#available) in which the cluster resides. This field has been deprecated and replaced by the name field.",
"location": "path",
"required": true,
"type": "string"
}
},
"path": "v1beta1/projects/{projectId}/zones/{zone}/clusters/{clusterId}/nodePools/{nodePoolId}/autoscaling",
"request": {
"$ref": "SetNodePoolAutoscalingRequest"
},
"response": {
"$ref": "Operation"
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform"
]
},
"create": {
"description": "Creates a node pool for a cluster.",
"flatPath": "v1beta1/projects/{projectId}/zones/{zone}/clusters/{clusterId}/nodePools",
"httpMethod": "POST",
"id": "container.projects.zones.clusters.nodePools.create",
"parameterOrder": [
"projectId",
"zone",
"clusterId"
],
"parameters": {
"clusterId": {
"description": "Required. Deprecated. The name of the cluster. This field has been deprecated and replaced by the parent field.",
"location": "path",
"required": true,
"type": "string"
},
"projectId": {
"description": "Required. Deprecated. The Google Developers Console [project ID or project number](https://developers.google.com/console/help/new/#projectnumber). This field has been deprecated and replaced by the parent field.",
"location": "path",
"required": true,
"type": "string"
},
"zone": {
"description": "Required. Deprecated. The name of the Google Compute Engine [zone](https://cloud.google.com/compute/docs/zones#available) in which the cluster resides. This field has been deprecated and replaced by the parent field.",
"location": "path",
"required": true,
"type": "string"
}
},
"path": "v1beta1/projects/{projectId}/zones/{zone}/clusters/{clusterId}/nodePools",
"request": {
"$ref": "CreateNodePoolRequest"
},
"response": {
"$ref": "Operation"
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform"
]
},
"delete": {
"description": "Deletes a node pool from a cluster.",
"flatPath": "v1beta1/projects/{projectId}/zones/{zone}/clusters/{clusterId}/nodePools/{nodePoolId}",
"httpMethod": "DELETE",
"id": "container.projects.zones.clusters.nodePools.delete",
"parameterOrder": [
"projectId",
"zone",
"clusterId",
"nodePoolId"
],
"parameters": {
"clusterId": {
"description": "Required. Deprecated. The name of the cluster. This field has been deprecated and replaced by the name field.",
"location": "path",
"required": true,
"type": "string"
},
"name": {
"description": "The name (project, location, cluster, node pool id) of the node pool to delete. Specified in the format `projects/*/locations/*/clusters/*/nodePools/*`.",
"location": "query",
"type": "string"
},
"nodePoolId": {
"description": "Required. Deprecated. The name of the node pool to delete. This field has been deprecated and replaced by the name field.",
"location": "path",
"required": true,
"type": "string"
},
"projectId": {
"description": "Required. Deprecated. The Google Developers Console [project ID or project number](https://developers.google.com/console/help/new/#projectnumber). This field has been deprecated and replaced by the name field.",
"location": "path",
"required": true,
"type": "string"
},
"zone": {
"description": "Required. Deprecated. The name of the Google Compute Engine [zone](https://cloud.google.com/compute/docs/zones#available) in which the cluster resides. This field has been deprecated and replaced by the name field.",
"location": "path",
"required": true,
"type": "string"
}
},
"path": "v1beta1/projects/{projectId}/zones/{zone}/clusters/{clusterId}/nodePools/{nodePoolId}",
"response": {
"$ref": "Operation"
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform"
]
},
"get": {
"description": "Retrieves the requested node pool.",
"flatPath": "v1beta1/projects/{projectId}/zones/{zone}/clusters/{clusterId}/nodePools/{nodePoolId}",
"httpMethod": "GET",
"id": "container.projects.zones.clusters.nodePools.get",
"parameterOrder": [
"projectId",
"zone",
"clusterId",
"nodePoolId"
],
"parameters": {
"clusterId": {
"description": "Required. Deprecated. The name of the cluster. This field has been deprecated and replaced by the name field.",
"location": "path",
"required": true,
"type": "string"
},
"name": {
"description": "The name (project, location, cluster, node pool id) of the node pool to get. Specified in the format `projects/*/locations/*/clusters/*/nodePools/*`.",
"location": "query",
"type": "string"
},
"nodePoolId": {
"description": "Required. Deprecated. The name of the node pool. This field has been deprecated and replaced by the name field.",
"location": "path",
"required": true,
"type": "string"
},
"projectId": {
"description": "Required. Deprecated. The Google Developers Console [project ID or project number](https://developers.google.com/console/help/new/#projectnumber). This field has been deprecated and replaced by the name field.",
"location": "path",
"required": true,
"type": "string"
},
"zone": {
"description": "Required. Deprecated. The name of the Google Compute Engine [zone](https://cloud.google.com/compute/docs/zones#available) in which the cluster resides. This field has been deprecated and replaced by the name field.",
"location": "path",
"required": true,
"type": "string"
}
},
"path": "v1beta1/projects/{projectId}/zones/{zone}/clusters/{clusterId}/nodePools/{nodePoolId}",
"response": {
"$ref": "NodePool"
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform"
]
},
"list": {
"description": "Lists the node pools for a cluster.",
"flatPath": "v1beta1/projects/{projectId}/zones/{zone}/clusters/{clusterId}/nodePools",
"httpMethod": "GET",
"id": "container.projects.zones.clusters.nodePools.list",
"parameterOrder": [
"projectId",
"zone",
"clusterId"
],
"parameters": {
"clusterId": {
"description": "Required. Deprecated. The name of the cluster. This field has been deprecated and replaced by the parent field.",
"location": "path",
"required": true,
"type": "string"
},
"parent": {
"description": "The parent (project, location, cluster id) where the node pools will be listed. Specified in the format `projects/*/locations/*/clusters/*`.",
"location": "query",
"type": "string"
},
"projectId": {
"description": "Required. Deprecated. The Google Developers Console [project ID or project number](https://developers.google.com/console/help/new/#projectnumber). This field has been deprecated and replaced by the parent field.",
"location": "path",
"required": true,
"type": "string"
},
"zone": {
"description": "Required. Deprecated. The name of the Google Compute Engine [zone](https://cloud.google.com/compute/docs/zones#available) in which the cluster resides. This field has been deprecated and replaced by the parent field.",
"location": "path",
"required": true,
"type": "string"
}
},
"path": "v1beta1/projects/{projectId}/zones/{zone}/clusters/{clusterId}/nodePools",
"response": {
"$ref": "ListNodePoolsResponse"
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform"
]
},
"rollback": {
"description": "Rolls back a previously Aborted or Failed NodePool upgrade. This makes no changes if the last upgrade successfully completed.",
"flatPath": "v1beta1/projects/{projectId}/zones/{zone}/clusters/{clusterId}/nodePools/{nodePoolId}:rollback",
"httpMethod": "POST",
"id": "container.projects.zones.clusters.nodePools.rollback",
"parameterOrder": [
"projectId",
"zone",
"clusterId",
"nodePoolId"
],
"parameters": {
"clusterId": {
"description": "Required. Deprecated. The name of the cluster to rollback. This field has been deprecated and replaced by the name field.",
"location": "path",
"required": true,
"type": "string"
},
"nodePoolId": {
"description": "Required. Deprecated. The name of the node pool to rollback. This field has been deprecated and replaced by the name field.",
"location": "path",
"required": true,
"type": "string"
},
"projectId": {
"description": "Required. Deprecated. The Google Developers Console [project ID or project number](https://support.google.com/cloud/answer/6158840). This field has been deprecated and replaced by the name field.",
"location": "path",
"required": true,
"type": "string"
},
"zone": {
"description": "Required. Deprecated. The name of the Google Compute Engine [zone](https://cloud.google.com/compute/docs/zones#available) in which the cluster resides. This field has been deprecated and replaced by the name field.",
"location": "path",
"required": true,
"type": "string"
}
},
"path": "v1beta1/projects/{projectId}/zones/{zone}/clusters/{clusterId}/nodePools/{nodePoolId}:rollback",
"request": {
"$ref": "RollbackNodePoolUpgradeRequest"
},
"response": {
"$ref": "Operation"
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform"
]
},
"setManagement": {
"description": "Sets the NodeManagement options for a node pool.",
"flatPath": "v1beta1/projects/{projectId}/zones/{zone}/clusters/{clusterId}/nodePools/{nodePoolId}/setManagement",
"httpMethod": "POST",
"id": "container.projects.zones.clusters.nodePools.setManagement",
"parameterOrder": [
"projectId",
"zone",
"clusterId",
"nodePoolId"
],
"parameters": {
"clusterId": {
"description": "Required. Deprecated. The name of the cluster to update. This field has been deprecated and replaced by the name field.",
"location": "path",
"required": true,
"type": "string"
},
"nodePoolId": {
"description": "Required. Deprecated. The name of the node pool to update. This field has been deprecated and replaced by the name field.",
"location": "path",
"required": true,
"type": "string"
},
"projectId": {
"description": "Required. Deprecated. The Google Developers Console [project ID or project number](https://support.google.com/cloud/answer/6158840). This field has been deprecated and replaced by the name field.",
"location": "path",
"required": true,
"type": "string"
},
"zone": {
"description": "Required. Deprecated. The name of the Google Compute Engine [zone](https://cloud.google.com/compute/docs/zones#available) in which the cluster resides. This field has been deprecated and replaced by the name field.",
"location": "path",
"required": true,
"type": "string"
}
},
"path": "v1beta1/projects/{projectId}/zones/{zone}/clusters/{clusterId}/nodePools/{nodePoolId}/setManagement",
"request": {
"$ref": "SetNodePoolManagementRequest"
},
"response": {
"$ref": "Operation"
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform"
]
},
"setSize": {
"description": "Sets the size for a specific node pool.",
"flatPath": "v1beta1/projects/{projectId}/zones/{zone}/clusters/{clusterId}/nodePools/{nodePoolId}/setSize",
"httpMethod": "POST",
"id": "container.projects.zones.clusters.nodePools.setSize",
"parameterOrder": [
"projectId",
"zone",
"clusterId",
"nodePoolId"
],
"parameters": {
"clusterId": {
"description": "Required. Deprecated. The name of the cluster to update. This field has been deprecated and replaced by the name field.",
"location": "path",
"required": true,
"type": "string"
},
"nodePoolId": {
"description": "Required. Deprecated. The name of the node pool to update. This field has been deprecated and replaced by the name field.",
"location": "path",
"required": true,
"type": "string"
},
"projectId": {
"description": "Required. Deprecated. The Google Developers Console [project ID or project number](https://support.google.com/cloud/answer/6158840). This field has been deprecated and replaced by the name field.",
"location": "path",
"required": true,
"type": "string"
},
"zone": {
"description": "Required. Deprecated. The name of the Google Compute Engine [zone](https://cloud.google.com/compute/docs/zones#available) in which the cluster resides. This field has been deprecated and replaced by the name field.",
"location": "path",
"required": true,
"type": "string"
}
},
"path": "v1beta1/projects/{projectId}/zones/{zone}/clusters/{clusterId}/nodePools/{nodePoolId}/setSize",
"request": {
"$ref": "SetNodePoolSizeRequest"
},
"response": {
"$ref": "Operation"
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform"
]
},
"update": {
"description": "Updates the version and/or image type of a specific node pool.",
"flatPath": "v1beta1/projects/{projectId}/zones/{zone}/clusters/{clusterId}/nodePools/{nodePoolId}/update",
"httpMethod": "POST",
"id": "container.projects.zones.clusters.nodePools.update",
"parameterOrder": [
"projectId",
"zone",
"clusterId",
"nodePoolId"
],
"parameters": {
"clusterId": {
"description": "Required. Deprecated. The name of the cluster to upgrade. This field has been deprecated and replaced by the name field.",
"location": "path",
"required": true,
"type": "string"
},
"nodePoolId": {
"description": "Required. Deprecated. The name of the node pool to upgrade. This field has been deprecated and replaced by the name field.",
"location": "path",
"required": true,
"type": "string"
},
"projectId": {
"description": "Required. Deprecated. The Google Developers Console [project ID or project number](https://support.google.com/cloud/answer/6158840). This field has been deprecated and replaced by the name field.",
"location": "path",
"required": true,
"type": "string"
},
"zone": {
"description": "Required. Deprecated. The name of the Google Compute Engine [zone](https://cloud.google.com/compute/docs/zones#available) in which the cluster resides. This field has been deprecated and replaced by the name field.",
"location": "path",
"required": true,
"type": "string"
}
},
"path": "v1beta1/projects/{projectId}/zones/{zone}/clusters/{clusterId}/nodePools/{nodePoolId}/update",
"request": {
"$ref": "UpdateNodePoolRequest"
},
"response": {
"$ref": "Operation"
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform"
]
}
}
}
}
},
"operations": {
"methods": {
"cancel": {
"description": "Cancels the specified operation.",
"flatPath": "v1beta1/projects/{projectId}/zones/{zone}/operations/{operationId}:cancel",
"httpMethod": "POST",
"id": "container.projects.zones.operations.cancel",
"parameterOrder": [
"projectId",
"zone",
"operationId"
],
"parameters": {
"operationId": {
"description": "Required. Deprecated. The server-assigned `name` of the operation. This field has been deprecated and replaced by the name field.",
"location": "path",
"required": true,
"type": "string"
},
"projectId": {
"description": "Required. Deprecated. The Google Developers Console [project ID or project number](https://support.google.com/cloud/answer/6158840). This field has been deprecated and replaced by the name field.",
"location": "path",
"required": true,
"type": "string"
},
"zone": {
"description": "Required. Deprecated. The name of the Google Compute Engine [zone](https://cloud.google.com/compute/docs/zones#available) in which the operation resides. This field has been deprecated and replaced by the name field.",
"location": "path",
"required": true,
"type": "string"
}
},
"path": "v1beta1/projects/{projectId}/zones/{zone}/operations/{operationId}:cancel",
"request": {
"$ref": "CancelOperationRequest"
},
"response": {
"$ref": "Empty"
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform"
]
},
"get": {
"description": "Gets the specified operation.",
"flatPath": "v1beta1/projects/{projectId}/zones/{zone}/operations/{operationId}",
"httpMethod": "GET",
"id": "container.projects.zones.operations.get",
"parameterOrder": [
"projectId",
"zone",
"operationId"
],
"parameters": {
"name": {
"description": "The name (project, location, operation id) of the operation to get. Specified in the format `projects/*/locations/*/operations/*`.",
"location": "query",
"type": "string"
},
"operationId": {
"description": "Required. Deprecated. The server-assigned `name` of the operation. This field has been deprecated and replaced by the name field.",
"location": "path",
"required": true,
"type": "string"
},
"projectId": {
"description": "Required. Deprecated. The Google Developers Console [project ID or project number](https://support.google.com/cloud/answer/6158840). This field has been deprecated and replaced by the name field.",
"location": "path",
"required": true,
"type": "string"
},
"zone": {
"description": "Required. Deprecated. The name of the Google Compute Engine [zone](https://cloud.google.com/compute/docs/zones#available) in which the cluster resides. This field has been deprecated and replaced by the name field.",
"location": "path",
"required": true,
"type": "string"
}
},
"path": "v1beta1/projects/{projectId}/zones/{zone}/operations/{operationId}",
"response": {
"$ref": "Operation"
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform"
]
},
"list": {
"description": "Lists all operations in a project in the specified zone or all zones.",
"flatPath": "v1beta1/projects/{projectId}/zones/{zone}/operations",
"httpMethod": "GET",
"id": "container.projects.zones.operations.list",
"parameterOrder": [
"projectId",
"zone"
],
"parameters": {
"parent": {
"description": "The parent (project and location) where the operations will be listed. Specified in the format `projects/*/locations/*`. Location \"-\" matches all zones and all regions.",
"location": "query",
"type": "string"
},
"projectId": {
"description": "Required. Deprecated. The Google Developers Console [project ID or project number](https://support.google.com/cloud/answer/6158840). This field has been deprecated and replaced by the parent field.",
"location": "path",
"required": true,
"type": "string"
},
"zone": {
"description": "Required. Deprecated. The name of the Google Compute Engine [zone](https://cloud.google.com/compute/docs/zones#available) to return operations for, or `-` for all zones. This field has been deprecated and replaced by the parent field.",
"location": "path",
"required": true,
"type": "string"
}
},
"path": "v1beta1/projects/{projectId}/zones/{zone}/operations",
"response": {
"$ref": "ListOperationsResponse"
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform"
]
}
}
}
}
}
}
}
},
"revision": "20200805",
"rootUrl": "https://container.googleapis.com/",
"schemas": {
"AcceleratorConfig": {
"description": "AcceleratorConfig represents a Hardware Accelerator request.",
"id": "AcceleratorConfig",
"properties": {
"acceleratorCount": {
"description": "The number of the accelerator cards exposed to an instance.",
"format": "int64",
"type": "string"
},
"acceleratorType": {
"description": "The accelerator type resource name. List of supported accelerators [here](https://cloud.google.com/compute/docs/gpus)",
"type": "string"
}
},
"type": "object"
},
"AddonsConfig": {
"description": "Configuration for the addons that can be automatically spun up in the cluster, enabling additional functionality.",
"id": "AddonsConfig",
"properties": {
"cloudRunConfig": {
"$ref": "CloudRunConfig",
"description": "Configuration for the Cloud Run addon. The `IstioConfig` addon must be enabled in order to enable Cloud Run addon. This option can only be enabled at cluster creation time."
},
"configConnectorConfig": {
"$ref": "ConfigConnectorConfig",
"description": "Configuration for the ConfigConnector add-on, a Kubernetes extension to manage hosted GCP services through the Kubernetes API"
},
"dnsCacheConfig": {
"$ref": "DnsCacheConfig",
"description": "Configuration for NodeLocalDNS, a dns cache running on cluster nodes"
},
"gcePersistentDiskCsiDriverConfig": {
"$ref": "GcePersistentDiskCsiDriverConfig",
"description": "Configuration for the Compute Engine Persistent Disk CSI driver."
},
"horizontalPodAutoscaling": {
"$ref": "HorizontalPodAutoscaling",
"description": "Configuration for the horizontal pod autoscaling feature, which increases or decreases the number of replica pods a replication controller has based on the resource usage of the existing pods."
},
"httpLoadBalancing": {
"$ref": "HttpLoadBalancing",
"description": "Configuration for the HTTP (L7) load balancing controller addon, which makes it easy to set up HTTP load balancers for services in a cluster."
},
"istioConfig": {
"$ref": "IstioConfig",
"description": "Configuration for Istio, an open platform to connect, manage, and secure microservices."
},
"kalmConfig": {
"$ref": "KalmConfig",
"description": "Configuration for the KALM addon, which manages the lifecycle of k8s applications."
},
"kubernetesDashboard": {
"$ref": "KubernetesDashboard",
"description": "Configuration for the Kubernetes Dashboard. This addon is deprecated, and will be disabled in 1.15. It is recommended to use the Cloud Console to manage and monitor your Kubernetes clusters, workloads and applications. For more information, see: https://cloud.google.com/kubernetes-engine/docs/concepts/dashboards"
},
"networkPolicyConfig": {
"$ref": "NetworkPolicyConfig",
"description": "Configuration for NetworkPolicy. This only tracks whether the addon is enabled or not on the Master, it does not track whether network policy is enabled for the nodes."
}
},
"type": "object"
},
"AuthenticatorGroupsConfig": {
"description": "Configuration for returning group information from authenticators.",
"id": "AuthenticatorGroupsConfig",
"properties": {
"enabled": {
"description": "Whether this cluster should return group membership lookups during authentication using a group of security groups.",
"type": "boolean"
},
"securityGroup": {
"description": "The name of the security group-of-groups to be used. Only relevant if enabled = true.",
"type": "string"
}
},
"type": "object"
},
"AutoUpgradeOptions": {
"description": "AutoUpgradeOptions defines the set of options for the user to control how the Auto Upgrades will proceed.",
"id": "AutoUpgradeOptions",
"properties": {
"autoUpgradeStartTime": {
"description": "[Output only] This field is set when upgrades are about to commence with the approximate start time for the upgrades, in [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.",
"type": "string"
},
"description": {
"description": "[Output only] This field is set when upgrades are about to commence with the description of the upgrade.",
"type": "string"
}
},
"type": "object"
},
"AutoprovisioningNodePoolDefaults": {
"description": "AutoprovisioningNodePoolDefaults contains defaults for a node pool created by NAP.",
"id": "AutoprovisioningNodePoolDefaults",
"properties": {
"management": {
"$ref": "NodeManagement",
"description": "NodeManagement configuration for this NodePool."
},
"minCpuPlatform": {
"description": "Minimum CPU platform to be used by this instance. The instance may be scheduled on the specified or newer CPU platform. Applicable values are the friendly names of CPU platforms, such as `minCpuPlatform: \"Intel Haswell\"` or `minCpuPlatform: \"Intel Sandy Bridge\"`. For more information, read [how to specify min CPU platform](https://cloud.google.com/compute/docs/instances/specify-min-cpu-platform) To unset the min cpu platform field pass \"automatic\" as field value.",
"type": "string"
},
"oauthScopes": {
"description": "The set of Google API scopes to be made available on all of the node VMs under the \"default\" service account. The following scopes are recommended, but not required, and by default are not included: * `https://www.googleapis.com/auth/compute` is required for mounting persistent storage on your nodes. * `https://www.googleapis.com/auth/devstorage.read_only` is required for communicating with **gcr.io** (the [Google Container Registry](https://cloud.google.com/container-registry/)). If unspecified, no scopes are added, unless Cloud Logging or Cloud Monitoring are enabled, in which case their required scopes will be added.",
"items": {
"type": "string"
},
"type": "array"
},
"serviceAccount": {
"description": "The Google Cloud Platform Service Account to be used by the node VMs. Specify the email address of the Service Account; otherwise, if no Service Account is specified, the \"default\" service account is used.",
"type": "string"