2
2
mirror of https://github.com/octoleo/restic.git synced 2024-11-30 08:44:02 +00:00
restic/vendor/google.golang.org/api/container/v1/container-api.json
Alexander Neumann 61cb1cc6f8 Update vendored dependencies
This includes github.com/kurin/blazer 0.2.0, which resolves #1291
2017-10-01 10:13:39 +02:00

2511 lines
116 KiB
JSON

{
"rootUrl": "https://container.googleapis.com/",
"basePath": "",
"ownerDomain": "google.com",
"name": "container",
"batchPath": "batch",
"documentationLink": "https://cloud.google.com/container-engine/",
"id": "container:v1",
"revision": "20170915",
"title": "Google Container Engine API",
"discoveryVersion": "v1",
"ownerName": "Google",
"resources": {
"projects": {
"resources": {
"zones": {
"methods": {
"getServerconfig": {
"response": {
"$ref": "ServerConfig"
},
"parameterOrder": [
"projectId",
"zone"
],
"httpMethod": "GET",
"scopes": [
"https://www.googleapis.com/auth/cloud-platform"
],
"parameters": {
"projectId": {
"location": "path",
"description": "The Google Developers Console [project ID or project\nnumber](https://support.google.com/cloud/answer/6158840).",
"type": "string",
"required": true
},
"zone": {
"location": "path",
"description": "The name of the Google Compute Engine [zone](/compute/docs/zones#available)\nto return operations for.",
"type": "string",
"required": true
}
},
"flatPath": "v1/projects/{projectId}/zones/{zone}/serverconfig",
"id": "container.projects.zones.getServerconfig",
"path": "v1/projects/{projectId}/zones/{zone}/serverconfig",
"description": "Returns configuration info about the Container Engine service."
}
},
"resources": {
"clusters": {
"methods": {
"update": {
"response": {
"$ref": "Operation"
},
"parameterOrder": [
"projectId",
"zone",
"clusterId"
],
"httpMethod": "PUT",
"scopes": [
"https://www.googleapis.com/auth/cloud-platform"
],
"parameters": {
"projectId": {
"location": "path",
"description": "The Google Developers Console [project ID or project\nnumber](https://support.google.com/cloud/answer/6158840).",
"type": "string",
"required": true
},
"zone": {
"type": "string",
"required": true,
"location": "path",
"description": "The name of the Google Compute Engine\n[zone](/compute/docs/zones#available) in which the cluster\nresides."
},
"clusterId": {
"location": "path",
"description": "The name of the cluster to upgrade.",
"type": "string",
"required": true
}
},
"flatPath": "v1/projects/{projectId}/zones/{zone}/clusters/{clusterId}",
"id": "container.projects.zones.clusters.update",
"path": "v1/projects/{projectId}/zones/{zone}/clusters/{clusterId}",
"request": {
"$ref": "UpdateClusterRequest"
},
"description": "Updates the settings of a specific cluster."
},
"monitoring": {
"flatPath": "v1/projects/{projectId}/zones/{zone}/clusters/{clusterId}/monitoring",
"path": "v1/projects/{projectId}/zones/{zone}/clusters/{clusterId}/monitoring",
"id": "container.projects.zones.clusters.monitoring",
"request": {
"$ref": "SetMonitoringServiceRequest"
},
"description": "Sets the monitoring service of a specific cluster.",
"httpMethod": "POST",
"parameterOrder": [
"projectId",
"zone",
"clusterId"
],
"response": {
"$ref": "Operation"
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform"
],
"parameters": {
"projectId": {
"location": "path",
"description": "The Google Developers Console [project ID or project\nnumber](https://support.google.com/cloud/answer/6158840).",
"type": "string",
"required": true
},
"zone": {
"type": "string",
"required": true,
"location": "path",
"description": "The name of the Google Compute Engine\n[zone](/compute/docs/zones#available) in which the cluster\nresides."
},
"clusterId": {
"type": "string",
"required": true,
"location": "path",
"description": "The name of the cluster to upgrade."
}
}
},
"master": {
"flatPath": "v1/projects/{projectId}/zones/{zone}/clusters/{clusterId}/master",
"id": "container.projects.zones.clusters.master",
"path": "v1/projects/{projectId}/zones/{zone}/clusters/{clusterId}/master",
"request": {
"$ref": "UpdateMasterRequest"
},
"description": "Updates the master of a specific cluster.",
"response": {
"$ref": "Operation"
},
"parameterOrder": [
"projectId",
"zone",
"clusterId"
],
"httpMethod": "POST",
"scopes": [
"https://www.googleapis.com/auth/cloud-platform"
],
"parameters": {
"projectId": {
"type": "string",
"required": true,
"location": "path",
"description": "The Google Developers Console [project ID or project\nnumber](https://support.google.com/cloud/answer/6158840)."
},
"zone": {
"location": "path",
"description": "The name of the Google Compute Engine\n[zone](/compute/docs/zones#available) in which the cluster\nresides.",
"type": "string",
"required": true
},
"clusterId": {
"type": "string",
"required": true,
"location": "path",
"description": "The name of the cluster to upgrade."
}
}
},
"setMasterAuth": {
"flatPath": "v1/projects/{projectId}/zones/{zone}/clusters/{clusterId}:setMasterAuth",
"id": "container.projects.zones.clusters.setMasterAuth",
"path": "v1/projects/{projectId}/zones/{zone}/clusters/{clusterId}:setMasterAuth",
"description": "Used to set master auth materials. Currently supports :-\nChanging the admin password of a specific cluster.\nThis can be either via password generation or explicitly set the password.",
"request": {
"$ref": "SetMasterAuthRequest"
},
"response": {
"$ref": "Operation"
},
"parameterOrder": [
"projectId",
"zone",
"clusterId"
],
"httpMethod": "POST",
"parameters": {
"projectId": {
"type": "string",
"required": true,
"location": "path",
"description": "The Google Developers Console [project ID or project\nnumber](https://support.google.com/cloud/answer/6158840)."
},
"zone": {
"type": "string",
"required": true,
"location": "path",
"description": "The name of the Google Compute Engine\n[zone](/compute/docs/zones#available) in which the cluster\nresides."
},
"clusterId": {
"location": "path",
"description": "The name of the cluster to upgrade.",
"type": "string",
"required": true
}
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform"
]
},
"logging": {
"httpMethod": "POST",
"parameterOrder": [
"projectId",
"zone",
"clusterId"
],
"response": {
"$ref": "Operation"
},
"parameters": {
"projectId": {
"type": "string",
"required": true,
"location": "path",
"description": "The Google Developers Console [project ID or project\nnumber](https://support.google.com/cloud/answer/6158840)."
},
"zone": {
"type": "string",
"required": true,
"location": "path",
"description": "The name of the Google Compute Engine\n[zone](/compute/docs/zones#available) in which the cluster\nresides."
},
"clusterId": {
"type": "string",
"required": true,
"location": "path",
"description": "The name of the cluster to upgrade."
}
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform"
],
"flatPath": "v1/projects/{projectId}/zones/{zone}/clusters/{clusterId}/logging",
"path": "v1/projects/{projectId}/zones/{zone}/clusters/{clusterId}/logging",
"id": "container.projects.zones.clusters.logging",
"description": "Sets the logging service of a specific cluster.",
"request": {
"$ref": "SetLoggingServiceRequest"
}
},
"list": {
"httpMethod": "GET",
"parameterOrder": [
"projectId",
"zone"
],
"response": {
"$ref": "ListClustersResponse"
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform"
],
"parameters": {
"projectId": {
"location": "path",
"description": "The Google Developers Console [project ID or project\nnumber](https://support.google.com/cloud/answer/6158840).",
"type": "string",
"required": true
},
"zone": {
"location": "path",
"description": "The name of the Google Compute Engine\n[zone](/compute/docs/zones#available) in which the cluster\nresides, or \"-\" for all zones.",
"type": "string",
"required": true
}
},
"flatPath": "v1/projects/{projectId}/zones/{zone}/clusters",
"path": "v1/projects/{projectId}/zones/{zone}/clusters",
"id": "container.projects.zones.clusters.list",
"description": "Lists all clusters owned by a project in either the specified zone or all\nzones."
},
"create": {
"flatPath": "v1/projects/{projectId}/zones/{zone}/clusters",
"id": "container.projects.zones.clusters.create",
"path": "v1/projects/{projectId}/zones/{zone}/clusters",
"request": {
"$ref": "CreateClusterRequest"
},
"description": "Creates a cluster, consisting of the specified number and type of Google\nCompute Engine instances.\n\nBy default, the cluster is created in the project's\n[default network](/compute/docs/networks-and-firewalls#networks).\n\nOne firewall is added for the cluster. After cluster creation,\nthe cluster creates routes for each node to allow the containers\non that node to communicate with all other instances in the\ncluster.\n\nFinally, an entry is added to the project's global metadata indicating\nwhich CIDR range is being used by the cluster.",
"response": {
"$ref": "Operation"
},
"parameterOrder": [
"projectId",
"zone"
],
"httpMethod": "POST",
"scopes": [
"https://www.googleapis.com/auth/cloud-platform"
],
"parameters": {
"projectId": {
"type": "string",
"required": true,
"location": "path",
"description": "The Google Developers Console [project ID or project\nnumber](https://support.google.com/cloud/answer/6158840)."
},
"zone": {
"type": "string",
"required": true,
"location": "path",
"description": "The name of the Google Compute Engine\n[zone](/compute/docs/zones#available) in which the cluster\nresides."
}
}
},
"resourceLabels": {
"httpMethod": "POST",
"parameterOrder": [
"projectId",
"zone",
"clusterId"
],
"response": {
"$ref": "Operation"
},
"parameters": {
"projectId": {
"location": "path",
"description": "The Google Developers Console [project ID or project\nnumber](https://developers.google.com/console/help/new/#projectnumber).",
"type": "string",
"required": true
},
"zone": {
"type": "string",
"required": true,
"location": "path",
"description": "The name of the Google Compute Engine\n[zone](/compute/docs/zones#available) in which the cluster\nresides."
},
"clusterId": {
"type": "string",
"required": true,
"location": "path",
"description": "The name of the cluster."
}
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform"
],
"flatPath": "v1/projects/{projectId}/zones/{zone}/clusters/{clusterId}/resourceLabels",
"path": "v1/projects/{projectId}/zones/{zone}/clusters/{clusterId}/resourceLabels",
"id": "container.projects.zones.clusters.resourceLabels",
"description": "Sets labels on a cluster.",
"request": {
"$ref": "SetLabelsRequest"
}
},
"completeIpRotation": {
"response": {
"$ref": "Operation"
},
"parameterOrder": [
"projectId",
"zone",
"clusterId"
],
"httpMethod": "POST",
"parameters": {
"projectId": {
"location": "path",
"description": "The Google Developers Console [project ID or project\nnumber](https://developers.google.com/console/help/new/#projectnumber).",
"type": "string",
"required": true
},
"zone": {
"type": "string",
"required": true,
"location": "path",
"description": "The name of the Google Compute Engine\n[zone](/compute/docs/zones#available) in which the cluster\nresides."
},
"clusterId": {
"location": "path",
"description": "The name of the cluster.",
"type": "string",
"required": true
}
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform"
],
"flatPath": "v1/projects/{projectId}/zones/{zone}/clusters/{clusterId}:completeIpRotation",
"id": "container.projects.zones.clusters.completeIpRotation",
"path": "v1/projects/{projectId}/zones/{zone}/clusters/{clusterId}:completeIpRotation",
"description": "Completes master IP rotation.",
"request": {
"$ref": "CompleteIPRotationRequest"
}
},
"setNetworkPolicy": {
"httpMethod": "POST",
"parameterOrder": [
"projectId",
"zone",
"clusterId"
],
"response": {
"$ref": "Operation"
},
"parameters": {
"projectId": {
"location": "path",
"description": "The Google Developers Console [project ID or project\nnumber](https://developers.google.com/console/help/new/#projectnumber).",
"type": "string",
"required": true
},
"zone": {
"type": "string",
"required": true,
"location": "path",
"description": "The name of the Google Compute Engine\n[zone](/compute/docs/zones#available) in which the cluster\nresides."
},
"clusterId": {
"type": "string",
"required": true,
"location": "path",
"description": "The name of the cluster."
}
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform"
],
"flatPath": "v1/projects/{projectId}/zones/{zone}/clusters/{clusterId}:setNetworkPolicy",
"path": "v1/projects/{projectId}/zones/{zone}/clusters/{clusterId}:setNetworkPolicy",
"id": "container.projects.zones.clusters.setNetworkPolicy",
"description": "Enables/Disables Network Policy for a cluster.",
"request": {
"$ref": "SetNetworkPolicyRequest"
}
},
"legacyAbac": {
"httpMethod": "POST",
"parameterOrder": [
"projectId",
"zone",
"clusterId"
],
"response": {
"$ref": "Operation"
},
"parameters": {
"projectId": {
"location": "path",
"description": "The Google Developers Console [project ID or project\nnumber](https://support.google.com/cloud/answer/6158840).",
"type": "string",
"required": true
},
"zone": {
"type": "string",
"required": true,
"location": "path",
"description": "The name of the Google Compute Engine\n[zone](/compute/docs/zones#available) in which the cluster\nresides."
},
"clusterId": {
"location": "path",
"description": "The name of the cluster to update.",
"type": "string",
"required": true
}
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform"
],
"flatPath": "v1/projects/{projectId}/zones/{zone}/clusters/{clusterId}/legacyAbac",
"path": "v1/projects/{projectId}/zones/{zone}/clusters/{clusterId}/legacyAbac",
"id": "container.projects.zones.clusters.legacyAbac",
"description": "Enables or disables the ABAC authorization mechanism on a cluster.",
"request": {
"$ref": "SetLegacyAbacRequest"
}
},
"get": {
"flatPath": "v1/projects/{projectId}/zones/{zone}/clusters/{clusterId}",
"id": "container.projects.zones.clusters.get",
"path": "v1/projects/{projectId}/zones/{zone}/clusters/{clusterId}",
"description": "Gets the details of a specific cluster.",
"response": {
"$ref": "Cluster"
},
"parameterOrder": [
"projectId",
"zone",
"clusterId"
],
"httpMethod": "GET",
"scopes": [
"https://www.googleapis.com/auth/cloud-platform"
],
"parameters": {
"projectId": {
"location": "path",
"description": "The Google Developers Console [project ID or project\nnumber](https://support.google.com/cloud/answer/6158840).",
"type": "string",
"required": true
},
"zone": {
"location": "path",
"description": "The name of the Google Compute Engine\n[zone](/compute/docs/zones#available) in which the cluster\nresides.",
"type": "string",
"required": true
},
"clusterId": {
"type": "string",
"required": true,
"location": "path",
"description": "The name of the cluster to retrieve."
}
}
},
"startIpRotation": {
"flatPath": "v1/projects/{projectId}/zones/{zone}/clusters/{clusterId}:startIpRotation",
"id": "container.projects.zones.clusters.startIpRotation",
"path": "v1/projects/{projectId}/zones/{zone}/clusters/{clusterId}:startIpRotation",
"request": {
"$ref": "StartIPRotationRequest"
},
"description": "Start master IP rotation.",
"response": {
"$ref": "Operation"
},
"parameterOrder": [
"projectId",
"zone",
"clusterId"
],
"httpMethod": "POST",
"scopes": [
"https://www.googleapis.com/auth/cloud-platform"
],
"parameters": {
"projectId": {
"location": "path",
"description": "The Google Developers Console [project ID or project\nnumber](https://developers.google.com/console/help/new/#projectnumber).",
"type": "string",
"required": true
},
"zone": {
"location": "path",
"description": "The name of the Google Compute Engine\n[zone](/compute/docs/zones#available) in which the cluster\nresides.",
"type": "string",
"required": true
},
"clusterId": {
"location": "path",
"description": "The name of the cluster.",
"type": "string",
"required": true
}
}
},
"addons": {
"response": {
"$ref": "Operation"
},
"parameterOrder": [
"projectId",
"zone",
"clusterId"
],
"httpMethod": "POST",
"parameters": {
"projectId": {
"type": "string",
"required": true,
"location": "path",
"description": "The Google Developers Console [project ID or project\nnumber](https://support.google.com/cloud/answer/6158840)."
},
"zone": {
"location": "path",
"description": "The name of the Google Compute Engine\n[zone](/compute/docs/zones#available) in which the cluster\nresides.",
"type": "string",
"required": true
},
"clusterId": {
"location": "path",
"description": "The name of the cluster to upgrade.",
"type": "string",
"required": true
}
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform"
],
"flatPath": "v1/projects/{projectId}/zones/{zone}/clusters/{clusterId}/addons",
"id": "container.projects.zones.clusters.addons",
"path": "v1/projects/{projectId}/zones/{zone}/clusters/{clusterId}/addons",
"description": "Sets the addons of a specific cluster.",
"request": {
"$ref": "SetAddonsConfigRequest"
}
},
"setMaintenancePolicy": {
"httpMethod": "POST",
"parameterOrder": [
"projectId",
"zone",
"clusterId"
],
"response": {
"$ref": "Operation"
},
"parameters": {
"projectId": {
"type": "string",
"required": true,
"location": "path",
"description": "The Google Developers Console [project ID or project\nnumber](https://support.google.com/cloud/answer/6158840)."
},
"zone": {
"location": "path",
"description": "The name of the Google Compute Engine\n[zone](/compute/docs/zones#available) in which the cluster\nresides.",
"type": "string",
"required": true
},
"clusterId": {
"location": "path",
"description": "The name of the cluster to update.",
"type": "string",
"required": true
}
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform"
],
"flatPath": "v1/projects/{projectId}/zones/{zone}/clusters/{clusterId}:setMaintenancePolicy",
"path": "v1/projects/{projectId}/zones/{zone}/clusters/{clusterId}:setMaintenancePolicy",
"id": "container.projects.zones.clusters.setMaintenancePolicy",
"description": "Sets the maintenance policy for a cluster.",
"request": {
"$ref": "SetMaintenancePolicyRequest"
}
},
"delete": {
"httpMethod": "DELETE",
"parameterOrder": [
"projectId",
"zone",
"clusterId"
],
"response": {
"$ref": "Operation"
},
"parameters": {
"projectId": {
"location": "path",
"description": "The Google Developers Console [project ID or project\nnumber](https://support.google.com/cloud/answer/6158840).",
"type": "string",
"required": true
},
"zone": {
"location": "path",
"description": "The name of the Google Compute Engine\n[zone](/compute/docs/zones#available) in which the cluster\nresides.",
"type": "string",
"required": true
},
"clusterId": {
"location": "path",
"description": "The name of the cluster to delete.",
"type": "string",
"required": true
}
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform"
],
"flatPath": "v1/projects/{projectId}/zones/{zone}/clusters/{clusterId}",
"path": "v1/projects/{projectId}/zones/{zone}/clusters/{clusterId}",
"id": "container.projects.zones.clusters.delete",
"description": "Deletes the cluster, including the Kubernetes endpoint and all worker\nnodes.\n\nFirewalls and routes that were configured during cluster creation\nare also deleted.\n\nOther Google Compute Engine resources that might be in use by the cluster\n(e.g. load balancer resources) will not be deleted if they weren't present\nat the initial create time."
},
"locations": {
"httpMethod": "POST",
"parameterOrder": [
"projectId",
"zone",
"clusterId"
],
"response": {
"$ref": "Operation"
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform"
],
"parameters": {
"projectId": {
"location": "path",
"description": "The Google Developers Console [project ID or project\nnumber](https://support.google.com/cloud/answer/6158840).",
"type": "string",
"required": true
},
"zone": {
"location": "path",
"description": "The name of the Google Compute Engine\n[zone](/compute/docs/zones#available) in which the cluster\nresides.",
"type": "string",
"required": true
},
"clusterId": {
"location": "path",
"description": "The name of the cluster to upgrade.",
"type": "string",
"required": true
}
},
"flatPath": "v1/projects/{projectId}/zones/{zone}/clusters/{clusterId}/locations",
"path": "v1/projects/{projectId}/zones/{zone}/clusters/{clusterId}/locations",
"id": "container.projects.zones.clusters.locations",
"request": {
"$ref": "SetLocationsRequest"
},
"description": "Sets the locations of a specific cluster."
}
},
"resources": {
"nodePools": {
"methods": {
"get": {
"httpMethod": "GET",
"parameterOrder": [
"projectId",
"zone",
"clusterId",
"nodePoolId"
],
"response": {
"$ref": "NodePool"
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform"
],
"parameters": {
"projectId": {
"type": "string",
"required": true,
"location": "path",
"description": "The Google Developers Console [project ID or project\nnumber](https://developers.google.com/console/help/new/#projectnumber)."
},
"zone": {
"location": "path",
"description": "The name of the Google Compute Engine\n[zone](/compute/docs/zones#available) in which the cluster\nresides.",
"type": "string",
"required": true
},
"clusterId": {
"location": "path",
"description": "The name of the cluster.",
"type": "string",
"required": true
},
"nodePoolId": {
"type": "string",
"required": true,
"location": "path",
"description": "The name of the node pool."
}
},
"flatPath": "v1/projects/{projectId}/zones/{zone}/clusters/{clusterId}/nodePools/{nodePoolId}",
"path": "v1/projects/{projectId}/zones/{zone}/clusters/{clusterId}/nodePools/{nodePoolId}",
"id": "container.projects.zones.clusters.nodePools.get",
"description": "Retrieves the node pool requested."
},
"update": {
"flatPath": "v1/projects/{projectId}/zones/{zone}/clusters/{clusterId}/nodePools/{nodePoolId}/update",
"path": "v1/projects/{projectId}/zones/{zone}/clusters/{clusterId}/nodePools/{nodePoolId}/update",
"id": "container.projects.zones.clusters.nodePools.update",
"request": {
"$ref": "UpdateNodePoolRequest"
},
"description": "Updates the version and/or image type of a specific node pool.",
"httpMethod": "POST",
"parameterOrder": [
"projectId",
"zone",
"clusterId",
"nodePoolId"
],
"response": {
"$ref": "Operation"
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform"
],
"parameters": {
"projectId": {
"type": "string",
"required": true,
"location": "path",
"description": "The Google Developers Console [project ID or project\nnumber](https://support.google.com/cloud/answer/6158840)."
},
"zone": {
"type": "string",
"required": true,
"location": "path",
"description": "The name of the Google Compute Engine\n[zone](/compute/docs/zones#available) in which the cluster\nresides."
},
"clusterId": {
"type": "string",
"required": true,
"location": "path",
"description": "The name of the cluster to upgrade."
},
"nodePoolId": {
"type": "string",
"required": true,
"location": "path",
"description": "The name of the node pool to upgrade."
}
}
},
"delete": {
"response": {
"$ref": "Operation"
},
"parameterOrder": [
"projectId",
"zone",
"clusterId",
"nodePoolId"
],
"httpMethod": "DELETE",
"parameters": {
"projectId": {
"location": "path",
"description": "The Google Developers Console [project ID or project\nnumber](https://developers.google.com/console/help/new/#projectnumber).",
"type": "string",
"required": true
},
"zone": {
"location": "path",
"description": "The name of the Google Compute Engine\n[zone](/compute/docs/zones#available) in which the cluster\nresides.",
"type": "string",
"required": true
},
"clusterId": {
"location": "path",
"description": "The name of the cluster.",
"type": "string",
"required": true
},
"nodePoolId": {
"type": "string",
"required": true,
"location": "path",
"description": "The name of the node pool to delete."
}
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform"
],
"flatPath": "v1/projects/{projectId}/zones/{zone}/clusters/{clusterId}/nodePools/{nodePoolId}",
"id": "container.projects.zones.clusters.nodePools.delete",
"path": "v1/projects/{projectId}/zones/{zone}/clusters/{clusterId}/nodePools/{nodePoolId}",
"description": "Deletes a node pool from a cluster."
},
"setManagement": {
"flatPath": "v1/projects/{projectId}/zones/{zone}/clusters/{clusterId}/nodePools/{nodePoolId}/setManagement",
"path": "v1/projects/{projectId}/zones/{zone}/clusters/{clusterId}/nodePools/{nodePoolId}/setManagement",
"id": "container.projects.zones.clusters.nodePools.setManagement",
"description": "Sets the NodeManagement options for a node pool.",
"request": {
"$ref": "SetNodePoolManagementRequest"
},
"httpMethod": "POST",
"parameterOrder": [
"projectId",
"zone",
"clusterId",
"nodePoolId"
],
"response": {
"$ref": "Operation"
},
"parameters": {
"projectId": {
"location": "path",
"description": "The Google Developers Console [project ID or project\nnumber](https://support.google.com/cloud/answer/6158840).",
"type": "string",
"required": true
},
"zone": {
"type": "string",
"required": true,
"location": "path",
"description": "The name of the Google Compute Engine\n[zone](/compute/docs/zones#available) in which the cluster\nresides."
},
"clusterId": {
"location": "path",
"description": "The name of the cluster to update.",
"type": "string",
"required": true
},
"nodePoolId": {
"location": "path",
"description": "The name of the node pool to update.",
"type": "string",
"required": true
}
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform"
]
},
"setSize": {
"description": "Sets the size of a specific node pool.",
"request": {
"$ref": "SetNodePoolSizeRequest"
},
"httpMethod": "POST",
"parameterOrder": [
"projectId",
"zone",
"clusterId",
"nodePoolId"
],
"response": {
"$ref": "Operation"
},
"parameters": {
"projectId": {
"location": "path",
"description": "The Google Developers Console [project ID or project\nnumber](https://support.google.com/cloud/answer/6158840).",
"type": "string",
"required": true
},
"zone": {
"type": "string",
"required": true,
"location": "path",
"description": "The name of the Google Compute Engine\n[zone](/compute/docs/zones#available) in which the cluster\nresides."
},
"clusterId": {
"type": "string",
"required": true,
"location": "path",
"description": "The name of the cluster to update."
},
"nodePoolId": {
"type": "string",
"required": true,
"location": "path",
"description": "The name of the node pool to update."
}
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform"
],
"flatPath": "v1/projects/{projectId}/zones/{zone}/clusters/{clusterId}/nodePools/{nodePoolId}/setSize",
"path": "v1/projects/{projectId}/zones/{zone}/clusters/{clusterId}/nodePools/{nodePoolId}/setSize",
"id": "container.projects.zones.clusters.nodePools.setSize"
},
"list": {
"flatPath": "v1/projects/{projectId}/zones/{zone}/clusters/{clusterId}/nodePools",
"path": "v1/projects/{projectId}/zones/{zone}/clusters/{clusterId}/nodePools",
"id": "container.projects.zones.clusters.nodePools.list",
"description": "Lists the node pools for a cluster.",
"httpMethod": "GET",
"response": {
"$ref": "ListNodePoolsResponse"
},
"parameterOrder": [
"projectId",
"zone",
"clusterId"
],
"parameters": {
"projectId": {
"location": "path",
"description": "The Google Developers Console [project ID or project\nnumber](https://developers.google.com/console/help/new/#projectnumber).",
"type": "string",
"required": true
},
"zone": {
"location": "path",
"description": "The name of the Google Compute Engine\n[zone](/compute/docs/zones#available) in which the cluster\nresides.",
"type": "string",
"required": true
},
"clusterId": {
"location": "path",
"description": "The name of the cluster.",
"type": "string",
"required": true
}
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform"
]
},
"rollback": {
"response": {
"$ref": "Operation"
},
"parameterOrder": [
"projectId",
"zone",
"clusterId",
"nodePoolId"
],
"httpMethod": "POST",
"parameters": {
"projectId": {
"location": "path",
"description": "The Google Developers Console [project ID or project\nnumber](https://support.google.com/cloud/answer/6158840).",
"type": "string",
"required": true
},
"zone": {
"location": "path",
"description": "The name of the Google Compute Engine\n[zone](/compute/docs/zones#available) in which the cluster\nresides.",
"type": "string",
"required": true
},
"clusterId": {
"location": "path",
"description": "The name of the cluster to rollback.",
"type": "string",
"required": true
},
"nodePoolId": {
"location": "path",
"description": "The name of the node pool to rollback.",
"type": "string",
"required": true
}
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform"
],
"flatPath": "v1/projects/{projectId}/zones/{zone}/clusters/{clusterId}/nodePools/{nodePoolId}:rollback",
"id": "container.projects.zones.clusters.nodePools.rollback",
"path": "v1/projects/{projectId}/zones/{zone}/clusters/{clusterId}/nodePools/{nodePoolId}:rollback",
"description": "Roll back the previously Aborted or Failed NodePool upgrade.\nThis will be an no-op if the last upgrade successfully completed.",
"request": {
"$ref": "RollbackNodePoolUpgradeRequest"
}
},
"create": {
"response": {
"$ref": "Operation"
},
"parameterOrder": [
"projectId",
"zone",
"clusterId"
],
"httpMethod": "POST",
"parameters": {
"projectId": {
"location": "path",
"description": "The Google Developers Console [project ID or project\nnumber](https://developers.google.com/console/help/new/#projectnumber).",
"type": "string",
"required": true
},
"zone": {
"location": "path",
"description": "The name of the Google Compute Engine\n[zone](/compute/docs/zones#available) in which the cluster\nresides.",
"type": "string",
"required": true
},
"clusterId": {
"type": "string",
"required": true,
"location": "path",
"description": "The name of the cluster."
}
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform"
],
"flatPath": "v1/projects/{projectId}/zones/{zone}/clusters/{clusterId}/nodePools",
"id": "container.projects.zones.clusters.nodePools.create",
"path": "v1/projects/{projectId}/zones/{zone}/clusters/{clusterId}/nodePools",
"description": "Creates a node pool for a cluster.",
"request": {
"$ref": "CreateNodePoolRequest"
}
},
"autoscaling": {
"description": "Sets the autoscaling settings of a specific node pool.",
"request": {
"$ref": "SetNodePoolAutoscalingRequest"
},
"response": {
"$ref": "Operation"
},
"parameterOrder": [
"projectId",
"zone",
"clusterId",
"nodePoolId"
],
"httpMethod": "POST",
"parameters": {
"projectId": {
"location": "path",
"description": "The Google Developers Console [project ID or project\nnumber](https://support.google.com/cloud/answer/6158840).",
"type": "string",
"required": true
},
"zone": {
"location": "path",
"description": "The name of the Google Compute Engine\n[zone](/compute/docs/zones#available) in which the cluster\nresides.",
"type": "string",
"required": true
},
"clusterId": {
"type": "string",
"required": true,
"location": "path",
"description": "The name of the cluster to upgrade."
},
"nodePoolId": {
"location": "path",
"description": "The name of the node pool to upgrade.",
"type": "string",
"required": true
}
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform"
],
"flatPath": "v1/projects/{projectId}/zones/{zone}/clusters/{clusterId}/nodePools/{nodePoolId}/autoscaling",
"id": "container.projects.zones.clusters.nodePools.autoscaling",
"path": "v1/projects/{projectId}/zones/{zone}/clusters/{clusterId}/nodePools/{nodePoolId}/autoscaling"
}
}
}
}
},
"operations": {
"methods": {
"cancel": {
"flatPath": "v1/projects/{projectId}/zones/{zone}/operations/{operationId}:cancel",
"id": "container.projects.zones.operations.cancel",
"path": "v1/projects/{projectId}/zones/{zone}/operations/{operationId}:cancel",
"description": "Cancels the specified operation.",
"request": {
"$ref": "CancelOperationRequest"
},
"response": {
"$ref": "Empty"
},
"parameterOrder": [
"projectId",
"zone",
"operationId"
],
"httpMethod": "POST",
"parameters": {
"operationId": {
"location": "path",
"description": "The server-assigned `name` of the operation.",
"type": "string",
"required": true
},
"projectId": {
"location": "path",
"description": "The Google Developers Console [project ID or project\nnumber](https://support.google.com/cloud/answer/6158840).",
"type": "string",
"required": true
},
"zone": {
"type": "string",
"required": true,
"location": "path",
"description": "The name of the Google Compute Engine\n[zone](/compute/docs/zones#available) in which the operation resides."
}
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform"
]
},
"get": {
"response": {
"$ref": "Operation"
},
"parameterOrder": [
"projectId",
"zone",
"operationId"
],
"httpMethod": "GET",
"parameters": {
"projectId": {
"type": "string",
"required": true,
"location": "path",
"description": "The Google Developers Console [project ID or project\nnumber](https://support.google.com/cloud/answer/6158840)."
},
"zone": {
"type": "string",
"required": true,
"location": "path",
"description": "The name of the Google Compute Engine\n[zone](/compute/docs/zones#available) in which the cluster\nresides."
},
"operationId": {
"location": "path",
"description": "The server-assigned `name` of the operation.",
"type": "string",
"required": true
}
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform"
],
"flatPath": "v1/projects/{projectId}/zones/{zone}/operations/{operationId}",
"id": "container.projects.zones.operations.get",
"path": "v1/projects/{projectId}/zones/{zone}/operations/{operationId}",
"description": "Gets the specified operation."
},
"list": {
"flatPath": "v1/projects/{projectId}/zones/{zone}/operations",
"path": "v1/projects/{projectId}/zones/{zone}/operations",
"id": "container.projects.zones.operations.list",
"description": "Lists all operations in a project in a specific zone or all zones.",
"httpMethod": "GET",
"response": {
"$ref": "ListOperationsResponse"
},
"parameterOrder": [
"projectId",
"zone"
],
"parameters": {
"projectId": {
"location": "path",
"description": "The Google Developers Console [project ID or project\nnumber](https://support.google.com/cloud/answer/6158840).",
"type": "string",
"required": true
},
"zone": {
"type": "string",
"required": true,
"location": "path",
"description": "The name of the Google Compute Engine [zone](/compute/docs/zones#available)\nto return operations for, or `-` for all zones."
}
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform"
]
}
}
}
}
}
}
}
},
"parameters": {
"key": {
"location": "query",
"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.",
"type": "string"
},
"access_token": {
"location": "query",
"description": "OAuth access token.",
"type": "string"
},
"quotaUser": {
"type": "string",
"location": "query",
"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."
},
"pp": {
"default": "true",
"type": "boolean",
"location": "query",
"description": "Pretty-print response."
},
"oauth_token": {
"location": "query",
"description": "OAuth 2.0 token for the current user.",
"type": "string"
},
"bearer_token": {
"location": "query",
"description": "OAuth bearer token.",
"type": "string"
},
"upload_protocol": {
"location": "query",
"description": "Upload protocol for media (e.g. \"raw\", \"multipart\").",
"type": "string"
},
"prettyPrint": {
"default": "true",
"type": "boolean",
"location": "query",
"description": "Returns response with indentations and line breaks."
},
"fields": {
"type": "string",
"location": "query",
"description": "Selector specifying which fields to include in a partial response."
},
"uploadType": {
"location": "query",
"description": "Legacy upload protocol for media (e.g. \"media\", \"multipart\").",
"type": "string"
},
"callback": {
"location": "query",
"description": "JSONP",
"type": "string"
},
"$.xgafv": {
"type": "string",
"enumDescriptions": [
"v1 error format",
"v2 error format"
],
"location": "query",
"enum": [
"1",
"2"
],
"description": "V1 error format."
},
"alt": {
"type": "string",
"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",
"description": "Data format for response.",
"default": "json",
"enum": [
"json",
"media",
"proto"
]
}
},
"schemas": {
"ListNodePoolsResponse": {
"description": "ListNodePoolsResponse is the result of ListNodePoolsRequest.",
"type": "object",
"properties": {
"nodePools": {
"description": "A list of node pools for a cluster.",
"items": {
"$ref": "NodePool"
},
"type": "array"
}
},
"id": "ListNodePoolsResponse"
},
"CompleteIPRotationRequest": {
"description": "CompleteIPRotationRequest moves the cluster master back into single-IP mode.",
"type": "object",
"properties": {},
"id": "CompleteIPRotationRequest"
},
"StartIPRotationRequest": {
"description": "StartIPRotationRequest creates a new IP for the cluster and then performs\na node upgrade on each node pool to point to the new IP.",
"type": "object",
"properties": {},
"id": "StartIPRotationRequest"
},
"SetLabelsRequest": {
"type": "object",
"properties": {
"resourceLabels": {
"type": "object",
"additionalProperties": {
"type": "string"
},
"description": "The labels to set for that cluster."
},
"labelFingerprint": {
"type": "string",
"description": "The fingerprint of the previous set of labels for this resource,\nused to detect conflicts. The fingerprint is initially generated by\nContainer Engine and changes after every request to modify or update\nlabels. You must always provide an up-to-date fingerprint hash when\nupdating or changing labels. Make a \u003ccode\u003eget()\u003c/code\u003e request to the\nresource to get the latest fingerprint."
}
},
"id": "SetLabelsRequest",
"description": "SetLabelsRequest sets the Google Cloud Platform labels on a Google Container\nEngine cluster, which will in turn set them for Google Compute Engine\nresources used by that cluster"
},
"NodePool": {
"description": "NodePool contains the name and configuration for a cluster's node pool.\nNode pools are a set of nodes (i.e. VM's), with a common configuration and\nspecification, under the control of the cluster master. They may have a set\nof Kubernetes labels applied to them, which may be used to reference them\nduring pod scheduling. They may also be resized up or down, to accommodate\nthe workload.",
"type": "object",
"properties": {
"status": {
"type": "string",
"enumDescriptions": [
"Not set.",
"The PROVISIONING state indicates the node pool is being created.",
"The RUNNING state indicates the node pool has been created\nand is fully usable.",
"The RUNNING_WITH_ERROR state indicates the node pool has been created\nand is partially usable. Some error state has occurred and some\nfunctionality may be impaired. Customer may need to reissue a request\nor trigger a new update.",
"The RECONCILING state indicates that some work is actively being done on\nthe node pool, such as upgrading node software. Details can\nbe found in the `statusMessage` field.",
"The STOPPING state indicates the node pool is being deleted.",
"The ERROR state indicates the node pool may be unusable. Details\ncan be found in the `statusMessage` field."
],
"enum": [
"STATUS_UNSPECIFIED",
"PROVISIONING",
"RUNNING",
"RUNNING_WITH_ERROR",
"RECONCILING",
"STOPPING",
"ERROR"
],
"description": "[Output only] The status of the nodes in this pool instance."
},
"config": {
"$ref": "NodeConfig",
"description": "The node configuration of the pool."
},
"name": {
"type": "string",
"description": "The name of the node pool."
},
"statusMessage": {
"type": "string",
"description": "[Output only] Additional information about the current status of this\nnode pool instance, if available."
},
"autoscaling": {
"$ref": "NodePoolAutoscaling",
"description": "Autoscaler configuration for this NodePool. Autoscaler is enabled\nonly if a valid configuration is present."
},
"management": {
"$ref": "NodeManagement",
"description": "NodeManagement configuration for this NodePool."
},
"initialNodeCount": {
"format": "int32",
"description": "The initial node count for the pool. You must ensure that your\nCompute Engine \u003ca href=\"/compute/docs/resource-quotas\"\u003eresource quota\u003c/a\u003e\nis sufficient for this number of instances. You must also have available\nfirewall and routes quota.",
"type": "integer"
},
"selfLink": {
"type": "string",
"description": "[Output only] Server-defined URL for the resource."
},
"version": {
"type": "string",
"description": "[Output only] The version of the Kubernetes of this node."
},
"instanceGroupUrls": {
"items": {
"type": "string"
},
"type": "array",
"description": "[Output only] The resource URLs of [instance\ngroups](/compute/docs/instance-groups/) associated with this\nnode pool."
}
},
"id": "NodePool"
},
"NodeManagement": {
"description": "NodeManagement defines the set of node management services turned on for the\nnode pool.",
"type": "object",
"properties": {
"autoRepair": {
"type": "boolean",
"description": "A flag that specifies whether the node auto-repair is enabled for the node\npool. If enabled, the nodes in this node pool will be monitored and, if\nthey fail health checks too many times, an automatic repair action will be\ntriggered."
},
"autoUpgrade": {
"type": "boolean",
"description": "A flag that specifies whether node auto-upgrade is enabled for the node\npool. If enabled, node auto-upgrade helps keep the nodes in your node pool\nup to date with the latest release version of Kubernetes."
},
"upgradeOptions": {
"$ref": "AutoUpgradeOptions",
"description": "Specifies the Auto Upgrade knobs for the node pool."
}
},
"id": "NodeManagement"
},
"CancelOperationRequest": {
"description": "CancelOperationRequest cancels a single operation.",
"type": "object",
"properties": {},
"id": "CancelOperationRequest"
},
"KubernetesDashboard": {
"description": "Configuration for the Kubernetes Dashboard.",
"type": "object",
"properties": {
"disabled": {
"type": "boolean",
"description": "Whether the Kubernetes Dashboard is enabled for this cluster."
}
},
"id": "KubernetesDashboard"
},
"Operation": {
"type": "object",
"properties": {
"zone": {
"type": "string",
"description": "The name of the Google Compute Engine\n[zone](/compute/docs/zones#available) in which the operation\nis taking place."
},
"status": {
"type": "string",
"enumDescriptions": [
"Not set.",
"The operation has been created.",
"The operation is currently running.",
"The operation is done, either cancelled or completed.",
"The operation is aborting."
],
"enum": [
"STATUS_UNSPECIFIED",
"PENDING",
"RUNNING",
"DONE",
"ABORTING"
],
"description": "The current status of the operation."
},
"statusMessage": {
"description": "If an error has occurred, a textual description of the error.",
"type": "string"
},
"name": {
"description": "The server-assigned ID for the operation.",
"type": "string"
},
"selfLink": {
"description": "Server-defined URL for the resource.",
"type": "string"
},
"targetLink": {
"description": "Server-defined URL for the target of the operation.",
"type": "string"
},
"endTime": {
"type": "string",
"description": "[Output only] The time the operation completed, in\n[RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format."
},
"detail": {
"type": "string",
"description": "Detailed operation progress, if available."
},
"operationType": {
"type": "string",
"enumDescriptions": [
"Not set.",
"Cluster create.",
"Cluster delete.",
"A master upgrade.",
"A node upgrade.",
"Cluster repair.",
"Cluster update.",
"Node pool create.",
"Node pool delete.",
"Set node pool management.",
"Automatic node pool repair.",
"Automatic node upgrade.",
"Set labels.",
"Set/generate master auth materials",
"Set node pool size.",
"Updates network policy for a cluster.",
"Set the maintenance policy."
],
"enum": [
"TYPE_UNSPECIFIED",
"CREATE_CLUSTER",
"DELETE_CLUSTER",
"UPGRADE_MASTER",
"UPGRADE_NODES",
"REPAIR_CLUSTER",
"UPDATE_CLUSTER",
"CREATE_NODE_POOL",
"DELETE_NODE_POOL",
"SET_NODE_POOL_MANAGEMENT",
"AUTO_REPAIR_NODES",
"AUTO_UPGRADE_NODES",
"SET_LABELS",
"SET_MASTER_AUTH",
"SET_NODE_POOL_SIZE",
"SET_NETWORK_POLICY",
"SET_MAINTENANCE_POLICY"
],
"description": "The operation type."
},
"startTime": {
"type": "string",
"description": "[Output only] The time the operation started, in\n[RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format."
}
},
"id": "Operation",
"description": "This operation resource represents operations that may have happened or are\nhappening on the cluster. All fields are output only."
},
"MaintenanceWindow": {
"type": "object",
"properties": {
"dailyMaintenanceWindow": {
"$ref": "DailyMaintenanceWindow",
"description": "DailyMaintenanceWindow specifies a daily maintenance operation window."
}
},
"id": "MaintenanceWindow",
"description": "MaintenanceWindow defines the maintenance window to be used for the cluster."
},
"RollbackNodePoolUpgradeRequest": {
"description": "RollbackNodePoolUpgradeRequest rollbacks the previously Aborted or Failed\nNodePool upgrade. This will be an no-op if the last upgrade successfully\ncompleted.",
"type": "object",
"properties": {},
"id": "RollbackNodePoolUpgradeRequest"
},
"NetworkPolicy": {
"description": "Configuration options for the NetworkPolicy feature.\nhttps://kubernetes.io/docs/concepts/services-networking/networkpolicies/",
"type": "object",
"properties": {
"provider": {
"enum": [
"PROVIDER_UNSPECIFIED",
"CALICO"
],
"description": "The selected network policy provider.",
"type": "string",
"enumDescriptions": [
"Not set",
"Tigera (Calico Felix)."
]
},
"enabled": {
"type": "boolean",
"description": "Whether network policy is enabled on the cluster."
}
},
"id": "NetworkPolicy"
},
"UpdateMasterRequest": {
"description": "UpdateMasterRequest updates the master of the cluster.",
"type": "object",
"properties": {
"masterVersion": {
"type": "string",
"description": "The Kubernetes version to change the master to. The only valid value is the\nlatest supported version. Use \"-\" to have the server automatically select\nthe latest version."
}
},
"id": "UpdateMasterRequest"
},
"ListOperationsResponse": {
"description": "ListOperationsResponse is the result of ListOperationsRequest.",
"type": "object",
"properties": {
"operations": {
"description": "A list of operations in the project in the specified zone.",
"items": {
"$ref": "Operation"
},
"type": "array"
},
"missingZones": {
"items": {
"type": "string"
},
"type": "array",
"description": "If any zones are listed here, the list of operations returned\nmay be missing the operations from those zones."
}
},
"id": "ListOperationsResponse"
},
"CidrBlock": {
"type": "object",
"properties": {
"displayName": {
"description": "display_name is an optional field for users to identify CIDR blocks.",
"type": "string"
},
"cidrBlock": {
"description": "cidr_block must be specified in CIDR notation.",
"type": "string"
}
},
"id": "CidrBlock",
"description": "CidrBlock contains an optional name and one CIDR block."
},
"SetMonitoringServiceRequest": {
"description": "SetMonitoringServiceRequest sets the monitoring service of a cluster.",
"type": "object",
"properties": {
"monitoringService": {
"type": "string",
"description": "The monitoring service the cluster should use to write metrics.\nCurrently available options:\n\n* \"monitoring.googleapis.com\" - the Google Cloud Monitoring service\n* \"none\" - no metrics will be exported from the cluster"
}
},
"id": "SetMonitoringServiceRequest"
},
"ServerConfig": {
"description": "Container Engine service configuration.",
"type": "object",
"properties": {
"validMasterVersions": {
"items": {
"type": "string"
},
"type": "array",
"description": "List of valid master versions."
},
"defaultImageType": {
"description": "Default image type.",
"type": "string"
},
"defaultClusterVersion": {
"type": "string",
"description": "Version of Kubernetes the service deploys by default."
},
"validImageTypes": {
"description": "List of valid image types.",
"items": {
"type": "string"
},
"type": "array"
},
"validNodeVersions": {
"description": "List of valid node upgrade target versions.",
"items": {
"type": "string"
},
"type": "array"
}
},
"id": "ServerConfig"
},
"NodeConfig": {
"description": "Parameters that describe the nodes in a cluster.",
"type": "object",
"properties": {
"accelerators": {
"description": "A list of hardware accelerators to be attached to each node.\nSee https://cloud.google.com/compute/docs/gpus for more information about\nsupport for GPUs.",
"items": {
"$ref": "AcceleratorConfig"
},
"type": "array"
},
"machineType": {
"description": "The name of a Google Compute Engine [machine\ntype](/compute/docs/machine-types) (e.g.\n`n1-standard-1`).\n\nIf unspecified, the default machine type is\n`n1-standard-1`.",
"type": "string"
},
"minCpuPlatform": {
"type": "string",
"description": "Minimum CPU platform to be used by this instance. The instance may be\nscheduled on the specified or newer CPU platform. Applicable values are the\nfriendly names of CPU platforms, such as\n\u003ccode\u003eminCpuPlatform: "Intel Haswell"\u003c/code\u003e or\n\u003ccode\u003eminCpuPlatform: "Intel Sandy Bridge"\u003c/code\u003e. For more\ninformation, read [how to specify min CPU platform](https://cloud.google.com/compute/docs/instances/specify-min-cpu-platform)"
},
"preemptible": {
"description": "Whether the nodes are created as preemptible VM instances. See:\nhttps://cloud.google.com/compute/docs/instances/preemptible for more\ninformation about preemptible VM instances.",
"type": "boolean"
},
"localSsdCount": {
"type": "integer",
"format": "int32",
"description": "The number of local SSD disks to be attached to the node.\n\nThe limit for this value is dependant upon the maximum number of\ndisks available on a machine per zone. See:\nhttps://cloud.google.com/compute/docs/disks/local-ssd#local_ssd_limits\nfor more information."
},
"metadata": {
"additionalProperties": {
"type": "string"
},
"description": "The metadata key/value pairs assigned to instances in the cluster.\n\nKeys must conform to the regexp [a-zA-Z0-9-_]+ and be less than 128 bytes\nin length. These are reflected as part of a URL in the metadata server.\nAdditionally, to avoid ambiguity, keys must not conflict with any other\nmetadata keys for the project or be one of the four reserved keys:\n\"instance-template\", \"kube-env\", \"startup-script\", and \"user-data\"\n\nValues are free-form strings, and only have meaning as interpreted by\nthe image running in the instance. The only restriction placed on them is\nthat each value's size must be less than or equal to 32 KB.\n\nThe total size of all keys and values must be less than 512 KB.",
"type": "object"
},
"tags": {
"description": "The list of instance tags applied to all nodes. Tags are used to identify\nvalid sources or targets for network firewalls and are specified by\nthe client during cluster or node pool creation. Each tag within the list\nmust comply with RFC1035.",
"items": {
"type": "string"
},
"type": "array"
},
"serviceAccount": {
"description": "The Google Cloud Platform Service Account to be used by the node VMs. If\nno Service Account is specified, the \"default\" service account is used.",
"type": "string"
},
"imageType": {
"description": "The image type to use for this node. Note that for a given image type,\nthe latest version of it will be used.",
"type": "string"
},
"oauthScopes": {
"items": {
"type": "string"
},
"type": "array",
"description": "The set of Google API scopes to be made available on all of the\nnode VMs under the \"default\" service account.\n\nThe following scopes are recommended, but not required, and by default are\nnot included:\n\n* `https://www.googleapis.com/auth/compute` is required for mounting\npersistent storage on your nodes.\n* `https://www.googleapis.com/auth/devstorage.read_only` is required for\ncommunicating with **gcr.io**\n(the [Google Container Registry](/container-registry/)).\n\nIf unspecified, no scopes are added, unless Cloud Logging or Cloud\nMonitoring are enabled, in which case their required scopes will be added."
},
"labels": {
"type": "object",
"additionalProperties": {
"type": "string"
},
"description": "The map of Kubernetes labels (key/value pairs) to be applied to each node.\nThese will added in addition to any default label(s) that\nKubernetes may apply to the node.\nIn case of conflict in label keys, the applied set may differ depending on\nthe Kubernetes version -- it's best to assume the behavior is undefined\nand conflicts should be avoided.\nFor more information, including usage and the valid values, see:\nhttps://kubernetes.io/docs/concepts/overview/working-with-objects/labels/"
},
"diskSizeGb": {
"format": "int32",
"description": "Size of the disk attached to each node, specified in GB.\nThe smallest allowed disk size is 10GB.\n\nIf unspecified, the default disk size is 100GB.",
"type": "integer"
}
},
"id": "NodeConfig"
},
"AutoUpgradeOptions": {
"type": "object",
"properties": {
"description": {
"description": "[Output only] This field is set when upgrades are about to commence\nwith the description of the upgrade.",
"type": "string"
},
"autoUpgradeStartTime": {
"type": "string",
"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."
}
},
"id": "AutoUpgradeOptions",
"description": "AutoUpgradeOptions defines the set of options for the user to control how\nthe Auto Upgrades will proceed."
},
"ListClustersResponse": {
"type": "object",
"properties": {
"missingZones": {
"items": {
"type": "string"
},
"type": "array",
"description": "If any zones are listed here, the list of clusters returned\nmay be missing those zones."
},
"clusters": {
"description": "A list of clusters in the project in the specified zone, or\nacross all ones.",
"items": {
"$ref": "Cluster"
},
"type": "array"
}
},
"id": "ListClustersResponse",
"description": "ListClustersResponse is the result of ListClustersRequest."
},
"HttpLoadBalancing": {
"type": "object",
"properties": {
"disabled": {
"description": "Whether the HTTP Load Balancing controller is enabled in the cluster.\nWhen enabled, it runs a small pod in the cluster that manages the load\nbalancers.",
"type": "boolean"
}
},
"id": "HttpLoadBalancing",
"description": "Configuration options for the HTTP (L7) load balancing controller addon,\nwhich makes it easy to set up HTTP load balancers for services in a cluster."
},
"SetNetworkPolicyRequest": {
"description": "SetNetworkPolicyRequest enables/disables network policy for a cluster.",
"type": "object",
"properties": {
"networkPolicy": {
"$ref": "NetworkPolicy",
"description": "Configuration options for the NetworkPolicy feature."
}
},
"id": "SetNetworkPolicyRequest"
},
"NodePoolAutoscaling": {
"type": "object",
"properties": {
"maxNodeCount": {
"format": "int32",
"description": "Maximum number of nodes in the NodePool. Must be \u003e= min_node_count. There\nhas to enough quota to scale up the cluster.",
"type": "integer"
},
"minNodeCount": {
"type": "integer",
"format": "int32",
"description": "Minimum number of nodes in the NodePool. Must be \u003e= 1 and \u003c=\nmax_node_count."
},
"enabled": {
"type": "boolean",
"description": "Is autoscaling enabled for this node pool."
}
},
"id": "NodePoolAutoscaling",
"description": "NodePoolAutoscaling contains information required by cluster autoscaler to\nadjust the size of the node pool to the current cluster usage."
},
"SetMasterAuthRequest": {
"type": "object",
"properties": {
"update": {
"$ref": "MasterAuth",
"description": "A description of the update."
},
"action": {
"type": "string",
"enumDescriptions": [
"Operation is unknown and will error out",
"Set the password to a user generated value.",
"Generate a new password and set it to that."
],
"enum": [
"UNKNOWN",
"SET_PASSWORD",
"GENERATE_PASSWORD"
],
"description": "The exact form of action to be taken on the master auth"
}
},
"id": "SetMasterAuthRequest",
"description": "SetMasterAuthRequest updates the admin password of a cluster."
},
"IPAllocationPolicy": {
"type": "object",
"properties": {
"subnetworkName": {
"type": "string",
"description": "A custom subnetwork name to be used if `create_subnetwork` is true. If\nthis field is empty, then an automatic name will be chosen for the new\nsubnetwork."
},
"servicesIpv4CidrBlock": {
"description": "The IP address range of the services IPs in this cluster. If blank, a range\nwill be automatically chosen with the default size.\n\nThis field is only applicable when `use_ip_aliases` is true.\n\nSet to blank to have a range chosen with the default size.\n\nSet to /netmask (e.g. `/14`) to have a range chosen with a specific\nnetmask.\n\nSet to a\n[CIDR](http://en.wikipedia.org/wiki/Classless_Inter-Domain_Routing)\nnotation (e.g. `10.96.0.0/14`) from the RFC-1918 private networks (e.g.\n`10.0.0.0/8`, `172.16.0.0/12`, `192.168.0.0/16`) to pick a specific range\nto use.",
"type": "string"
},
"clusterIpv4Cidr": {
"description": "This field is deprecated, use cluster_ipv4_cidr_block.",
"type": "string"
},
"nodeIpv4Cidr": {
"type": "string",
"description": "This field is deprecated, use node_ipv4_cidr_block."
},
"clusterSecondaryRangeName": {
"type": "string",
"description": "The name of the secondary range to be used for the cluster CIDR\nblock. The secondary range will be used for pod IP\naddresses. This must be an existing secondary range associated\nwith the cluster subnetwork.\n\nThis field is only applicable with use_ip_aliases is true and\ncreate_subnetwork is false."
},
"clusterIpv4CidrBlock": {
"description": "The IP address range for the cluster pod IPs. If this field is set, then\n`cluster.cluster_ipv4_cidr` must be left blank.\n\nThis field is only applicable when `use_ip_aliases` is true.\n\nSet to blank to have a range chosen with the default size.\n\nSet to /netmask (e.g. `/14`) to have a range chosen with a specific\nnetmask.\n\nSet to a\n[CIDR](http://en.wikipedia.org/wiki/Classless_Inter-Domain_Routing)\nnotation (e.g. `10.96.0.0/14`) from the RFC-1918 private networks (e.g.\n`10.0.0.0/8`, `172.16.0.0/12`, `192.168.0.0/16`) to pick a specific range\nto use.",
"type": "string"
},
"nodeIpv4CidrBlock": {
"type": "string",
"description": "The IP address range of the instance IPs in this cluster.\n\nThis is applicable only if `create_subnetwork` is true.\n\nSet to blank to have a range chosen with the default size.\n\nSet to /netmask (e.g. `/14`) to have a range chosen with a specific\nnetmask.\n\nSet to a\n[CIDR](http://en.wikipedia.org/wiki/Classless_Inter-Domain_Routing)\nnotation (e.g. `10.96.0.0/14`) from the RFC-1918 private networks (e.g.\n`10.0.0.0/8`, `172.16.0.0/12`, `192.168.0.0/16`) to pick a specific range\nto use."
},
"servicesIpv4Cidr": {
"type": "string",
"description": "This field is deprecated, use services_ipv4_cidr_block."
},
"servicesSecondaryRangeName": {
"description": "The name of the secondary range to be used as for the services\nCIDR block. The secondary range will be used for service\nClusterIPs. This must be an existing secondary range associated\nwith the cluster subnetwork.\n\nThis field is only applicable with use_ip_aliases is true and\ncreate_subnetwork is false.",
"type": "string"
},
"useIpAliases": {
"description": "Whether alias IPs will be used for pod IPs in the cluster.",
"type": "boolean"
},
"createSubnetwork": {
"description": "Whether a new subnetwork will be created automatically for the cluster.\n\nThis field is only applicable when `use_ip_aliases` is true.",
"type": "boolean"
}
},
"id": "IPAllocationPolicy",
"description": "Configuration for controlling how IPs are allocated in the cluster."
},
"ClusterUpdate": {
"type": "object",
"properties": {
"desiredNodePoolId": {
"type": "string",
"description": "The node pool to be upgraded. This field is mandatory if\n\"desired_node_version\", \"desired_image_family\" or\n\"desired_node_pool_autoscaling\" is specified and there is more than one\nnode pool on the cluster."
},
"desiredNodeVersion": {
"type": "string",
"description": "The Kubernetes version to change the nodes to (typically an\nupgrade). Use `-` to upgrade to the latest version supported by\nthe server."
},
"desiredMasterVersion": {
"description": "The Kubernetes version to change the master to. The only valid value is the\nlatest supported version. Use \"-\" to have the server automatically select\nthe latest version.",
"type": "string"
},
"desiredMasterAuthorizedNetworksConfig": {
"$ref": "MasterAuthorizedNetworksConfig",
"description": "Master authorized networks is a Beta feature.\nThe desired configuration options for master authorized networks feature."
},
"desiredNodePoolAutoscaling": {
"$ref": "NodePoolAutoscaling",
"description": "Autoscaler configuration for the node pool specified in\ndesired_node_pool_id. If there is only one pool in the\ncluster and desired_node_pool_id is not provided then\nthe change applies to that single node pool."
},
"desiredLocations": {
"description": "The desired list of Google Compute Engine\n[locations](/compute/docs/zones#available) in which the cluster's nodes\nshould be located. Changing the locations a cluster is in will result\nin nodes being either created or removed from the cluster, depending on\nwhether locations are being added or removed.\n\nThis list must always include the cluster's primary zone.",
"items": {
"type": "string"
},
"type": "array"
},
"desiredMonitoringService": {
"type": "string",
"description": "The monitoring service the cluster should use to write metrics.\nCurrently available options:\n\n* \"monitoring.googleapis.com\" - the Google Cloud Monitoring service\n* \"none\" - no metrics will be exported from the cluster"
},
"desiredImageType": {
"type": "string",
"description": "The desired image type for the node pool.\nNOTE: Set the \"desired_node_pool\" field as well."
},
"desiredAddonsConfig": {
"$ref": "AddonsConfig",
"description": "Configurations for the various addons available to run in the cluster."
}
},
"id": "ClusterUpdate",
"description": "ClusterUpdate describes an update to the cluster. Exactly one update can\nbe applied to a cluster with each request, so at most one field can be\nprovided."
},
"HorizontalPodAutoscaling": {
"description": "Configuration options 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.",
"type": "object",
"properties": {
"disabled": {
"type": "boolean",
"description": "Whether the Horizontal Pod Autoscaling feature is enabled in the cluster.\nWhen enabled, it ensures that a Heapster pod is running in the cluster,\nwhich is also used by the Cloud Monitoring service."
}
},
"id": "HorizontalPodAutoscaling"
},
"SetNodePoolManagementRequest": {
"description": "SetNodePoolManagementRequest sets the node management properties of a node\npool.",
"type": "object",
"properties": {
"management": {
"$ref": "NodeManagement",
"description": "NodeManagement configuration for the node pool."
}
},
"id": "SetNodePoolManagementRequest"
},
"MasterAuthorizedNetworksConfig": {
"type": "object",
"properties": {
"cidrBlocks": {
"items": {
"$ref": "CidrBlock"
},
"type": "array",
"description": "cidr_blocks define up to 10 external networks that could access\nKubernetes master through HTTPS."
},
"enabled": {
"description": "Whether or not master authorized networks is enabled.",
"type": "boolean"
}
},
"id": "MasterAuthorizedNetworksConfig",
"description": "Master authorized networks is a Beta feature.\nConfiguration options for the master authorized networks feature. Enabled\nmaster authorized networks will disallow all external traffic to access\nKubernetes master through HTTPS except traffic from the given CIDR blocks,\nGoogle Compute Engine Public IPs and Google Prod IPs."
},
"SetNodePoolAutoscalingRequest": {
"type": "object",
"properties": {
"autoscaling": {
"$ref": "NodePoolAutoscaling",
"description": "Autoscaling configuration for the node pool."
}
},
"id": "SetNodePoolAutoscalingRequest",
"description": "SetNodePoolAutoscalingRequest sets the autoscaler settings of a node pool."
},
"CreateClusterRequest": {
"type": "object",
"properties": {
"cluster": {
"$ref": "Cluster",
"description": "A [cluster\nresource](/container-engine/reference/rest/v1/projects.zones.clusters)"
}
},
"id": "CreateClusterRequest",
"description": "CreateClusterRequest creates a cluster."
},
"UpdateNodePoolRequest": {
"description": "UpdateNodePoolRequests update a node pool's image and/or version.",
"type": "object",
"properties": {
"nodeVersion": {
"description": "The Kubernetes version to change the nodes to (typically an\nupgrade). Use `-` to upgrade to the latest version supported by\nthe server.",
"type": "string"
},
"imageType": {
"description": "The desired image type for the node pool.",
"type": "string"
}
},
"id": "UpdateNodePoolRequest"
},
"AcceleratorConfig": {
"type": "object",
"properties": {
"acceleratorType": {
"description": "The accelerator type resource name. List of supported accelerators\n[here](/compute/docs/gpus/#Introduction)",
"type": "string"
},
"acceleratorCount": {
"format": "int64",
"description": "The number of the accelerator cards exposed to an instance.",
"type": "string"
}
},
"id": "AcceleratorConfig",
"description": "AcceleratorConfig represents a Hardware Accelerator request."
},
"LegacyAbac": {
"description": "Configuration for the legacy Attribute Based Access Control authorization\nmode.",
"type": "object",
"properties": {
"enabled": {
"type": "boolean",
"description": "Whether the ABAC authorizer is enabled for this cluster. When enabled,\nidentities in the system, including service accounts, nodes, and\ncontrollers, will have statically granted permissions beyond those\nprovided by the RBAC configuration or IAM."
}
},
"id": "LegacyAbac"
},
"SetAddonsConfigRequest": {
"description": "SetAddonsConfigRequest sets the addons associated with the cluster.",
"type": "object",
"properties": {
"addonsConfig": {
"$ref": "AddonsConfig",
"description": "The desired configurations for the various addons available to run in the\ncluster."
}
},
"id": "SetAddonsConfigRequest"
},
"SetLegacyAbacRequest": {
"description": "SetLegacyAbacRequest enables or disables the ABAC authorization mechanism for\na cluster.",
"type": "object",
"properties": {
"enabled": {
"description": "Whether ABAC authorization will be enabled in the cluster.",
"type": "boolean"
}
},
"id": "SetLegacyAbacRequest"
},
"AddonsConfig": {
"description": "Configuration for the addons that can be automatically spun up in the\ncluster, enabling additional functionality.",
"type": "object",
"properties": {
"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."
},
"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."
}
},
"id": "AddonsConfig"
},
"SetLocationsRequest": {
"type": "object",
"properties": {
"locations": {
"description": "The desired list of Google Compute Engine\n[locations](/compute/docs/zones#available) in which the cluster's nodes\nshould be located. Changing the locations a cluster is in will result\nin nodes being either created or removed from the cluster, depending on\nwhether locations are being added or removed.\n\nThis list must always include the cluster's primary zone.",
"items": {
"type": "string"
},
"type": "array"
}
},
"id": "SetLocationsRequest",
"description": "SetLocationsRequest sets the locations of the cluster."
},
"SetNodePoolSizeRequest": {
"description": "SetNodePoolSizeRequest sets the size a node\npool.",
"type": "object",
"properties": {
"nodeCount": {
"format": "int32",
"description": "The desired node count for the pool.",
"type": "integer"
}
},
"id": "SetNodePoolSizeRequest"
},
"NetworkPolicyConfig": {
"type": "object",
"properties": {
"disabled": {
"description": "Whether NetworkPolicy is enabled for this cluster.",
"type": "boolean"
}
},
"id": "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."
},
"UpdateClusterRequest": {
"description": "UpdateClusterRequest updates the settings of a cluster.",
"type": "object",
"properties": {
"update": {
"$ref": "ClusterUpdate",
"description": "A description of the update."
}
},
"id": "UpdateClusterRequest"
},
"Cluster": {
"type": "object",
"properties": {
"nodeConfig": {
"$ref": "NodeConfig",
"description": "Parameters used in creating the cluster's nodes.\nSee `nodeConfig` for the description of its properties.\nFor requests, this field should only be used in lieu of a\n\"node_pool\" object, since this configuration (along with the\n\"initial_node_count\") will be used to create a \"NodePool\" object with an\nauto-generated name. Do not use this and a node_pool at the same time.\nFor responses, this field will be populated with the node configuration of\nthe first node pool.\n\nIf unspecified, the defaults are used."
},
"addonsConfig": {
"$ref": "AddonsConfig",
"description": "Configurations for the various addons available to run in the cluster."
},
"status": {
"type": "string",
"enumDescriptions": [
"Not set.",
"The PROVISIONING state indicates the cluster is being created.",
"The RUNNING state indicates the cluster has been created and is fully\nusable.",
"The RECONCILING state indicates that some work is actively being done on\nthe cluster, such as upgrading the master or node software. Details can\nbe found in the `statusMessage` field.",
"The STOPPING state indicates the cluster is being deleted.",
"The ERROR state indicates the cluster may be unusable. Details\ncan be found in the `statusMessage` field."
],
"enum": [
"STATUS_UNSPECIFIED",
"PROVISIONING",
"RUNNING",
"RECONCILING",
"STOPPING",
"ERROR"
],
"description": "[Output only] The current status of this cluster."
},
"currentNodeVersion": {
"description": "[Output only] The current version of the node software components.\nIf they are currently at multiple versions because they're in the process\nof being upgraded, this reflects the minimum version of all nodes.",
"type": "string"
},
"subnetwork": {
"type": "string",
"description": "The name of the Google Compute Engine\n[subnetwork](/compute/docs/subnetworks) to which the\ncluster is connected."
},
"name": {
"description": "The name of this cluster. The name must be unique within this project\nand zone, and can be up to 40 characters with the following restrictions:\n\n* Lowercase letters, numbers, and hyphens only.\n* Must start with a letter.\n* Must end with a number or a letter.",
"type": "string"
},
"resourceLabels": {
"additionalProperties": {
"type": "string"
},
"description": "The resource labels for the cluster to use to annotate any related\nGoogle Compute Engine resources.",
"type": "object"
},
"maintenancePolicy": {
"$ref": "MaintenancePolicy",
"description": "Configure the maintenance policy for this cluster."
},
"initialClusterVersion": {
"description": "The initial Kubernetes version for this cluster. Valid versions are those\nfound in validMasterVersions returned by getServerConfig. The version can\nbe upgraded over time; such upgrades are reflected in\ncurrentMasterVersion and currentNodeVersion.",
"type": "string"
},
"ipAllocationPolicy": {
"$ref": "IPAllocationPolicy",
"description": "Configuration for cluster IP allocation."
},
"legacyAbac": {
"$ref": "LegacyAbac",
"description": "Configuration for the legacy ABAC authorization mode."
},
"endpoint": {
"type": "string",
"description": "[Output only] The IP address of this cluster's master endpoint.\nThe endpoint can be accessed from the internet at\n`https://username:password@endpoint/`.\n\nSee the `masterAuth` property of this resource for username and\npassword information."
},
"createTime": {
"description": "[Output only] The time the cluster was created, in\n[RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.",
"type": "string"
},
"clusterIpv4Cidr": {
"type": "string",
"description": "The IP address range of the container pods in this cluster, in\n[CIDR](http://en.wikipedia.org/wiki/Classless_Inter-Domain_Routing)\nnotation (e.g. `10.96.0.0/14`). Leave blank to have\none automatically chosen or specify a `/14` block in `10.0.0.0/8`."
},
"initialNodeCount": {
"type": "integer",
"format": "int32",
"description": "The number of nodes to create in this cluster. You must ensure that your\nCompute Engine \u003ca href=\"/compute/docs/resource-quotas\"\u003eresource quota\u003c/a\u003e\nis sufficient for this number of instances. You must also have available\nfirewall and routes quota.\nFor requests, this field should only be used in lieu of a\n\"node_pool\" object, since this configuration (along with the\n\"node_config\") will be used to create a \"NodePool\" object with an\nauto-generated name. Do not use this and a node_pool at the same time."
},
"nodePools": {
"items": {
"$ref": "NodePool"
},
"type": "array",
"description": "The node pools associated with this cluster.\nThis field should not be set if \"node_config\" or \"initial_node_count\" are\nspecified."
},
"locations": {
"items": {
"type": "string"
},
"type": "array",
"description": "The list of Google Compute Engine\n[locations](/compute/docs/zones#available) in which the cluster's nodes\nshould be located."
},
"selfLink": {
"description": "[Output only] Server-defined URL for the resource.",
"type": "string"
},
"instanceGroupUrls": {
"items": {
"type": "string"
},
"type": "array",
"description": "[Output only] The resource URLs of [instance\ngroups](/compute/docs/instance-groups/) associated with this\ncluster."
},
"servicesIpv4Cidr": {
"type": "string",
"description": "[Output only] The IP address range of the Kubernetes services in\nthis cluster, in\n[CIDR](http://en.wikipedia.org/wiki/Classless_Inter-Domain_Routing)\nnotation (e.g. `1.2.3.4/29`). Service addresses are\ntypically put in the last `/16` from the container CIDR."
},
"networkPolicy": {
"$ref": "NetworkPolicy",
"description": "Configuration options for the NetworkPolicy feature."
},
"enableKubernetesAlpha": {
"type": "boolean",
"description": "Kubernetes alpha features are enabled on this cluster. This includes alpha\nAPI groups (e.g. v1alpha1) and features that may not be production ready in\nthe kubernetes version of the master and nodes.\nThe cluster has no SLA for uptime and master/node upgrades are disabled.\nAlpha enabled clusters are automatically deleted thirty days after\ncreation."
},
"description": {
"type": "string",
"description": "An optional description of this cluster."
},
"currentNodeCount": {
"type": "integer",
"format": "int32",
"description": "[Output only] The number of nodes currently in the cluster."
},
"monitoringService": {
"description": "The monitoring service the cluster should use to write metrics.\nCurrently available options:\n\n* `monitoring.googleapis.com` - the Google Cloud Monitoring service.\n* `none` - no metrics will be exported from the cluster.\n* if left as an empty string, `monitoring.googleapis.com` will be used.",
"type": "string"
},
"network": {
"description": "The name of the Google Compute Engine\n[network](/compute/docs/networks-and-firewalls#networks) to which the\ncluster is connected. If left unspecified, the `default` network\nwill be used.",
"type": "string"
},
"labelFingerprint": {
"type": "string",
"description": "The fingerprint of the set of labels for this cluster."
},
"zone": {
"description": "[Output only] The name of the Google Compute Engine\n[zone](/compute/docs/zones#available) in which the cluster\nresides.",
"type": "string"
},
"expireTime": {
"description": "[Output only] The time the cluster will be automatically\ndeleted in [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.",
"type": "string"
},
"loggingService": {
"description": "The logging service the cluster should use to write logs.\nCurrently available options:\n\n* `logging.googleapis.com` - the Google Cloud Logging service.\n* `none` - no logs will be exported from the cluster.\n* if left as an empty string,`logging.googleapis.com` will be used.",
"type": "string"
},
"nodeIpv4CidrSize": {
"format": "int32",
"description": "[Output only] The size of the address space on each node for hosting\ncontainers. This is provisioned from within the `container_ipv4_cidr`\nrange.",
"type": "integer"
},
"masterAuthorizedNetworksConfig": {
"$ref": "MasterAuthorizedNetworksConfig",
"description": "Master authorized networks is a Beta feature.\nThe configuration options for master authorized networks feature."
},
"statusMessage": {
"description": "[Output only] Additional information about the current status of this\ncluster, if available.",
"type": "string"
},
"masterAuth": {
"$ref": "MasterAuth",
"description": "The authentication information for accessing the master endpoint."
},
"currentMasterVersion": {
"type": "string",
"description": "[Output only] The current software version of the master endpoint."
}
},
"id": "Cluster",
"description": "A Google Container Engine cluster."
},
"CreateNodePoolRequest": {
"description": "CreateNodePoolRequest creates a node pool for a cluster.",
"type": "object",
"properties": {
"nodePool": {
"$ref": "NodePool",
"description": "The node pool to create."
}
},
"id": "CreateNodePoolRequest"
},
"MasterAuth": {
"type": "object",
"properties": {
"password": {
"description": "The password to use for HTTP basic authentication to the master endpoint.\nBecause the master endpoint is open to the Internet, you should create a\nstrong password. If a password is provided for cluster creation, username\nmust be non-empty.",
"type": "string"
},
"clientCertificateConfig": {
"$ref": "ClientCertificateConfig",
"description": "Configuration for client certificate authentication on the cluster. If no\nconfiguration is specified, a client certificate is issued."
},
"clientKey": {
"description": "[Output only] Base64-encoded private key used by clients to authenticate\nto the cluster endpoint.",
"type": "string"
},
"clusterCaCertificate": {
"description": "[Output only] Base64-encoded public certificate that is the root of\ntrust for the cluster.",
"type": "string"
},
"clientCertificate": {
"type": "string",
"description": "[Output only] Base64-encoded public certificate used by clients to\nauthenticate to the cluster endpoint."
},
"username": {
"description": "The username to use for HTTP basic authentication to the master endpoint.\nFor clusters v1.6.0 and later, you can disable basic authentication by\nproviding an empty username.",
"type": "string"
}
},
"id": "MasterAuth",
"description": "The authentication information for accessing the master endpoint.\nAuthentication can be done using HTTP basic auth or using client\ncertificates."
},
"DailyMaintenanceWindow": {
"description": "Time window specified for daily maintenance operations.",
"type": "object",
"properties": {
"startTime": {
"description": "Time within the maintenance window to start the maintenance operations.\nTime format should be in [RFC3339](https://www.ietf.org/rfc/rfc3339.txt)\nformat \"HH:MM”, where HH : [00-23] and MM : [00-59] GMT.",
"type": "string"
},
"duration": {
"type": "string",
"description": "[Output only] Duration of the time window, automatically chosen to be\nsmallest possible in the given scenario.\nDuration will be in [RFC3339](https://www.ietf.org/rfc/rfc3339.txt)\nformat \"PTnHnMnS\"."
}
},
"id": "DailyMaintenanceWindow"
},
"MaintenancePolicy": {
"description": "MaintenancePolicy defines the maintenance policy to be used for the cluster.",
"type": "object",
"properties": {
"window": {
"$ref": "MaintenanceWindow",
"description": "Specifies the maintenance window in which maintenance may be performed."
}
},
"id": "MaintenancePolicy"
},
"ClientCertificateConfig": {
"type": "object",
"properties": {
"issueClientCertificate": {
"description": "Issue a client certificate.",
"type": "boolean"
}
},
"id": "ClientCertificateConfig",
"description": "Configuration for client certificates on the cluster."
},
"SetLoggingServiceRequest": {
"type": "object",
"properties": {
"loggingService": {
"type": "string",
"description": "The logging service the cluster should use to write metrics.\nCurrently available options:\n\n* \"logging.googleapis.com\" - the Google Cloud Logging service\n* \"none\" - no metrics will be exported from the cluster"
}
},
"id": "SetLoggingServiceRequest",
"description": "SetLoggingServiceRequest sets the logging service of a cluster."
},
"SetMaintenancePolicyRequest": {
"type": "object",
"properties": {
"maintenancePolicy": {
"$ref": "MaintenancePolicy",
"description": "The maintenance policy to be set for the cluster. An empty field\nclears the existing maintenance policy."
}
},
"id": "SetMaintenancePolicyRequest",
"description": "SetMaintenancePolicyRequest sets the maintenance policy for a cluster."
},
"Empty": {
"type": "object",
"properties": {},
"id": "Empty",
"description": "A generic empty message that you can re-use to avoid defining duplicated\nempty messages in your APIs. A typical example is to use it as the request\nor the response type of an API method. For instance:\n\n service Foo {\n rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty);\n }\n\nThe JSON representation for `Empty` is empty JSON object `{}`."
}
},
"protocol": "rest",
"icons": {
"x16": "http://www.google.com/images/icons/product/search-16.gif",
"x32": "http://www.google.com/images/icons/product/search-32.gif"
},
"version": "v1",
"baseUrl": "https://container.googleapis.com/",
"canonicalName": "Container",
"auth": {
"oauth2": {
"scopes": {
"https://www.googleapis.com/auth/cloud-platform": {
"description": "View and manage your data across Google Cloud Platform services"
}
}
}
},
"servicePath": "",
"description": "The Google Container Engine API is used for building and managing container based applications, powered by the open source Kubernetes technology.",
"kind": "discovery#restDescription"
}