chore(json-update): update json and regen all code

This commit is contained in:
Sebastian Thiel
2015-06-26 16:08:25 +02:00
parent 615ac64ec1
commit 7d58d66025
596 changed files with 35453 additions and 5854 deletions

View File

@@ -1,11 +1,11 @@
{
"kind": "discovery#restDescription",
"etag": "\"ye6orv2F-1npMW3u9suM3a7C5Bo/dYpTeptRRQe2JpT9NpqLcHD0A_0\"",
"etag": "\"ye6orv2F-1npMW3u9suM3a7C5Bo/OAfpRt1IaExVFs9TE2m103dNYns\"",
"discoveryVersion": "v1",
"id": "container:v1beta1",
"name": "container",
"version": "v1beta1",
"revision": "20150420",
"revision": "20150617",
"title": "Google Container Engine API",
"description": "The Google Container Engine API is used for building and managing container based applications, powered by the open source Kubernetes technology.",
"ownerDomain": "google.com",
@@ -86,7 +86,7 @@
},
"containerIpv4Cidr": {
"type": "string",
"description": "The IP addresses 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."
"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."
},
"creationTimestamp": {
"type": "string",
@@ -100,10 +100,21 @@
"type": "boolean",
"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."
},
"enableCloudMonitoring": {
"type": "boolean",
"description": "Whether metrics from the cluster should be made available via the Google Cloud Monitoring service."
},
"endpoint": {
"type": "string",
"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."
},
"instanceGroupUrls": {
"type": "array",
"description": "[Output only] The resource URLs of [instance groups](/compute/docs/instance-groups/) associated with this cluster.",
"items": {
"type": "string"
}
},
"masterAuth": {
"$ref": "MasterAuth",
"description": "The authentication information for accessing the master."
@@ -136,7 +147,7 @@
},
"servicesIpv4Cidr": {
"type": "string",
"description": "[Output only] The IP addresses of the Kubernetes services in this cluster, in CIDR notation (e.g. 1.2.3.4/29). Service addresses are always in the 10.0.0.0/16 range."
"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."
},
"status": {
"type": "string",
@@ -233,7 +244,19 @@
"properties": {
"bearerToken": {
"type": "string",
"description": "The token used to authenticate API requests to the master. The token is be included in an HTTP Authorization Header included in all requests to the master endpoint. The format of the header is: \"Authorization: Bearer \"."
"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 \"."
},
"clientCertificate": {
"type": "string",
"description": "[Output only] Base64 encoded public certificate used by clients to authenticate to the cluster endpoint."
},
"clientKey": {
"type": "string",
"description": "[Output only] Base64 encoded private key used by clients to authenticate to the cluster endpoint."
},
"clusterCaCertificate": {
"type": "string",
"description": "[Output only] Base64 encoded public certificate that is the root of trust for the cluster."
},
"password": {
"type": "string",
@@ -277,7 +300,7 @@
},
"name": {
"type": "string",
"description": "The server-assigned ID for this operation. If the operation is fulfilled upfront, it may not have a resource name."
"description": "The server-assigned ID for the operation."
},
"operationType": {
"type": "string",
@@ -340,21 +363,6 @@
}
}
}
},
"Token": {
"id": "Token",
"type": "object",
"properties": {
"accessToken": {
"type": "string",
"description": "The OAuth2 access token"
},
"expiryTimeSeconds": {
"type": "string",
"description": "The expiration time of the token in seconds since the unix epoch.",
"format": "int64"
}
}
}
},
"resources": {
@@ -422,7 +430,7 @@
"id": "container.projects.zones.clusters.create",
"path": "{projectId}/zones/{zoneId}/clusters",
"httpMethod": "POST",
"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, a route named k8s-iproute-10-xx-0-0 is created to track that the cluster's 10.xx.0.0/16 CIDR has been assigned.",
"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.",
"parameters": {
"projectId": {
"type": "string",
@@ -627,52 +635,6 @@
]
}
}
},
"tokens": {
"methods": {
"get": {
"id": "container.projects.zones.tokens.get",
"path": "{masterProjectId}/zones/{zoneId}/tokens/{projectNumber}/{clusterName}",
"httpMethod": "GET",
"description": "Gets a compute-rw scoped OAuth2 access token for\n. Authentication is performed to ensure that the caller is a member of and that the request is coming from the expected master VM for the specified cluster. See go/gke-cross-project-auth for more details.",
"parameters": {
"clusterName": {
"type": "string",
"description": "The name of the specified cluster.",
"required": true,
"location": "path"
},
"masterProjectId": {
"type": "string",
"description": "The hosted master project from which this request is coming.",
"required": true,
"location": "path"
},
"projectNumber": {
"type": "string",
"description": "The project number for which the access token is being requested.",
"required": true,
"format": "int64",
"location": "path"
},
"zoneId": {
"type": "string",
"description": "The zone of the specified cluster.",
"required": true,
"location": "path"
}
},
"parameterOrder": [
"masterProjectId",
"zoneId",
"projectNumber",
"clusterName"
],
"response": {
"$ref": "Token"
}
}
}
}
}
}