Index: discovery/googleapis/container__v1.json |
diff --git a/discovery/googleapis_beta/container__v1beta1.json b/discovery/googleapis/container__v1.json |
similarity index 58% |
copy from discovery/googleapis_beta/container__v1beta1.json |
copy to discovery/googleapis/container__v1.json |
index 083b0acb87a8628af3711260f3abfffe254f4382..f81c66c8c469c2d302d0a88adbd00efbc7a14541 100644 |
--- a/discovery/googleapis_beta/container__v1beta1.json |
+++ b/discovery/googleapis/container__v1.json |
@@ -8,35 +8,49 @@ |
} |
} |
}, |
- "basePath": "/container/v1beta1/projects/", |
- "baseUrl": "https://www.googleapis.com/container/v1beta1/projects/", |
+ "basePath": "", |
+ "baseUrl": "https://container.googleapis.com/", |
"batchPath": "batch", |
"description": "The Google Container Engine API is used for building and managing container based applications, powered by the open source Kubernetes technology.", |
"discoveryVersion": "v1", |
- "documentationLink": "https://cloud.google.com/container-engine/docs/v1beta1/", |
- "etag": "\"ye6orv2F-1npMW3u9suM3a7C5Bo/jvQWc8RdAvx_0wc81-C9InNwieA\"", |
+ "documentationLink": "https://cloud.google.com/container-engine/", |
+ "etag": "\"ye6orv2F-1npMW3u9suM3a7C5Bo/6g1NnM2JgMMXgWbO_PX25Eu0zKs\"", |
"icons": { |
"x16": "http://www.google.com/images/icons/product/search-16.gif", |
"x32": "http://www.google.com/images/icons/product/search-32.gif" |
}, |
- "id": "container:v1beta1", |
+ "id": "container:v1", |
"kind": "discovery#restDescription", |
"name": "container", |
"ownerDomain": "google.com", |
"ownerName": "Google", |
"parameters": { |
+ "access_token": { |
+ "description": "OAuth access token.", |
+ "location": "query", |
+ "type": "string" |
+ }, |
"alt": { |
"default": "json", |
- "description": "Data format for the response.", |
- "enum": [ |
- "json" |
- ], |
+ "description": "Data format for response.", |
"enumDescriptions": [ |
- "Responses with Content-Type of application/json" |
+ "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" |
}, |
+ "bearer_token": { |
+ "description": "OAuth bearer token.", |
+ "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", |
@@ -52,6 +66,12 @@ |
"location": "query", |
"type": "string" |
}, |
+ "pp": { |
+ "default": "true", |
+ "description": "Pretty-print response.", |
+ "location": "query", |
+ "type": "boolean" |
+ }, |
"prettyPrint": { |
"default": "true", |
"description": "Returns response with indentations and line breaks.", |
@@ -59,12 +79,26 @@ |
"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. Overrides userIp if both are provided.", |
+ "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" |
+ }, |
+ "upload_protocol": { |
+ "description": "Upload protocol for media (e.g. \"raw\", \"multipart\").", |
"location": "query", |
"type": "string" |
}, |
- "userIp": { |
- "description": "IP address of the site where the request originates. Use this if you want to enforce per-user limits.", |
+ "uploadType": { |
+ "description": "Legacy upload protocol for media (e.g. \"media\", \"multipart\").", |
+ "location": "query", |
+ "type": "string" |
+ }, |
+ "$.xgafv": { |
+ "description": "V1 error format.", |
+ "enumDescriptions": [ |
+ "v1 error format", |
+ "v2 error format" |
+ ], |
"location": "query", |
"type": "string" |
} |
@@ -73,127 +107,103 @@ |
"resources": { |
"projects": { |
"resources": { |
- "clusters": { |
- "methods": { |
- "list": { |
- "description": "Lists all clusters owned by a project across all zones.", |
- "httpMethod": "GET", |
- "id": "container.projects.clusters.list", |
- "parameterOrder": [ |
- "projectId" |
- ], |
- "parameters": { |
- "projectId": { |
- "description": "The Google Developers Console project ID or project number.", |
- "location": "path", |
- "required": true, |
- "type": "string" |
- } |
- }, |
- "path": "{projectId}/clusters", |
- "response": { |
- "$ref": "ListAggregatedClustersResponse" |
- }, |
- "scopes": [ |
- "https://www.googleapis.com/auth/cloud-platform" |
- ] |
- } |
- } |
- }, |
- "operations": { |
- "methods": { |
- "list": { |
- "description": "Lists all operations in a project, across all zones.", |
- "httpMethod": "GET", |
- "id": "container.projects.operations.list", |
- "parameterOrder": [ |
- "projectId" |
- ], |
- "parameters": { |
- "projectId": { |
- "description": "The Google Developers Console project ID or project number.", |
- "location": "path", |
- "required": true, |
- "type": "string" |
- } |
- }, |
- "path": "{projectId}/operations", |
- "response": { |
- "$ref": "ListAggregatedOperationsResponse" |
- }, |
- "scopes": [ |
- "https://www.googleapis.com/auth/cloud-platform" |
- ] |
- } |
- } |
- }, |
"zones": { |
"resources": { |
"clusters": { |
"methods": { |
- "create": { |
- "description": "Creates a cluster, consisting of the specified number and type of Google Compute Engine instances, plus a Kubernetes master instance.\n\nThe cluster is created in the project's default network.\n\nA firewall is added that allows traffic into port 443 on the master, which enables HTTPS. A firewall and a route is added for each node to allow the containers on that node to communicate with all other instances in the cluster.\n\nFinally, an entry is added to the project's global metadata indicating which CIDR range is being used by the cluster.", |
- "httpMethod": "POST", |
- "id": "container.projects.zones.clusters.create", |
+ "list": { |
+ "description": "Lists all clusters owned by a project in either the specified zone or all zones.", |
+ "httpMethod": "GET", |
+ "id": "container.projects.zones.clusters.list", |
"parameterOrder": [ |
"projectId", |
- "zoneId" |
+ "zone" |
], |
"parameters": { |
"projectId": { |
- "description": "The Google Developers Console project ID or project number.", |
+ "description": "The Google Developers Console [project ID](https://console.developers.google.com/project) or [project number](https://developers.google.com/console/help/project-number)", |
"location": "path", |
"required": true, |
"type": "string" |
}, |
- "zoneId": { |
- "description": "The name of the Google Compute Engine zone in which the cluster resides.", |
+ "zone": { |
+ "description": "The name of the Google Compute Engine [zone](/compute/docs/zones#available) in which the cluster resides, or \"-\" for all zones.", |
"location": "path", |
"required": true, |
"type": "string" |
} |
}, |
- "path": "{projectId}/zones/{zoneId}/clusters", |
- "request": { |
- "$ref": "CreateClusterRequest" |
- }, |
+ "path": "v1/projects/{projectId}/zones/{zone}/clusters", |
"response": { |
- "$ref": "Operation" |
+ "$ref": "ListClustersResponse" |
}, |
"scopes": [ |
"https://www.googleapis.com/auth/cloud-platform" |
] |
}, |
- "delete": { |
- "description": "Deletes the cluster, including the Kubernetes master and all worker nodes.\n\nFirewalls and routes that were configured at cluster creation are also deleted.", |
- "httpMethod": "DELETE", |
- "id": "container.projects.zones.clusters.delete", |
+ "get": { |
+ "description": "Gets a specific cluster.", |
+ "httpMethod": "GET", |
+ "id": "container.projects.zones.clusters.get", |
"parameterOrder": [ |
"projectId", |
- "zoneId", |
+ "zone", |
"clusterId" |
], |
"parameters": { |
- "clusterId": { |
- "description": "The name of the cluster to delete.", |
+ "projectId": { |
+ "description": "The Google Developers Console A [project ID](https://console.developers.google.com/project) or [project number](https://developers.google.com/console/help/project-number)", |
"location": "path", |
"required": true, |
"type": "string" |
}, |
+ "zone": { |
+ "description": "The name of the Google Compute Engine [zone](/compute/docs/zones#available) in which the cluster resides.", |
+ "location": "path", |
+ "required": true, |
+ "type": "string" |
+ }, |
+ "clusterId": { |
+ "description": "The name of the cluster to retrieve.", |
+ "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" |
+ ] |
+ }, |
+ "create": { |
+ "description": "Creates a cluster, consisting of the specified number and type of Google Compute Engine instances, plus a Kubernetes master endpoint. By default, the cluster is created in the project's [default network]('/compute/docs/networking#networks_1'). One firewall is added for the cluster. After cluster creation, the cluster creates routes for each node to allow the containers on that node to communicate with all other instances in the cluster. Finally, an entry is added to the project's global metadata indicating which CIDR range is being used by the cluster.", |
+ "httpMethod": "POST", |
+ "id": "container.projects.zones.clusters.create", |
+ "parameterOrder": [ |
+ "projectId", |
+ "zone" |
+ ], |
+ "parameters": { |
"projectId": { |
- "description": "The Google Developers Console project ID or project number.", |
+ "description": "The Google Developers Console [project ID](https://console.developers.google.com/project) or [project number](https://developers.google.com/console/help/project-number)", |
"location": "path", |
"required": true, |
"type": "string" |
}, |
- "zoneId": { |
- "description": "The name of the Google Compute Engine zone in which the cluster resides.", |
+ "zone": { |
+ "description": "The name of the Google Compute Engine [zone](/compute/docs/zones#available) in which the cluster resides.", |
"location": "path", |
"required": true, |
"type": "string" |
} |
}, |
- "path": "{projectId}/zones/{zoneId}/clusters/{clusterId}", |
+ "path": "v1/projects/{projectId}/zones/{zone}/clusters", |
+ "request": { |
+ "$ref": "CreateClusterRequest" |
+ }, |
"response": { |
"$ref": "Operation" |
}, |
@@ -201,68 +211,78 @@ |
"https://www.googleapis.com/auth/cloud-platform" |
] |
}, |
- "get": { |
- "description": "Gets a specific cluster.", |
- "httpMethod": "GET", |
- "id": "container.projects.zones.clusters.get", |
+ "update": { |
+ "description": "Update settings of a specific cluster.", |
+ "httpMethod": "PUT", |
+ "id": "container.projects.zones.clusters.update", |
"parameterOrder": [ |
"projectId", |
- "zoneId", |
+ "zone", |
"clusterId" |
], |
"parameters": { |
- "clusterId": { |
- "description": "The name of the cluster to retrieve.", |
+ "projectId": { |
+ "description": "The Google Developers Console [project ID](https://console.developers.google.com/project) or [project number](https://developers.google.com/console/help/project-number)", |
"location": "path", |
"required": true, |
"type": "string" |
}, |
- "projectId": { |
- "description": "The Google Developers Console project ID or project number.", |
+ "zone": { |
+ "description": "The name of the Google Compute Engine [zone](/compute/docs/zones#available) in which the cluster resides.", |
"location": "path", |
"required": true, |
"type": "string" |
}, |
- "zoneId": { |
- "description": "The name of the Google Compute Engine zone in which the cluster resides.", |
+ "clusterId": { |
+ "description": "The name of the cluster to upgrade.", |
"location": "path", |
"required": true, |
"type": "string" |
} |
}, |
- "path": "{projectId}/zones/{zoneId}/clusters/{clusterId}", |
+ "path": "v1/projects/{projectId}/zones/{zone}/clusters/{clusterId}", |
+ "request": { |
+ "$ref": "UpdateClusterRequest" |
+ }, |
"response": { |
- "$ref": "Cluster" |
+ "$ref": "Operation" |
}, |
"scopes": [ |
"https://www.googleapis.com/auth/cloud-platform" |
] |
}, |
- "list": { |
- "description": "Lists all clusters owned by a project in the specified zone.", |
- "httpMethod": "GET", |
- "id": "container.projects.zones.clusters.list", |
+ "delete": { |
+ "description": "Deletes the cluster, including the Kubernetes endpoint and all worker nodes. Firewalls and routes that were configured during cluster creation are also deleted.", |
+ "httpMethod": "DELETE", |
+ "id": "container.projects.zones.clusters.delete", |
"parameterOrder": [ |
"projectId", |
- "zoneId" |
+ "zone", |
+ "clusterId" |
], |
"parameters": { |
"projectId": { |
- "description": "The Google Developers Console project ID or project number.", |
+ "description": "The Google Developers Console [project ID](https://console.developers.google.com/project) or [project number](https://developers.google.com/console/help/project-number)", |
"location": "path", |
"required": true, |
"type": "string" |
}, |
- "zoneId": { |
- "description": "The name of the Google Compute Engine zone in which the cluster resides.", |
+ "zone": { |
+ "description": "The name of the Google Compute Engine [zone](/compute/docs/zones#available) in which the cluster resides.", |
+ "location": "path", |
+ "required": true, |
+ "type": "string" |
+ }, |
+ "clusterId": { |
+ "description": "The name of the cluster to delete.", |
"location": "path", |
"required": true, |
"type": "string" |
} |
}, |
- "path": "{projectId}/zones/{zoneId}/clusters", |
+ "path": "v1/projects/{projectId}/zones/{zone}/clusters/{clusterId}", |
"response": { |
- "$ref": "ListClustersResponse" |
+ "$ref": "Operation" |
}, |
"scopes": [ |
"https://www.googleapis.com/auth/cloud-platform" |
@@ -272,68 +292,68 @@ |
}, |
"operations": { |
"methods": { |
- "get": { |
- "description": "Gets the specified operation.", |
+ "list": { |
+ "description": "Lists all operations in a project in a specific zone or all zones.", |
"httpMethod": "GET", |
- "id": "container.projects.zones.operations.get", |
+ "id": "container.projects.zones.operations.list", |
"parameterOrder": [ |
"projectId", |
- "zoneId", |
- "operationId" |
+ "zone" |
], |
"parameters": { |
- "operationId": { |
- "description": "The server-assigned name of the operation.", |
- "location": "path", |
- "required": true, |
- "type": "string" |
- }, |
"projectId": { |
- "description": "The Google Developers Console project ID or project number.", |
+ "description": "The Google Developers Console [project ID](https://console.developers.google.com/project) or [project number](https://developers.google.com/console/help/project-number)", |
"location": "path", |
"required": true, |
"type": "string" |
}, |
- "zoneId": { |
- "description": "The name of the Google Compute Engine zone in which the operation resides. This is always the same zone as the cluster with which the operation is associated.", |
+ "zone": { |
+ "description": "The name of the Google Compute Engine [zone](/compute/docs/zones#available) to return operations for, or \"-\" for all zones.", |
"location": "path", |
"required": true, |
"type": "string" |
} |
}, |
- "path": "{projectId}/zones/{zoneId}/operations/{operationId}", |
+ "path": "v1/projects/{projectId}/zones/{zone}/operations", |
"response": { |
- "$ref": "Operation" |
+ "$ref": "ListOperationsResponse" |
}, |
"scopes": [ |
"https://www.googleapis.com/auth/cloud-platform" |
] |
}, |
- "list": { |
- "description": "Lists all operations in a project in a specific zone.", |
+ "get": { |
+ "description": "Gets the specified operation.", |
"httpMethod": "GET", |
- "id": "container.projects.zones.operations.list", |
+ "id": "container.projects.zones.operations.get", |
"parameterOrder": [ |
"projectId", |
- "zoneId" |
+ "zone", |
+ "operationId" |
], |
"parameters": { |
"projectId": { |
- "description": "The Google Developers Console project ID or project number.", |
+ "description": "The Google Developers Console [project ID](https://console.developers.google.com/project) or [project number](https://developers.google.com/console/help/project-number)", |
"location": "path", |
"required": true, |
"type": "string" |
}, |
- "zoneId": { |
- "description": "The name of the Google Compute Engine zone to return operations for.", |
+ "zone": { |
+ "description": "The name of the Google Compute Engine [zone](/compute/docs/zones#available) in which the cluster resides.", |
+ "location": "path", |
+ "required": true, |
+ "type": "string" |
+ }, |
+ "operationId": { |
+ "description": "The server-assigned `name` of the operation.", |
"location": "path", |
"required": true, |
"type": "string" |
} |
}, |
- "path": "{projectId}/zones/{zoneId}/operations", |
+ "path": "v1/projects/{projectId}/zones/{zone}/operations/{operationId}", |
"response": { |
- "$ref": "ListOperationsResponse" |
+ "$ref": "Operation" |
}, |
"scopes": [ |
"https://www.googleapis.com/auth/cloud-platform" |
@@ -346,164 +366,144 @@ |
} |
} |
}, |
- "revision": "20150624", |
- "rootUrl": "https://www.googleapis.com/", |
+ "revision": "20150605", |
+ "rootUrl": "https://container.googleapis.com/", |
"schemas": { |
+ "ListClustersResponse": { |
+ "description": "ListClustersResponse is the result of ListClustersRequest.", |
+ "id": "ListClustersResponse", |
+ "properties": { |
+ "clusters": { |
+ "description": "A list of clusters in the project in the specified zone, or across all ones.", |
+ "items": { |
+ "$ref": "Cluster" |
+ }, |
+ "type": "array" |
+ } |
+ }, |
+ "type": "object" |
+ }, |
"Cluster": { |
+ "description": "A Google Container Engine cluster.", |
"id": "Cluster", |
"properties": { |
- "clusterApiVersion": { |
- "description": "The API version of the Kubernetes master and kubelets running in this cluster. Leave blank to pick up the latest stable release, or specify a version of the form \"x.y.z\". The Google Container Engine release notes lists the currently supported versions. If an incorrect version is specified, the server returns an error listing the currently supported versions.", |
- "type": "string" |
- }, |
- "containerIpv4Cidr": { |
- "description": "The IP address range of the container pods in this cluster, in CIDR notation (e.g. 10.96.0.0/14). Leave blank to have one automatically chosen or specify a /14 block in 10.0.0.0/8 or 172.16.0.0/12.", |
- "type": "string" |
- }, |
- "creationTimestamp": { |
- "description": "[Output only] The time the cluster was created, in RFC3339 text format.", |
+ "name": { |
+ "description": "The name of this cluster. The name must be unique within this project and zone, and can be up to 40 characters with the following restrictions: * Lowercase letters, numbers, and hyphens only. * Must start with a letter. * Must end with a number or a letter.", |
"type": "string" |
}, |
"description": { |
"description": "An optional description of this cluster.", |
"type": "string" |
}, |
- "enableCloudLogging": { |
- "description": "Whether logs from the cluster should be made available via the Google Cloud Logging service. This includes both logs from your applications running in the cluster as well as logs from the Kubernetes components themselves.", |
- "type": "boolean" |
- }, |
- "enableCloudMonitoring": { |
- "description": "Whether metrics from the cluster should be made available via the Google Cloud Monitoring service.", |
- "type": "boolean" |
- }, |
- "endpoint": { |
- "description": "[Output only] The IP address of this cluster's Kubernetes master. The endpoint can be accessed from the internet at https://username:password@endpoint/.\n\nSee the masterAuth property of this resource for username and password information.", |
- "type": "string" |
+ "initialNodeCount": { |
+ "description": "The number of nodes to create in this cluster. You must ensure that your Compute Engine [resource quota](/compute/docs/resource-quotas) is sufficient for this number of instances. You must also have available firewall and routes quota.", |
+ "format": "int32", |
+ "type": "integer" |
}, |
- "instanceGroupUrls": { |
- "description": "[Output only] The resource URLs of [instance groups](/compute/docs/instance-groups/) associated with this cluster.", |
- "items": { |
- "type": "string" |
- }, |
- "type": "array" |
+ "nodeConfig": { |
+ "$ref": "NodeConfig", |
+ "description": "Parameters used in creating the cluster's nodes. See the descriptions of the child properties of `nodeConfig`." |
}, |
"masterAuth": { |
"$ref": "MasterAuth", |
"description": "The authentication information for accessing the master." |
}, |
- "name": { |
- "description": "The name of this cluster. The name must be unique within this project and zone, and can be up to 40 characters with the following restrictions: \n- Lowercase letters, numbers, and hyphens only.\n- Must start with a letter.\n- Must end with a number or a letter.", |
+ "loggingService": { |
+ "description": "The logging service that the cluster should write logs to. Currently available options: * \"logging.googleapis.com\" - the Google Cloud Logging service * \"none\" - no logs will be exported from the cluster * \"\" - default value; the default is \"logging.googleapis.com\"", |
+ "type": "string" |
+ }, |
+ "monitoringService": { |
+ "description": "The monitoring service that the cluster should write metrics to. Currently available options: * \"monitoring.googleapis.com\" - the Google Cloud Monitoring service * \"none\" - no metrics will be exported from the cluster * \"\" - default value; the default is \"monitoring.googleapis.com\"", |
"type": "string" |
}, |
"network": { |
- "description": "The name of the Google Compute Engine network to which the cluster is connected.", |
+ "description": "The name of the Google Compute Engine [network](/compute/docs/networking#networks_1) to which the cluster is connected. If left unspecified, the \"default\" network will be used.", |
"type": "string" |
}, |
- "nodeConfig": { |
- "$ref": "NodeConfig", |
- "description": "The machine type and image to use for all nodes in this cluster. See the descriptions of the child properties of nodeConfig." |
+ "clusterIpv4Cidr": { |
+ "description": "The IP address range of the container pods in this cluster, in [CIDR](http://en.wikipedia.org/wiki/Classless_Inter-Domain_Routing) notation (e.g. `10.96.0.0/14`). Leave blank to have one automatically chosen or specify a `/14` block in `10.0.0.0/8` or `172.16.0.0/12`.", |
+ "type": "string" |
}, |
- "nodeRoutingPrefixSize": { |
- "description": "[Output only] The size of the address space on each node for hosting containers.", |
- "format": "int32", |
- "type": "integer" |
+ "selfLink": { |
+ "description": "[Output only] Server-defined URL for the resource. @OutputOnly.", |
+ "type": "string" |
}, |
- "numNodes": { |
- "description": "The number of nodes to create in this cluster. You must ensure that your Compute Engine resource quota is sufficient for this number of instances plus one (to include the master). You must also have available firewall and routes quota.", |
- "format": "int32", |
- "type": "integer" |
+ "zone": { |
+ "description": "[Output only] The name of the Google Compute Engine [zone](/compute/docs/zones#available) in which the cluster resides. @OutputOnly.", |
+ "type": "string" |
}, |
- "selfLink": { |
- "description": "[Output only] Server-defined URL for the resource.", |
+ "endpoint": { |
+ "description": "[Output only] The IP address of this cluster's Kubernetes master endpoint. The endpoint can be accessed from the internet at `https://username:password@endpoint/`. @OutputOnly. See the `masterAuth` property of this resource for username and password information.", |
"type": "string" |
}, |
- "servicesIpv4Cidr": { |
- "description": "[Output only] The IP address range of the Kubernetes services in this cluster, in CIDR notation (e.g. 1.2.3.4/29). Service addresses are typically put in the last /16 from the container CIDR.", |
+ "initialClusterVersion": { |
+ "description": "[Output only] The software version of Kubernetes master and kubelets used in the cluster when it was first created. The version can be upgraded over time. @OutputOnly.", |
+ "type": "string" |
+ }, |
+ "currentMasterVersion": { |
+ "description": "[Output only] The current software version of the master endpoint. @OutputOnly.", |
+ "type": "string" |
+ }, |
+ "currentNodeVersion": { |
+ "description": "[Output only] The current version of the node software components. If they are currently at different versions because they're in the process of being upgraded, this reflects the minimum version of any of them. @OutputOnly.", |
+ "type": "string" |
+ }, |
+ "createTime": { |
+ "description": "[Output only] The time the cluster was created, in [RFC3339](href='https://www.ietf.org/rfc/rfc3339.txt) text format. @OutputOnly.", |
"type": "string" |
}, |
"status": { |
- "description": "[Output only] The current status of this cluster.", |
+ "description": "[Output only] The current status of this cluster. @OutputOnly.", |
"enum": [ |
- "error", |
- "provisioning", |
- "running", |
- "stopping" |
- ], |
- "enumDescriptions": [ |
- "", |
- "", |
- "", |
- "" |
+ "STATUS_UNSPECIFIED", |
+ "PROVISIONING", |
+ "RUNNING", |
+ "RECONCILING", |
+ "STOPPING", |
+ "ERROR" |
], |
"type": "string" |
}, |
"statusMessage": { |
- "description": "[Output only] Additional information about the current status of this cluster, if available.", |
+ "description": "[Output only] Additional information about the current status of this cluster, if available. @OutputOnly.", |
"type": "string" |
}, |
- "zone": { |
- "description": "[Output only] The name of the Google Compute Engine zone in which the cluster resides.", |
+ "nodeIpv4CidrSize": { |
+ "description": "[Output only] The size of the address space on each node for hosting containers. This is provisioned from within the container_ipv4_cidr range. @OutputOnly.", |
+ "format": "int32", |
+ "type": "integer" |
+ }, |
+ "servicesIpv4Cidr": { |
+ "description": "[Output only] The IP address range of the Kubernetes services in this cluster, in [CIDR](http://en.wikipedia.org/wiki/Classless_Inter-Domain_Routing) notation (e.g. `1.2.3.4/29`). Service addresses are typically put in the last /16 from the container CIDR. @OutputOnly.", |
"type": "string" |
- } |
- }, |
- "type": "object" |
- }, |
- "CreateClusterRequest": { |
- "id": "CreateClusterRequest", |
- "properties": { |
- "cluster": { |
- "$ref": "Cluster", |
- "description": "A cluster resource." |
- } |
- }, |
- "type": "object" |
- }, |
- "ListAggregatedClustersResponse": { |
- "id": "ListAggregatedClustersResponse", |
- "properties": { |
- "clusters": { |
- "description": "A list of clusters in the project, across all zones.", |
- "items": { |
- "$ref": "Cluster" |
- }, |
- "type": "array" |
- } |
- }, |
- "type": "object" |
- }, |
- "ListAggregatedOperationsResponse": { |
- "id": "ListAggregatedOperationsResponse", |
- "properties": { |
- "operations": { |
- "description": "A list of operations in the project, across all zones.", |
- "items": { |
- "$ref": "Operation" |
- }, |
- "type": "array" |
- } |
- }, |
- "type": "object" |
- }, |
- "ListClustersResponse": { |
- "id": "ListClustersResponse", |
- "properties": { |
- "clusters": { |
- "description": "A list of clusters in the project in the specified zone.", |
+ }, |
+ "instanceGroupUrls": { |
+ "description": "[Output only] The resource URLs of [instance groups](/compute/docs/instance-groups/) associated with this cluster. @OutputOnly.", |
"items": { |
- "$ref": "Cluster" |
+ "type": "string" |
}, |
"type": "array" |
} |
}, |
"type": "object" |
}, |
- "ListOperationsResponse": { |
- "id": "ListOperationsResponse", |
+ "NodeConfig": { |
+ "description": "Per-node parameters.", |
+ "id": "NodeConfig", |
"properties": { |
- "operations": { |
- "description": "A list of operations in the project in the specified zone.", |
+ "machineType": { |
+ "description": "The name of a Google Compute Engine [machine type](/compute/docs/machine-types) (e.g. `n1-standard-1`). If unspecified, the default machine type is `n1-standard-1`.", |
+ "type": "string" |
+ }, |
+ "diskSizeGb": { |
+ "description": "Size of the disk attached to each node, specified in GB. The smallest allowed disk size is 10GB, and the default is 100GB.", |
+ "format": "int32", |
+ "type": "integer" |
+ }, |
+ "oauthScopes": { |
+ "description": "The set of Google API scopes to be made available on all of the node VMs under the \"default\" service account. Currently, the following scopes are necessary to ensure the correct functioning of the cluster: * \"https://www.googleapis.com/auth/compute\" * \"https://www.googleapis.com/auth/devstorage.read_only\"", |
"items": { |
- "$ref": "Operation" |
+ "type": "string" |
}, |
"type": "array" |
} |
@@ -511,53 +511,39 @@ |
"type": "object" |
}, |
"MasterAuth": { |
- "description": "The authentication information for accessing the master. Authentication is either done using HTTP basic authentication or using a bearer token.", |
+ "description": "The authentication information for accessing the master endpoint. Authentication can be done using HTTP basic auth or using client certificates.", |
"id": "MasterAuth", |
"properties": { |
- "bearerToken": { |
- "description": "The token used to authenticate API requests to the master. The token is to be included in an HTTP Authorization Header in all requests to the master endpoint. The format of the header is: \"Authorization: Bearer \".", |
- "type": "string" |
- }, |
- "clientCertificate": { |
- "description": "[Output only] Base64 encoded public certificate used by clients to authenticate to the cluster endpoint.", |
+ "username": { |
+ "description": "The username to use for HTTP basic authentication when accessing the Kubernetes master endpoint.", |
"type": "string" |
}, |
- "clientKey": { |
- "description": "[Output only] Base64 encoded private key used by clients to authenticate to the cluster endpoint.", |
+ "password": { |
+ "description": "The password to use for HTTP basic authentication when accessing the Kubernetes master endpoint. Because the master endpoint is open to the internet, you should create a strong password.", |
"type": "string" |
}, |
"clusterCaCertificate": { |
- "description": "[Output only] Base64 encoded public certificate that is the root of trust for the cluster.", |
+ "description": "[Output only] Base64 encoded public certificate that is the root of trust for the cluster. @OutputOnly.", |
"type": "string" |
}, |
- "password": { |
- "description": "The password to use for HTTP basic authentication when accessing the Kubernetes master endpoint. Because the master endpoint is open to the internet, you should create a strong password.", |
+ "clientCertificate": { |
+ "description": "[Output only] Base64 encoded public certificate used by clients to authenticate to the cluster endpoint. @OutputOnly.", |
"type": "string" |
}, |
- "user": { |
- "description": "The username to use for HTTP basic authentication when accessing the Kubernetes master endpoint.", |
+ "clientKey": { |
+ "description": "[Output only] Base64 encoded private key used by clients to authenticate to the cluster endpoint. @OutputOnly.", |
"type": "string" |
} |
}, |
"type": "object" |
}, |
- "NodeConfig": { |
- "id": "NodeConfig", |
+ "CreateClusterRequest": { |
+ "description": "CreateClusterRequest creates a cluster.", |
+ "id": "CreateClusterRequest", |
"properties": { |
- "machineType": { |
- "description": "The name of a Google Compute Engine machine type (e.g. n1-standard-1).\n\nIf unspecified, the default machine type is n1-standard-1.", |
- "type": "string" |
- }, |
- "serviceAccounts": { |
- "description": "The optional list of ServiceAccounts, each with their specified scopes, to be made available on all of the node VMs. In addition to the service accounts and scopes specified, the \"default\" account will always be created with the following scopes to ensure the correct functioning of the cluster: \n- https://www.googleapis.com/auth/compute,\n- https://www.googleapis.com/auth/devstorage.read_only", |
- "items": { |
- "$ref": "ServiceAccount" |
- }, |
- "type": "array" |
- }, |
- "sourceImage": { |
- "description": "The fully-specified name of a Google Compute Engine image. For example: https://www.googleapis.com/compute/v1/projects/debian-cloud/global/images/backports-debian-7-wheezy-vYYYYMMDD (where YYYMMDD is the version date).\n\nIf specifying an image, you are responsible for ensuring its compatibility with the Debian 7 backports image. We recommend leaving this field blank to accept the default backports-debian-7-wheezy value.", |
- "type": "string" |
+ "cluster": { |
+ "$ref": "Cluster", |
+ "description": "A [cluster resource](/container-engine/docs/v1/projects/zones/clusters)" |
} |
}, |
"type": "object" |
@@ -566,71 +552,81 @@ |
"description": "Defines the operation resource. All fields are output only.", |
"id": "Operation", |
"properties": { |
- "errorMessage": { |
- "description": "If an error has occurred, a textual description of the error.", |
+ "name": { |
+ "description": "The server-assigned ID for the operation. @OutputOnly.", |
"type": "string" |
}, |
- "name": { |
- "description": "The server-assigned ID for the operation.", |
+ "zone": { |
+ "description": "The name of the Google Compute Engine [zone](/compute/docs/zones#available) in which the operation is taking place. @OutputOnly.", |
"type": "string" |
}, |
"operationType": { |
- "description": "The operation type.", |
+ "description": "The operation type. @OutputOnly.", |
"enum": [ |
- "createCluster", |
- "deleteCluster" |
- ], |
- "enumDescriptions": [ |
- "", |
- "" |
+ "TYPE_UNSPECIFIED", |
+ "CREATE_CLUSTER", |
+ "DELETE_CLUSTER", |
+ "UPGRADE_MASTER", |
+ "UPGRADE_NODES", |
+ "REPAIR_CLUSTER" |
], |
"type": "string" |
}, |
- "selfLink": { |
- "description": "Server-defined URL for the resource.", |
- "type": "string" |
- }, |
"status": { |
- "description": "The current status of the operation.", |
+ "description": "The current status of the operation. @OutputOnly.", |
"enum": [ |
- "done", |
- "pending", |
- "running" |
- ], |
- "enumDescriptions": [ |
- "", |
- "", |
- "" |
+ "STATUS_UNSPECIFIED", |
+ "PENDING", |
+ "RUNNING", |
+ "DONE" |
], |
"type": "string" |
}, |
- "target": { |
- "description": "[Optional] The URL of the cluster resource that this operation is associated with.", |
+ "statusMessage": { |
+ "description": "If an error has occurred, a textual description of the error. @OutputOnly.", |
"type": "string" |
}, |
- "targetLink": { |
- "description": "Server-defined URL for the target of the operation.", |
+ "selfLink": { |
+ "description": "Server-defined URL for the resource. @OutputOnly.", |
"type": "string" |
}, |
- "zone": { |
- "description": "The name of the Google Compute Engine zone in which the operation is taking place.", |
+ "targetLink": { |
+ "description": "Server-defined URL for the target of the operation. @OutputOnly.", |
"type": "string" |
} |
}, |
"type": "object" |
}, |
- "ServiceAccount": { |
- "description": "A Compute Engine service account.", |
- "id": "ServiceAccount", |
+ "UpdateClusterRequest": { |
+ "description": "UpdateClusterRequest updates a cluster.", |
+ "id": "UpdateClusterRequest", |
+ "properties": { |
+ "update": { |
+ "$ref": "ClusterUpdate", |
+ "description": "A description of the update." |
+ } |
+ }, |
+ "type": "object" |
+ }, |
+ "ClusterUpdate": { |
+ "description": "ClusterUpdate describes an update to the cluster.", |
+ "id": "ClusterUpdate", |
"properties": { |
- "email": { |
- "description": "Email address of the service account.", |
+ "desiredNodeVersion": { |
+ "description": "The Kubernetes version to change the nodes to (typically an upgrade). Use \"-\" to upgrade to the latest version supported by the server.", |
"type": "string" |
- }, |
- "scopes": { |
- "description": "The list of scopes to be made available for this service account.", |
+ } |
+ }, |
+ "type": "object" |
+ }, |
+ "ListOperationsResponse": { |
+ "description": "ListOperationsResponse is the result of ListOperationsRequest.", |
+ "id": "ListOperationsResponse", |
+ "properties": { |
+ "operations": { |
+ "description": "A list of operations in the project in the specified zone.", |
"items": { |
- "type": "string" |
+ "$ref": "Operation" |
}, |
"type": "array" |
} |
@@ -638,7 +634,7 @@ |
"type": "object" |
} |
}, |
- "servicePath": "container/v1beta1/projects/", |
+ "servicePath": "", |
"title": "Google Container Engine API", |
- "version": "v1beta1" |
+ "version": "v1" |
} |