chore(api-update): to latest

Using `make update-json`, all json descriptions have been update.
Quite interesting to see that there are plenty of new ones which
are giving 404 when queried. An actual bug, or something I should
look into ?
This commit is contained in:
Sebastian Thiel
2016-09-11 10:00:21 +02:00
parent 33771a6dc7
commit 13ed4eaecb
148 changed files with 84357 additions and 3237 deletions

View File

@@ -1,13 +1,13 @@
{
"kind": "discovery#restDescription",
"etag": "\"bRFOOrZKfO9LweMbPqu0kcu6De8/SJDnrP-zMdgKOtIcX7eybyyfJxs\"",
"etag": "\"C5oy1hgQsABtYOYIOXWcR3BgYqU/tFUpSbikiYUx1YQKdRQ2bGGumuA\"",
"discoveryVersion": "v1",
"id": "dataproc:v1",
"name": "dataproc",
"version": "v1",
"revision": "20160219",
"revision": "20160503",
"title": "Google Cloud Dataproc API",
"description": "An API for managing Hadoop-based clusters and jobs on Google Cloud Platform.",
"description": "Manages Hadoop-based clusters and jobs on Google Cloud Platform.",
"ownerDomain": "google.com",
"ownerName": "Google",
"icons": {
@@ -105,31 +105,11 @@
"scopes": {
"https://www.googleapis.com/auth/cloud-platform": {
"description": "View and manage your data across Google Cloud Platform services"
},
"https://www.googleapis.com/auth/logging.admin": {
"description": "Administrate log data for your projects"
},
"https://www.googleapis.com/auth/logging.read": {
"description": "View log data for your projects"
},
"https://www.googleapis.com/auth/logging.write": {
"description": "Submit log data for your projects"
}
}
}
},
"schemas": {
"Media": {
"id": "Media",
"type": "object",
"description": "Media resource.",
"properties": {
"resourceName": {
"type": "string",
"description": "Name of the media resource."
}
}
},
"Cluster": {
"id": "Cluster",
"type": "object",
@@ -175,7 +155,7 @@
},
"gceClusterConfig": {
"$ref": "GceClusterConfig",
"description": "[Optional] The shared Google Compute Engine config settings for all instances in a cluster."
"description": "[Required] The shared Google Compute Engine config settings for all instances in a cluster."
},
"masterConfig": {
"$ref": "InstanceGroupConfig",
@@ -1141,84 +1121,6 @@
}
},
"resources": {
"media": {
"methods": {
"upload": {
"id": "dataproc.media.upload",
"path": "v1/media/{+resourceName}",
"httpMethod": "POST",
"description": "Method for media upload. Upload is supported on the URI `/upload/v1/media/{+name}`.",
"parameters": {
"resourceName": {
"type": "string",
"description": "Name of the media that is being downloaded. See ByteStream.ReadRequest.resource_name.",
"required": true,
"pattern": "^.*$",
"location": "path"
}
},
"parameterOrder": [
"resourceName"
],
"request": {
"$ref": "Media"
},
"response": {
"$ref": "Media"
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform",
"https://www.googleapis.com/auth/logging.admin",
"https://www.googleapis.com/auth/logging.read",
"https://www.googleapis.com/auth/logging.write"
],
"supportsMediaUpload": true,
"mediaUpload": {
"accept": [
"*/*"
],
"protocols": {
"simple": {
"multipart": true,
"path": "/upload/v1/media/{+resourceName}"
},
"resumable": {
"multipart": true,
"path": "/resumable/upload/v1/media/{+resourceName}"
}
}
}
},
"download": {
"id": "dataproc.media.download",
"path": "v1/media/{+resourceName}",
"httpMethod": "GET",
"description": "Method for media download. Download is supported on the URI `/v1/media/{+name}?alt=media`.",
"parameters": {
"resourceName": {
"type": "string",
"description": "Name of the media that is being downloaded. See ByteStream.ReadRequest.resource_name.",
"required": true,
"pattern": "^.*$",
"location": "path"
}
},
"parameterOrder": [
"resourceName"
],
"response": {
"$ref": "Media"
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform",
"https://www.googleapis.com/auth/logging.admin",
"https://www.googleapis.com/auth/logging.read",
"https://www.googleapis.com/auth/logging.write"
],
"supportsMediaDownload": true
}
}
},
"projects": {
"resources": {
"regions": {
@@ -1284,7 +1186,7 @@
},
"updateMask": {
"type": "string",
"description": "[Required] Specifies the path, relative to Cluster, of the field to update. For example, to change the number of workers in a cluster to 5, the update_mask parameter would be specified as config.worker_config.num_instances, and the `PATCH` request body would specify the new value, as follows: { \"config\":{ \"workerConfig\":{ \"numInstances\":\"5\" } } } Note: Currently, config.worker_config.num_instances is the only field that can be updated.",
"description": "[Required] Specifies the path, relative to Cluster, of the field to update. For example, to change the number of workers in a cluster to 5, the update_mask parameter would be specified as config.worker_config.num_instances, and the `PATCH` request body would specify the new value, as follows: { \"config\":{ \"workerConfig\":{ \"numInstances\":\"5\" } } } Similarly, to change the number of preemptible workers in a cluster to 5, the update_mask parameter would be config.secondary_worker_config.num_instances, and the `PATCH` request body would be set as follows: { \"config\":{ \"secondaryWorkerConfig\":{ \"numInstances\":\"5\" } } } Note: Currently, config.worker_config.num_instances and config.secondary_worker_config.num_instances are the only fields that can be updated.",
"location": "query"
}
},

View File

@@ -1,13 +1,13 @@
{
"kind": "discovery#restDescription",
"etag": "\"bRFOOrZKfO9LweMbPqu0kcu6De8/yEGnz7qJE4H0ncVA8l2NAK4qges\"",
"etag": "\"C5oy1hgQsABtYOYIOXWcR3BgYqU/SuGBALYSLzjdcbguynWOEdgixyw\"",
"discoveryVersion": "v1",
"id": "dataproc:v1alpha1",
"name": "dataproc",
"version": "v1alpha1",
"revision": "20160219",
"revision": "20160503",
"title": "Google Cloud Dataproc API",
"description": "An API for managing Hadoop-based clusters and jobs on Google Cloud Platform.",
"description": "Manages Hadoop-based clusters and jobs on Google Cloud Platform.",
"ownerDomain": "google.com",
"ownerName": "Google",
"icons": {

View File

@@ -1,13 +1,13 @@
{
"kind": "discovery#restDescription",
"etag": "\"bRFOOrZKfO9LweMbPqu0kcu6De8/moJSD8ChiA3_GeWvn2rNFBXMhlQ\"",
"etag": "\"C5oy1hgQsABtYOYIOXWcR3BgYqU/xUykUeDoZBMkhqViXbAjUkEVLQw\"",
"discoveryVersion": "v1",
"id": "dataproc:v1beta1",
"name": "dataproc",
"version": "v1beta1",
"revision": "20160219",
"revision": "20160503",
"title": "Google Cloud Dataproc API",
"description": "An API for managing Hadoop-based clusters and jobs on Google Cloud Platform.",
"description": "Manages Hadoop-based clusters and jobs on Google Cloud Platform.",
"ownerDomain": "google.com",
"ownerName": "Google",
"icons": {
@@ -155,7 +155,7 @@
},
"gceClusterConfiguration": {
"$ref": "GceClusterConfiguration",
"description": "[Optional] The shared Google Compute Engine configuration settings for all instances in a cluster."
"description": "[Required] The shared Google Compute Engine configuration settings for all instances in a cluster."
},
"masterConfiguration": {
"$ref": "InstanceGroupConfiguration",
@@ -1000,87 +1000,6 @@
"type": "object",
"description": "The request message for Operations.CancelOperation."
},
"SetIamPolicyRequest": {
"id": "SetIamPolicyRequest",
"type": "object",
"description": "Request message for `SetIamPolicy` method.",
"properties": {
"policy": {
"$ref": "Policy",
"description": "REQUIRED: The complete policy to be applied to the `resource`. The size of the policy is limited to a few 10s of KB. An empty policy is a valid policy but certain Cloud Platform services (such as Projects) might reject them."
}
}
},
"Policy": {
"id": "Policy",
"type": "object",
"description": "Defines an Identity and Access Management (IAM) policy. It is used to specify access control policies for Cloud Platform resources. A `Policy` consists of a list of `bindings`. A `Binding` binds a list of `members` to a `role`, where the members can be user accounts, Google groups, Google domains, and service accounts. A `role` is a named list of permissions defined by IAM. **Example** { \"bindings\": [ { \"role\": \"roles/owner\", \"members\": [ \"user:mike@example.com\", \"group:admins@example.com\", \"domain:google.com\", \"serviceAccount:my-other-app@appspot.gserviceaccount.com\", ] }, { \"role\": \"roles/viewer\", \"members\": [\"user:sean@example.com\"] } ] } For a description of IAM and its features, see the [IAM developer's guide](https://cloud.google.com/iam).",
"properties": {
"version": {
"type": "integer",
"description": "Version of the `Policy`. The default version is 0.",
"format": "int32"
},
"bindings": {
"type": "array",
"description": "Associates a list of `members` to a `role`. Multiple `bindings` must not be specified for the same `role`. `bindings` with no members will result in an error.",
"items": {
"$ref": "Binding"
}
},
"etag": {
"type": "string",
"description": "`etag` is used for optimistic concurrency control as a way to help prevent simultaneous updates of a policy from overwriting each other. It is strongly suggested that systems make use of the `etag` in the read-modify-write cycle to perform policy updates in order to avoid race conditions: An `etag` is returned in the response to `getIamPolicy`, and systems are expected to put that etag in the request to `setIamPolicy` to ensure that their change will be applied to the same version of the policy. If no `etag` is provided in the call to `setIamPolicy`, then the existing policy is overwritten blindly.",
"format": "byte"
}
}
},
"Binding": {
"id": "Binding",
"type": "object",
"description": "Associates `members` with a `role`.",
"properties": {
"role": {
"type": "string",
"description": "Role that is assigned to `members`. For example, `roles/viewer`, `roles/editor`, or `roles/owner`. Required"
},
"members": {
"type": "array",
"description": "Specifies the identities requesting access for a Cloud Platform resource. `members` can have the following values: * `allUsers`: A special identifier that represents anyone who is on the internet; with or without a Google account. * `allAuthenticatedUsers`: A special identifier that represents anyone who is authenticated with a Google account or a service account. * `user:{emailid}`: An email address that represents a specific Google account. For example, `alice@gmail.com` or `joe@example.com`. * `serviceAccount:{emailid}`: An email address that represents a service account. For example, `my-other-app@appspot.gserviceaccount.com`. * `group:{emailid}`: An email address that represents a Google group. For example, `admins@example.com`. * `domain:{domain}`: A Google Apps domain name that represents all the users of that domain. For example, `google.com` or `example.com`.",
"items": {
"type": "string"
}
}
}
},
"TestIamPermissionsRequest": {
"id": "TestIamPermissionsRequest",
"type": "object",
"description": "Request message for `TestIamPermissions` method.",
"properties": {
"permissions": {
"type": "array",
"description": "The set of permissions to check for the `resource`. Permissions with wildcards (such as '*' or 'storage.*') are not allowed. For more information see IAM Overview.",
"items": {
"type": "string"
}
}
}
},
"TestIamPermissionsResponse": {
"id": "TestIamPermissionsResponse",
"type": "object",
"description": "Response message for `TestIamPermissions` method.",
"properties": {
"permissions": {
"type": "array",
"description": "A subset of `TestPermissionsRequest.permissions` that the caller is allowed.",
"items": {
"type": "string"
}
}
}
},
"DiagnoseClusterResults": {
"id": "DiagnoseClusterResults",
"type": "object",
@@ -1311,7 +1230,7 @@
},
"updateMask": {
"type": "string",
"description": "[Required] Specifies the path, relative to Cluster, of the field to update. For example, to change the number of workers in a cluster to 5, the update_mask parameter would be specified as configuration.worker_configuration.num_instances, and the `PATCH` request body would specify the new value, as follows: { \"configuration\":{ \"workerConfiguration\":{ \"numInstances\":\"5\" } } } Note: Currently, configuration.worker_configuration.num_instances is the only field that can be updated.",
"description": "[Required] Specifies the path, relative to Cluster, of the field to update. For example, to change the number of workers in a cluster to 5, the update_mask parameter would be specified as configuration.worker_configuration.num_instances, and the `PATCH` request body would specify the new value, as follows: { \"configuration\":{ \"workerConfiguration\":{ \"numInstances\":\"5\" } } } Similarly, to change the number of preemptible workers in a cluster to 5, the update_mask parameter would be config.secondary_worker_config.num_instances, and the `PATCH` request body would be set as follows: { \"config\":{ \"secondaryWorkerConfig\":{ \"numInstances\":\"5\" } } } Note: Currently, config.worker_config.num_instances and config.secondary_worker_config.num_instances are the only fields that can be updated.",
"location": "query"
}
},
@@ -1455,84 +1374,6 @@
"scopes": [
"https://www.googleapis.com/auth/cloud-platform"
]
},
"setIamPolicy": {
"id": "dataproc.projects.clusters.setIamPolicy",
"path": "v1beta1/{+resource}:setIamPolicy",
"httpMethod": "POST",
"description": "Sets the access control policy on the specified resource. Replaces any existing policy.",
"parameters": {
"resource": {
"type": "string",
"description": "REQUIRED: The resource for which the policy is being specified. `resource` is usually specified as a path, such as `projects/*project*/zones/*zone*/disks/*disk*`. The format for the path specified in this value is resource specific and is specified in the `setIamPolicy` documentation.",
"required": true,
"pattern": "^projects/[^/]*/clusters/[^/]*$",
"location": "path"
}
},
"parameterOrder": [
"resource"
],
"request": {
"$ref": "SetIamPolicyRequest"
},
"response": {
"$ref": "Policy"
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform"
]
},
"getIamPolicy": {
"id": "dataproc.projects.clusters.getIamPolicy",
"path": "v1beta1/{+resource}:getIamPolicy",
"httpMethod": "GET",
"description": "Gets the access control policy for a `resource`. Returns an empty policy if the resource exists and does not have a policy set.",
"parameters": {
"resource": {
"type": "string",
"description": "REQUIRED: The resource for which the policy is being requested. `resource` is usually specified as a path, such as `projects/*project*/zones/*zone*/disks/*disk*`. The format for the path specified in this value is resource specific and is specified in the `getIamPolicy` documentation.",
"required": true,
"pattern": "^projects/[^/]*/clusters/[^/]*$",
"location": "path"
}
},
"parameterOrder": [
"resource"
],
"response": {
"$ref": "Policy"
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform"
]
},
"testIamPermissions": {
"id": "dataproc.projects.clusters.testIamPermissions",
"path": "v1beta1/{+resource}:testIamPermissions",
"httpMethod": "POST",
"description": "Returns permissions that a caller has on the specified resource.",
"parameters": {
"resource": {
"type": "string",
"description": "REQUIRED: The resource for which the policy detail is being requested. `resource` is usually specified as a path, such as `projects/*project*/zones/*zone*/disks/*disk*`. The format for the path specified in this value is resource specific and is specified in the `testIamPermissions` documentation.",
"required": true,
"pattern": "^projects/[^/]*/clusters/[^/]*$",
"location": "path"
}
},
"parameterOrder": [
"resource"
],
"request": {
"$ref": "TestIamPermissionsRequest"
},
"response": {
"$ref": "TestIamPermissionsResponse"
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform"
]
}
}
},
@@ -1705,84 +1546,6 @@
"scopes": [
"https://www.googleapis.com/auth/cloud-platform"
]
},
"setIamPolicy": {
"id": "dataproc.projects.jobs.setIamPolicy",
"path": "v1beta1/{+resource}:setIamPolicy",
"httpMethod": "POST",
"description": "Sets the access control policy on the specified resource. Replaces any existing policy.",
"parameters": {
"resource": {
"type": "string",
"description": "REQUIRED: The resource for which the policy is being specified. `resource` is usually specified as a path, such as `projects/*project*/zones/*zone*/disks/*disk*`. The format for the path specified in this value is resource specific and is specified in the `setIamPolicy` documentation.",
"required": true,
"pattern": "^projects/[^/]*/jobs/[^/]*$",
"location": "path"
}
},
"parameterOrder": [
"resource"
],
"request": {
"$ref": "SetIamPolicyRequest"
},
"response": {
"$ref": "Policy"
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform"
]
},
"getIamPolicy": {
"id": "dataproc.projects.jobs.getIamPolicy",
"path": "v1beta1/{+resource}:getIamPolicy",
"httpMethod": "GET",
"description": "Gets the access control policy for a `resource`. Returns an empty policy if the resource exists and does not have a policy set.",
"parameters": {
"resource": {
"type": "string",
"description": "REQUIRED: The resource for which the policy is being requested. `resource` is usually specified as a path, such as `projects/*project*/zones/*zone*/disks/*disk*`. The format for the path specified in this value is resource specific and is specified in the `getIamPolicy` documentation.",
"required": true,
"pattern": "^projects/[^/]*/jobs/[^/]*$",
"location": "path"
}
},
"parameterOrder": [
"resource"
],
"response": {
"$ref": "Policy"
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform"
]
},
"testIamPermissions": {
"id": "dataproc.projects.jobs.testIamPermissions",
"path": "v1beta1/{+resource}:testIamPermissions",
"httpMethod": "POST",
"description": "Returns permissions that a caller has on the specified resource.",
"parameters": {
"resource": {
"type": "string",
"description": "REQUIRED: The resource for which the policy detail is being requested. `resource` is usually specified as a path, such as `projects/*project*/zones/*zone*/disks/*disk*`. The format for the path specified in this value is resource specific and is specified in the `testIamPermissions` documentation.",
"required": true,
"pattern": "^projects/[^/]*/jobs/[^/]*$",
"location": "path"
}
},
"parameterOrder": [
"resource"
],
"request": {
"$ref": "TestIamPermissionsRequest"
},
"response": {
"$ref": "TestIamPermissionsResponse"
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform"
]
}
}
}