blob: d60836706e7635aa1c849604650d295d7a04c05d [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:v1",
"kind": "discovery#restDescription",
"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 are usable for creating clusters in a project.",
"flatPath": "v1/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\nbe in the form: \"networkProjectId=[PROJECTID]\", where `networkProjectId`\nis the project which owns the listed subnetworks. This defaults to the\nparent project ID.",
"location": "query",
"type": "string"
},
"pageSize": {
"description": "The max number of results per page that should be returned. If the number\nof available results is larger than `page_size`, a `next_page_token` is\nreturned which can be used to get the next page of results in subsequent\nrequests. 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\nprevious list requests to get the next page of results.",
"location": "query",
"type": "string"
},
"parent": {
"description": "The parent project where subnetworks are usable.\nSpecified in the format 'projects/*'.",
"location": "path",
"pattern": "^projects/[^/]+$",
"required": true,
"type": "string"
}
},
"path": "v1/{+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": "v1/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,\nspecified 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\nnumber](https://support.google.com/cloud/answer/6158840).\nThis 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\n[zone](/compute/docs/zones#available) to return operations for.\nThis field has been deprecated and replaced by the name field.",
"location": "query",
"type": "string"
}
},
"path": "v1/{+name}/serverConfig",
"response": {
"$ref": "ServerConfig"
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform"
]
}
},
"resources": {
"clusters": {
"methods": {
"completeIpRotation": {
"description": "Completes master IP rotation.",
"flatPath": "v1/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\nrotation. Specified in the format 'projects/*/locations/*/clusters/*'.",
"location": "path",
"pattern": "^projects/[^/]+/locations/[^/]+/clusters/[^/]+$",
"required": true,
"type": "string"
}
},
"path": "v1/{+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\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 Kubelet 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 the cluster is using.",
"flatPath": "v1/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.\nSpecified in the format 'projects/*/locations/*'.",
"location": "path",
"pattern": "^projects/[^/]+/locations/[^/]+$",
"required": true,
"type": "string"
}
},
"path": "v1/{+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\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,\nsuch as load balancer resources, are not deleted if they weren't present\nwhen the cluster was initially created.",
"flatPath": "v1/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.\nThis 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.\nSpecified 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\nnumber](https://support.google.com/cloud/answer/6158840).\nThis 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\n[zone](/compute/docs/zones#available) in which the cluster\nresides.\nThis field has been deprecated and replaced by the name field.",
"location": "query",
"type": "string"
}
},
"path": "v1/{+name}",
"response": {
"$ref": "Operation"
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform"
]
},
"get": {
"description": "Gets the details of a specific cluster.",
"flatPath": "v1/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.\nThis 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.\nSpecified 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\nnumber](https://support.google.com/cloud/answer/6158840).\nThis 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\n[zone](/compute/docs/zones#available) in which the cluster\nresides.\nThis field has been deprecated and replaced by the name field.",
"location": "query",
"type": "string"
}
},
"path": "v1/{+name}",
"response": {
"$ref": "Cluster"
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform"
]
},
"getJwks": {
"description": "Gets the public component of the cluster signing keys in\nJSON Web Key format.\nThis API is not yet intended for general use, and is not available for all\nclusters.",
"flatPath": "v1/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\nthe format 'projects/*/locations/*/clusters/*'.",
"location": "path",
"pattern": "^projects/[^/]+/locations/[^/]+/clusters/[^/]+$",
"required": true,
"type": "string"
}
},
"path": "v1/{+parent}/jwks",
"response": {
"$ref": "GetJSONWebKeysResponse"
}
},
"list": {
"description": "Lists all clusters owned by a project in either the specified zone or all\nzones.",
"flatPath": "v1/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.\nSpecified in the format 'projects/*/locations/*'.\nLocation \"-\" 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\nnumber](https://support.google.com/cloud/answer/6158840).\nThis 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\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.",
"location": "query",
"type": "string"
}
},
"path": "v1/{+parent}/clusters",
"response": {
"$ref": "ListClustersResponse"
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform"
]
},
"setAddons": {
"description": "Sets the addons for a specific cluster.",
"flatPath": "v1/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.\nSpecified in the format 'projects/*/locations/*/clusters/*'.",
"location": "path",
"pattern": "^projects/[^/]+/locations/[^/]+/clusters/[^/]+$",
"required": true,
"type": "string"
}
},
"path": "v1/{+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": "v1/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.\nSpecified in the format 'projects/*/locations/*/clusters/*'.",
"location": "path",
"pattern": "^projects/[^/]+/locations/[^/]+/clusters/[^/]+$",
"required": true,
"type": "string"
}
},
"path": "v1/{+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.",
"flatPath": "v1/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.\nSpecified in the format 'projects/*/locations/*/clusters/*'.",
"location": "path",
"pattern": "^projects/[^/]+/locations/[^/]+/clusters/[^/]+$",
"required": true,
"type": "string"
}
},
"path": "v1/{+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": "v1/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.\nSpecified in the format 'projects/*/locations/*/clusters/*'.",
"location": "path",
"pattern": "^projects/[^/]+/locations/[^/]+/clusters/[^/]+$",
"required": true,
"type": "string"
}
},
"path": "v1/{+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": "v1/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\npolicy.\nSpecified in the format 'projects/*/locations/*/clusters/*'.",
"location": "path",
"pattern": "^projects/[^/]+/locations/[^/]+/clusters/[^/]+$",
"required": true,
"type": "string"
}
},
"path": "v1/{+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\nor a specific cluster, either via password generation or explicitly setting\nthe password.",
"flatPath": "v1/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.\nSpecified in the format 'projects/*/locations/*/clusters/*'.",
"location": "path",
"pattern": "^projects/[^/]+/locations/[^/]+/clusters/[^/]+$",
"required": true,
"type": "string"
}
},
"path": "v1/{+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": "v1/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.\nSpecified in the format 'projects/*/locations/*/clusters/*'.",
"location": "path",
"pattern": "^projects/[^/]+/locations/[^/]+/clusters/[^/]+$",
"required": true,
"type": "string"
}
},
"path": "v1/{+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": "v1/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\npolicy. Specified in the format 'projects/*/locations/*/clusters/*'.",
"location": "path",
"pattern": "^projects/[^/]+/locations/[^/]+/clusters/[^/]+$",
"required": true,
"type": "string"
}
},
"path": "v1/{+name}:setNetworkPolicy",
"request": {
"$ref": "SetNetworkPolicyRequest"
},
"response": {
"$ref": "Operation"
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform"
]
},
"setResourceLabels": {
"description": "Sets labels on a cluster.",
"flatPath": "v1/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.\nSpecified in the format 'projects/*/locations/*/clusters/*'.",
"location": "path",
"pattern": "^projects/[^/]+/locations/[^/]+/clusters/[^/]+$",
"required": true,
"type": "string"
}
},
"path": "v1/{+name}:setResourceLabels",
"request": {
"$ref": "SetLabelsRequest"
},
"response": {
"$ref": "Operation"
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform"
]
},
"startIpRotation": {
"description": "Starts master IP rotation.",
"flatPath": "v1/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\nrotation. Specified in the format 'projects/*/locations/*/clusters/*'.",
"location": "path",
"pattern": "^projects/[^/]+/locations/[^/]+/clusters/[^/]+$",
"required": true,
"type": "string"
}
},
"path": "v1/{+name}:startIpRotation",
"request": {
"$ref": "StartIPRotationRequest"
},
"response": {
"$ref": "Operation"
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform"
]
},
"update": {
"description": "Updates the settings of a specific cluster.",
"flatPath": "v1/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.\nSpecified in the format 'projects/*/locations/*/clusters/*'.",
"location": "path",
"pattern": "^projects/[^/]+/locations/[^/]+/clusters/[^/]+$",
"required": true,
"type": "string"
}
},
"path": "v1/{+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": "v1/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.\nSpecified in the format 'projects/*/locations/*/clusters/*'.",
"location": "path",
"pattern": "^projects/[^/]+/locations/[^/]+/clusters/[^/]+$",
"required": true,
"type": "string"
}
},
"path": "v1/{+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": "v1/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\ncreated. Specified in the format\n'projects/*/locations/*/clusters/*'.",
"location": "path",
"pattern": "^projects/[^/]+/locations/[^/]+/clusters/[^/]+$",
"required": true,
"type": "string"
}
},
"path": "v1/{+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": "v1/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.\nThis 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\ndelete. Specified in the format\n'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.\nThis 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\nnumber](https://developers.google.com/console/help/new/#projectnumber).\nThis 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\n[zone](/compute/docs/zones#available) in which the cluster\nresides.\nThis field has been deprecated and replaced by the name field.",
"location": "query",
"type": "string"
}
},
"path": "v1/{+name}",
"response": {
"$ref": "Operation"
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform"
]
},
"get": {
"description": "Retrieves the requested node pool.",
"flatPath": "v1/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.\nThis 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\nget. Specified in the format\n'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.\nThis 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\nnumber](https://developers.google.com/console/help/new/#projectnumber).\nThis 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\n[zone](/compute/docs/zones#available) in which the cluster\nresides.\nThis field has been deprecated and replaced by the name field.",
"location": "query",
"type": "string"
}
},
"path": "v1/{+name}",
"response": {
"$ref": "NodePool"
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform"
]
},
"list": {
"description": "Lists the node pools for a cluster.",
"flatPath": "v1/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.\nThis 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\nlisted. 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\nnumber](https://developers.google.com/console/help/new/#projectnumber).\nThis 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\n[zone](/compute/docs/zones#available) in which the cluster\nresides.\nThis field has been deprecated and replaced by the parent field.",
"location": "query",
"type": "string"
}
},
"path": "v1/{+parent}/nodePools",
"response": {
"$ref": "ListNodePoolsResponse"
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform"
]
},
"rollback": {
"description": "Rolls back a previously Aborted or Failed NodePool upgrade.\nThis makes no changes if the last upgrade successfully completed.",
"flatPath": "v1/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\nrollback upgrade.\nSpecified in the format 'projects/*/locations/*/clusters/*/nodePools/*'.",
"location": "path",
"pattern": "^projects/[^/]+/locations/[^/]+/clusters/[^/]+/nodePools/[^/]+$",
"required": true,
"type": "string"
}
},
"path": "v1/{+name}:rollback",
"request": {
"$ref": "RollbackNodePoolUpgradeRequest"
},
"response": {
"$ref": "Operation"
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform"
]
},
"setAutoscaling": {
"description": "Sets the autoscaling settings for the specified node pool.",
"flatPath": "v1/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\nautoscaler settings. Specified in the format\n'projects/*/locations/*/clusters/*/nodePools/*'.",
"location": "path",
"pattern": "^projects/[^/]+/locations/[^/]+/clusters/[^/]+/nodePools/[^/]+$",
"required": true,
"type": "string"
}
},
"path": "v1/{+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": "v1/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\nmanagement properties. Specified in the format\n'projects/*/locations/*/clusters/*/nodePools/*'.",
"location": "path",
"pattern": "^projects/[^/]+/locations/[^/]+/clusters/[^/]+/nodePools/[^/]+$",
"required": true,
"type": "string"
}
},
"path": "v1/{+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": "v1/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\nsize.\nSpecified in the format 'projects/*/locations/*/clusters/*/nodePools/*'.",
"location": "path",
"pattern": "^projects/[^/]+/locations/[^/]+/clusters/[^/]+/nodePools/[^/]+$",
"required": true,
"type": "string"
}
},
"path": "v1/{+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 for the specified node pool.",
"flatPath": "v1/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\nupdate. Specified in the format\n'projects/*/locations/*/clusters/*/nodePools/*'.",
"location": "path",
"pattern": "^projects/[^/]+/locations/[^/]+/clusters/[^/]+/nodePools/[^/]+$",
"required": true,
"type": "string"
}
},
"path": "v1/{+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.\nSee the\n[OpenID Connect Discovery 1.0\nspecification](https://openid.net/specs/openid-connect-discovery-1_0.html)\nfor details.\nThis API is not yet intended for general use, and is not available for all\nclusters.",
"flatPath": "v1/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\nfor. Specified in the format 'projects/*/locations/*/clusters/*'.",
"location": "path",
"pattern": "^projects/[^/]+/locations/[^/]+/clusters/[^/]+$",
"required": true,
"type": "string"
}
},
"path": "v1/{+parent}/.well-known/openid-configuration",
"response": {
"$ref": "GetOpenIDConfigResponse"
}
}
}
}
}
},
"operations": {
"methods": {
"cancel": {
"description": "Cancels the specified operation.",
"flatPath": "v1/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.\nSpecified in the format 'projects/*/locations/*/operations/*'.",
"location": "path",
"pattern": "^projects/[^/]+/locations/[^/]+/operations/[^/]+$",
"required": true,
"type": "string"
}
},
"path": "v1/{+name}:cancel",
"request": {
"$ref": "CancelOperationRequest"
},
"response": {
"$ref": "Empty"
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform"
]
},
"get": {
"description": "Gets the specified operation.",
"flatPath": "v1/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.\nSpecified 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.\nThis 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\nnumber](https://support.google.com/cloud/answer/6158840).\nThis 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\n[zone](/compute/docs/zones#available) in which the cluster\nresides.\nThis field has been deprecated and replaced by the name field.",
"location": "query",
"type": "string"
}
},
"path": "v1/{+name}",
"response": {
"$ref": "Operation"
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform"
]
},
"list": {
"description": "Lists all operations in a project in a specific zone or all zones.",
"flatPath": "v1/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.\nSpecified in the format 'projects/*/locations/*'.\nLocation \"-\" 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\nnumber](https://support.google.com/cloud/answer/6158840).\nThis 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\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.",
"location": "query",
"type": "string"
}
},
"path": "v1/{+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": "v1/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,\nspecified in the format 'projects/*/locations/*'.",
"location": "query",
"type": "string"
},
"projectId": {
"description": "Required. 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.",
"location": "path",
"required": true,
"type": "string"
},
"zone": {
"description": "Required. Deprecated. The name of the Google Compute Engine\n[zone](/compute/docs/zones#available) to return operations for.\nThis field has been deprecated and replaced by the name field.",
"location": "path",
"required": true,
"type": "string"
}
},
"path": "v1/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": "v1/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.\nThis 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\nnumber](https://support.google.com/cloud/answer/6158840).\nThis 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\n[zone](/compute/docs/zones#available) in which the cluster\nresides.\nThis field has been deprecated and replaced by the name field.",
"location": "path",
"required": true,
"type": "string"
}
},
"path": "v1/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": "v1/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.\nThis 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\nnumber](https://developers.google.com/console/help/new/#projectnumber).\nThis 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\n[zone](/compute/docs/zones#available) in which the cluster\nresides.\nThis field has been deprecated and replaced by the name field.",
"location": "path",
"required": true,
"type": "string"
}
},
"path": "v1/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\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 Kubelet 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 the cluster is using.",
"flatPath": "v1/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\nnumber](https://support.google.com/cloud/answer/6158840).\nThis 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\n[zone](/compute/docs/zones#available) in which the cluster\nresides.\nThis field has been deprecated and replaced by the parent field.",
"location": "path",
"required": true,
"type": "string"
}
},
"path": "v1/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\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,\nsuch as load balancer resources, are not deleted if they weren't present\nwhen the cluster was initially created.",
"flatPath": "v1/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.\nThis 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.\nSpecified in the format 'projects/*/locations/*/clusters/*'.",
"location": "query",
"type": "string"
},
"projectId": {
"description": "Required. 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.",
"location": "path",
"required": true,
"type": "string"
},
"zone": {
"description": "Required. 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.",
"location": "path",
"required": true,
"type": "string"
}
},
"path": "v1/projects/{projectId}/zones/{zone}/clusters/{clusterId}",
"response": {
"$ref": "Operation"
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform"
]
},
"get": {
"description": "Gets the details of a specific cluster.",
"flatPath": "v1/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.\nThis 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.\nSpecified in the format 'projects/*/locations/*/clusters/*'.",
"location": "query",
"type": "string"
},
"projectId": {
"description": "Required. 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.",
"location": "path",
"required": true,
"type": "string"
},
"zone": {
"description": "Required. 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.",
"location": "path",
"required": true,
"type": "string"
}
},
"path": "v1/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": "v1/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.\nThis 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\nnumber](https://support.google.com/cloud/answer/6158840).\nThis 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\n[zone](/compute/docs/zones#available) in which the cluster\nresides.\nThis field has been deprecated and replaced by the name field.",
"location": "path",
"required": true,
"type": "string"
}
},
"path": "v1/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\nzones.",
"flatPath": "v1/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.\nSpecified in the format 'projects/*/locations/*'.\nLocation \"-\" matches all zones and all regions.",
"location": "query",
"type": "string"
},
"projectId": {
"description": "Required. 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.",
"location": "path",
"required": true,
"type": "string"
},
"zone": {
"description": "Required. 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.",
"location": "path",
"required": true,
"type": "string"
}
},
"path": "v1/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.",
"flatPath": "v1/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.\nThis 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\nnumber](https://support.google.com/cloud/answer/6158840).\nThis 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\n[zone](/compute/docs/zones#available) in which the cluster\nresides.\nThis field has been deprecated and replaced by the name field.",
"location": "path",
"required": true,
"type": "string"
}
},
"path": "v1/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": "v1/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.\nThis 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\nnumber](https://support.google.com/cloud/answer/6158840).\nThis 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\n[zone](/compute/docs/zones#available) in which the cluster\nresides.\nThis field has been deprecated and replaced by the name field.",
"location": "path",
"required": true,
"type": "string"
}
},
"path": "v1/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": "v1/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.\nThis 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\nnumber](https://support.google.com/cloud/answer/6158840).\nThis 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\n[zone](/compute/docs/zones#available) in which the cluster\nresides.\nThis field has been deprecated and replaced by the name field.",
"location": "path",
"required": true,
"type": "string"
}
},
"path": "v1/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": "v1/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.\nThis 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\nnumber](https://support.google.com/cloud/answer/6158840).\nThis 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\n[zone](/compute/docs/zones#available) in which the cluster\nresides.\nThis field has been deprecated and replaced by the name field.",
"location": "path",
"required": true,
"type": "string"
}
},
"path": "v1/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": "v1/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.\nThis 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\nnumber](https://developers.google.com/console/help/new/#projectnumber).\nThis 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\n[zone](/compute/docs/zones#available) in which the cluster\nresides.\nThis field has been deprecated and replaced by the name field.",
"location": "path",
"required": true,
"type": "string"
}
},
"path": "v1/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": "v1/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\nnumber](https://support.google.com/cloud/answer/6158840).",
"location": "path",
"required": true,
"type": "string"
},
"zone": {
"description": "Required. The name of the Google Compute Engine\n[zone](/compute/docs/zones#available) in which the cluster\nresides.",
"location": "path",
"required": true,
"type": "string"
}
},
"path": "v1/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\nor a specific cluster, either via password generation or explicitly setting\nthe password.",
"flatPath": "v1/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.\nThis 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\nnumber](https://support.google.com/cloud/answer/6158840).\nThis 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\n[zone](/compute/docs/zones#available) in which the cluster\nresides.\nThis field has been deprecated and replaced by the name field.",
"location": "path",
"required": true,
"type": "string"
}
},
"path": "v1/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": "v1/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.\nThis 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\nnumber](https://developers.google.com/console/help/new/#projectnumber).\nThis 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\n[zone](/compute/docs/zones#available) in which the cluster\nresides.\nThis field has been deprecated and replaced by the name field.",
"location": "path",
"required": true,
"type": "string"
}
},
"path": "v1/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": "v1/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.\nThis 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\nnumber](https://developers.google.com/console/help/new/#projectnumber).\nThis 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\n[zone](/compute/docs/zones#available) in which the cluster\nresides.\nThis field has been deprecated and replaced by the name field.",
"location": "path",
"required": true,
"type": "string"
}
},
"path": "v1/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 of a specific cluster.",
"flatPath": "v1/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.\nThis 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\nnumber](https://support.google.com/cloud/answer/6158840).\nThis 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\n[zone](/compute/docs/zones#available) in which the cluster\nresides.\nThis field has been deprecated and replaced by the name field.",
"location": "path",
"required": true,
"type": "string"
}
},
"path": "v1/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 for the specified node pool.",
"flatPath": "v1/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.\nThis 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.\nThis 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\nnumber](https://support.google.com/cloud/answer/6158840).\nThis 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\n[zone](/compute/docs/zones#available) in which the cluster\nresides.\nThis field has been deprecated and replaced by the name field.",
"location": "path",
"required": true,
"type": "string"
}
},
"path": "v1/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": "v1/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.\nThis 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\nnumber](https://developers.google.com/console/help/new/#projectnumber).\nThis 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\n[zone](/compute/docs/zones#available) in which the cluster\nresides.\nThis field has been deprecated and replaced by the parent field.",
"location": "path",
"required": true,
"type": "string"
}
},
"path": "v1/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": "v1/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.\nThis 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\ndelete. Specified in the format\n'projects/*/locations/*/clusters/*/nodePools/*'.",
"location": "query",
"type": "string"
},
"nodePoolId": {
"description": "Required. Deprecated. The name of the node pool to delete.\nThis 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\nnumber](https://developers.google.com/console/help/new/#projectnumber).\nThis 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\n[zone](/compute/docs/zones#available) in which the cluster\nresides.\nThis field has been deprecated and replaced by the name field.",
"location": "path",
"required": true,
"type": "string"
}
},
"path": "v1/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": "v1/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.\nThis 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\nget. Specified in the format\n'projects/*/locations/*/clusters/*/nodePools/*'.",
"location": "query",
"type": "string"
},
"nodePoolId": {
"description": "Required. Deprecated. The name of the node pool.\nThis 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\nnumber](https://developers.google.com/console/help/new/#projectnumber).\nThis 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\n[zone](/compute/docs/zones#available) in which the cluster\nresides.\nThis field has been deprecated and replaced by the name field.",
"location": "path",
"required": true,
"type": "string"
}
},
"path": "v1/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": "v1/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.\nThis 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\nlisted. Specified in the format 'projects/*/locations/*/clusters/*'.",
"location": "query",
"type": "string"
},
"projectId": {
"description": "Required. 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.",
"location": "path",
"required": true,
"type": "string"
},
"zone": {
"description": "Required. 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.",
"location": "path",
"required": true,
"type": "string"
}
},
"path": "v1/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.\nThis makes no changes if the last upgrade successfully completed.",
"flatPath": "v1/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.\nThis 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.\nThis 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\nnumber](https://support.google.com/cloud/answer/6158840).\nThis 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\n[zone](/compute/docs/zones#available) in which the cluster\nresides.\nThis field has been deprecated and replaced by the name field.",
"location": "path",
"required": true,
"type": "string"
}
},
"path": "v1/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": "v1/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.\nThis 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.\nThis 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\nnumber](https://support.google.com/cloud/answer/6158840).\nThis 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\n[zone](/compute/docs/zones#available) in which the cluster\nresides.\nThis field has been deprecated and replaced by the name field.",
"location": "path",
"required": true,
"type": "string"
}
},
"path": "v1/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": "v1/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.\nThis 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.\nThis 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\nnumber](https://support.google.com/cloud/answer/6158840).\nThis 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\n[zone](/compute/docs/zones#available) in which the cluster\nresides.\nThis field has been deprecated and replaced by the name field.",
"location": "path",
"required": true,
"type": "string"
}
},
"path": "v1/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 for the specified node pool.",
"flatPath": "v1/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.\nThis 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.\nThis 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\nnumber](https://support.google.com/cloud/answer/6158840).\nThis 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\n[zone](/compute/docs/zones#available) in which the cluster\nresides.\nThis field has been deprecated and replaced by the name field.",
"location": "path",
"required": true,
"type": "string"
}
},
"path": "v1/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": "v1/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.\nThis 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\nnumber](https://support.google.com/cloud/answer/6158840).\nThis 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\n[zone](/compute/docs/zones#available) in which the operation resides.\nThis field has been deprecated and replaced by the name field.",
"location": "path",
"required": true,
"type": "string"
}
},
"path": "v1/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": "v1/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.\nSpecified in the format 'projects/*/locations/*/operations/*'.",
"location": "query",
"type": "string"
},
"operationId": {
"description": "Required. Deprecated. The server-assigned `name` of the operation.\nThis 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\nnumber](https://support.google.com/cloud/answer/6158840).\nThis 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\n[zone](/compute/docs/zones#available) in which the cluster\nresides.\nThis field has been deprecated and replaced by the name field.",
"location": "path",
"required": true,
"type": "string"
}
},
"path": "v1/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 a specific zone or all zones.",
"flatPath": "v1/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.\nSpecified in the format 'projects/*/locations/*'.\nLocation \"-\" matches all zones and all regions.",
"location": "query",
"type": "string"
},
"projectId": {
"description": "Required. 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.",
"location": "path",
"required": true,
"type": "string"
},
"zone": {
"description": "Required. 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.",
"location": "path",
"required": true,
"type": "string"
}
},
"path": "v1/projects/{projectId}/zones/{zone}/operations",
"response": {
"$ref": "ListOperationsResponse"
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform"
]
}
}
}
}
}
}
}
},
"revision": "20191211",
"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\n[here](/compute/docs/gpus)",
"type": "string"
}
},
"type": "object"
},
"AddonsConfig": {
"description": "Configuration for the addons that can be automatically spun up in the\ncluster, enabling additional functionality.",
"id": "AddonsConfig",
"properties": {
"cloudRunConfig": {
"$ref": "CloudRunConfig",
"description": "Configuration for the Cloud Run addon, which allows the user to use a\nmanaged Knative service."
},
"horizontalPodAutoscaling": {
"$ref": "HorizontalPodAutoscaling",
"description": "Configuration for the horizontal pod autoscaling feature, which\nincreases or decreases the number of replica pods a replication controller\nhas based on the resource usage of the existing pods."
},
"httpLoadBalancing": {
"$ref": "HttpLoadBalancing",
"description": "Configuration for the HTTP (L7) load balancing controller addon, which\nmakes it easy to set up HTTP load balancers for services in a cluster."
},
"kubernetesDashboard": {
"$ref": "KubernetesDashboard",
"description": "Configuration for the Kubernetes Dashboard.\nThis addon is deprecated, and will be disabled in 1.15. It is recommended\nto use the Cloud Console to manage and monitor your Kubernetes clusters,\nworkloads and applications. For more information, see:\nhttps://cloud.google.com/kubernetes-engine/docs/concepts/dashboards"
},
"networkPolicyConfig": {
"$ref": "NetworkPolicyConfig",
"description": "Configuration for NetworkPolicy. This only tracks whether the addon\nis enabled or not on the Master, it does not track whether network policy\nis 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\nduring authentication using a group of security groups.",
"type": "boolean"
},
"securityGroup": {
"description": "The name of the security group-of-groups to be used. Only relevant\nif enabled = true.",
"type": "string"
}
},
"type": "object"
},
"AutoUpgradeOptions": {
"description": "AutoUpgradeOptions defines the set of options for the user to control how\nthe Auto Upgrades will proceed.",
"id": "AutoUpgradeOptions",
"properties": {
"autoUpgradeStartTime": {
"description": "[Output only] This field is set when upgrades are about to commence\nwith the approximate start time for the upgrades, in\n[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\nwith the description of the upgrade.",
"type": "string"
}
},
"type": "object"
},
"AutoprovisioningNodePoolDefaults": {
"description": "AutoprovisioningNodePoolDefaults contains defaults for a node pool created\nby NAP.",
"id": "AutoprovisioningNodePoolDefaults",
"properties": {
"oauthScopes": {
"description": "Scopes that are used by NAP when creating node pools. If oauth_scopes are\nspecified, service_account should be empty.",
"items": {
"type": "string"
},
"type": "array"
},
"serviceAccount": {
"description": "The Google Cloud Platform Service Account to be used by the node VMs. If\nservice_account is specified, scopes should be empty.",
"type": "string"
}
},
"type": "object"
},
"BigQueryDestination": {
"description": "Parameters for using BigQuery as the destination of resource usage export.",
"id": "BigQueryDestination",
"properties": {
"datasetId": {
"description": "The ID of a BigQuery Dataset.",
"type": "string"
}
},
"type": "object"
},
"BinaryAuthorization": {
"description": "Configuration for Binary Authorization.",
"id": "BinaryAuthorization",
"properties": {
"enabled": {
"description": "Enable Binary Authorization for this cluster. If enabled, all container\nimages will be validated by Binary Authorization.",
"type": "boolean"
}
},
"type": "object"
},
"CancelOperationRequest": {
"description": "CancelOperationRequest cancels a single operation.",
"id": "CancelOperationRequest",
"properties": {
"name": {
"description": "The name (project, location, operation id) of the operation to cancel.\nSpecified in the format 'projects/*/locations/*/operations/*'.",
"type": "string"
},
"operationId": {
"description": "Required. Deprecated. The server-assigned `name` of the operation.\nThis field has been deprecated and replaced by the name field.",
"type": "string"
},
"projectId": {
"description": "Required. 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.",
"type": "string"
},
"zone": {
"description": "Required. Deprecated. The name of the Google Compute Engine\n[zone](/compute/docs/zones#available) in which the operation resides.\nThis field has been deprecated and replaced by the name field.",
"type": "string"
}
},
"type": "object"
},
"CidrBlock": {
"description": "CidrBlock contains an optional name and one CIDR block.",
"id": "CidrBlock",
"properties": {
"cidrBlock": {
"description": "cidr_block must be specified in CIDR notation.",
"type": "string"
},
"displayName": {
"description": "display_name is an optional field for users to identify CIDR blocks.",
"type": "string"
}