chore(json): fetch latest json and re-gen all code

This commit is contained in:
Sebastian Thiel
2016-12-16 11:25:26 +01:00
parent e04b6d023d
commit 06caa1de02
657 changed files with 237602 additions and 19201 deletions

View File

@@ -1,19 +1,19 @@
{
"kind": "discovery#restDescription",
"etag": "\"C5oy1hgQsABtYOYIOXWcR3BgYqU/K_qiwyhd6rj_g1mYQfSWowdML68\"",
"etag": "\"tbys6C40o18GZwyMen5GMkdK-3s/OCYmftvQxj4AeJHkXNi3Nl_Kgng\"",
"discoveryVersion": "v1",
"id": "deploymentmanager:v2",
"name": "deploymentmanager",
"canonicalName": "Deployment Manager",
"version": "v2",
"revision": "20160901",
"revision": "20161209",
"title": "Google Cloud Deployment Manager API",
"description": "Declares, configures, and deploys complex solutions on Google Cloud Platform.",
"ownerDomain": "google.com",
"ownerName": "Google",
"icons": {
"x16": "http://www.google.com/images/icons/product/search-16.gif",
"x32": "http://www.google.com/images/icons/product/search-32.gif"
"x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png",
"x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png"
},
"documentationLink": "https://cloud.google.com/deployment-manager/",
"protocol": "rest",
@@ -86,6 +86,101 @@
}
},
"schemas": {
"AuditConfig": {
"id": "AuditConfig",
"type": "object",
"description": "Provides the configuration for non-admin_activity logging for a service. Controls exemptions and specific log sub-types.",
"properties": {
"auditLogConfigs": {
"type": "array",
"description": "The configuration for each type of logging",
"items": {
"$ref": "AuditLogConfig"
}
},
"exemptedMembers": {
"type": "array",
"description": "Specifies the identities that are exempted from \"data access\" audit logging for the `service` specified above. Follows the same format of Binding.members.",
"items": {
"type": "string"
}
},
"service": {
"type": "string",
"description": "Specifies a service that will be enabled for audit logging. For example, `resourcemanager`, `storage`, `compute`. `allServices` is a special value that covers all services."
}
}
},
"AuditLogConfig": {
"id": "AuditLogConfig",
"type": "object",
"description": "Provides the configuration for a sub-type of logging.",
"properties": {
"exemptedMembers": {
"type": "array",
"description": "Specifies the identities that are exempted from this type of logging Follows the same format of Binding.members.",
"items": {
"type": "string"
}
},
"logType": {
"type": "string",
"description": "The log type that this config enables."
}
}
},
"Binding": {
"id": "Binding",
"type": "object",
"description": "Associates `members` with a `role`.",
"properties": {
"members": {
"type": "array",
"description": "Specifies the identities requesting access for a Cloud Platform resource. `members` can have the following values:\n\n* `allUsers`: A special identifier that represents anyone who is on the internet; with or without a Google account.\n\n* `allAuthenticatedUsers`: A special identifier that represents anyone who is authenticated with a Google account or a service account.\n\n* `user:{emailid}`: An email address that represents a specific Google account. For example, `alice@gmail.com` or `joe@example.com`.\n\n\n\n* `serviceAccount:{emailid}`: An email address that represents a service account. For example, `my-other-app@appspot.gserviceaccount.com`.\n\n* `group:{emailid}`: An email address that represents a Google group. For example, `admins@example.com`.\n\n* `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"
}
},
"role": {
"type": "string",
"description": "Role that is assigned to `members`. For example, `roles/viewer`, `roles/editor`, or `roles/owner`."
}
}
},
"Condition": {
"id": "Condition",
"type": "object",
"description": "A condition to be met.",
"properties": {
"iam": {
"type": "string",
"description": "Trusted attributes supplied by the IAM system."
},
"op": {
"type": "string",
"description": "An operator to apply the subject with."
},
"svc": {
"type": "string",
"description": "Trusted attributes discharged by the service."
},
"sys": {
"type": "string",
"description": "Trusted attributes supplied by any service that owns resources and uses the IAM system for access control."
},
"value": {
"type": "string",
"description": "DEPRECATED. Use 'values' instead."
},
"values": {
"type": "array",
"description": "The objects of the condition. This is mutually exclusive with 'value'.",
"items": {
"type": "string"
}
}
}
},
"ConfigFile": {
"id": "ConfigFile",
"type": "object",
@@ -252,6 +347,32 @@
}
}
},
"LogConfig": {
"id": "LogConfig",
"type": "object",
"description": "Specifies what kind of log the caller must write",
"properties": {
"counter": {
"$ref": "LogConfigCounterOptions",
"description": "Counter options."
}
}
},
"LogConfigCounterOptions": {
"id": "LogConfigCounterOptions",
"type": "object",
"description": "Options for counters",
"properties": {
"field": {
"type": "string",
"description": "The field value to attribute."
},
"metric": {
"type": "string",
"description": "The metric to update."
}
}
},
"Manifest": {
"id": "Manifest",
"type": "object",
@@ -424,7 +545,7 @@
},
"targetLink": {
"type": "string",
"description": "[Output Only] The URL of the resource that the operation modifies. If creating a persistent disk snapshot, this points to the persistent disk that the snapshot was created from."
"description": "[Output Only] The URL of the resource that the operation modifies. For operations related to creating a snapshot, this points to the persistent disk that the snapshot was created from."
},
"user": {
"type": "string",
@@ -488,11 +609,57 @@
}
}
},
"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.\n\n\n\nA `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.\n\n**Example**\n\n{ \"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\"] } ] }\n\nFor a description of IAM and its features, see the [IAM developer's guide](https://cloud.google.com/iam).",
"properties": {
"auditConfigs": {
"type": "array",
"description": "Specifies audit logging configs for \"data access\". \"data access\": generally refers to data reads/writes and admin reads. \"admin activity\": generally refers to admin writes.\n\nNote: `AuditConfig` doesn't apply to \"admin activity\", which always enables audit logging.",
"items": {
"$ref": "AuditConfig"
}
},
"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.\n\nIf no `etag` is provided in the call to `setIamPolicy`, then the existing policy is overwritten blindly.",
"format": "byte"
},
"iamOwned": {
"type": "boolean",
"description": ""
},
"rules": {
"type": "array",
"description": "If more than one rule is specified, the rules are applied in the following manner: - All matching LOG rules are always applied. - If any DENY/DENY_WITH_LOG rule matches, permission is denied. Logging will be applied if one or more matching rule requires logging. - Otherwise, if any ALLOW/ALLOW_WITH_LOG rule matches, permission is granted. Logging will be applied if one or more matching rule requires logging. - Otherwise, if no rule applies, permission is denied.",
"items": {
"$ref": "Rule"
}
},
"version": {
"type": "integer",
"description": "Version of the `Policy`. The default version is 0.",
"format": "int32"
}
}
},
"Resource": {
"id": "Resource",
"type": "object",
"description": "",
"properties": {
"accessControl": {
"$ref": "ResourceAccessControl",
"description": "The Access Control Policy set on this resource."
},
"finalProperties": {
"type": "string",
"description": "[Output Only] The evaluated properties of the resource with references expanded. Returned as serialized YAML."
@@ -570,11 +737,26 @@
}
}
},
"ResourceAccessControl": {
"id": "ResourceAccessControl",
"type": "object",
"description": "The access controls set on the resource.",
"properties": {
"gcpIamPolicy": {
"type": "string",
"description": "The GCP IAM Policy to set on the resource."
}
}
},
"ResourceUpdate": {
"id": "ResourceUpdate",
"type": "object",
"description": "",
"properties": {
"accessControl": {
"$ref": "ResourceAccessControl",
"description": "The Access Control Policy to set on this resource after updating the resource itself."
},
"error": {
"type": "object",
"description": "[Output Only] If errors are generated during update of the resource, this field will be populated.",
@@ -676,6 +858,56 @@
}
}
},
"Rule": {
"id": "Rule",
"type": "object",
"description": "A rule to be applied in a Policy.",
"properties": {
"action": {
"type": "string",
"description": "Required"
},
"conditions": {
"type": "array",
"description": "Additional restrictions that must be met",
"items": {
"$ref": "Condition"
}
},
"description": {
"type": "string",
"description": "Human-readable description of the rule."
},
"ins": {
"type": "array",
"description": "If one or more 'in' clauses are specified, the rule matches if the PRINCIPAL/AUTHORITY_SELECTOR is in at least one of these entries.",
"items": {
"type": "string"
}
},
"logConfigs": {
"type": "array",
"description": "The config returned to callers of tech.iam.IAM.CheckPolicy for any entries that match the LOG action.",
"items": {
"$ref": "LogConfig"
}
},
"notIns": {
"type": "array",
"description": "If one or more 'not_in' clauses are specified, the rule matches if the PRINCIPAL/AUTHORITY_SELECTOR is in none of the entries.",
"items": {
"type": "string"
}
},
"permissions": {
"type": "array",
"description": "A permission is a string of form '..' (e.g., 'storage.buckets.list'). A value of '*' matches all permissions, and a verb part of '*' (e.g., 'storage.buckets.*') matches all verbs.",
"items": {
"type": "string"
}
}
}
},
"TargetConfiguration": {
"id": "TargetConfiguration",
"type": "object",
@@ -694,6 +926,32 @@
}
}
},
"TestPermissionsRequest": {
"id": "TestPermissionsRequest",
"type": "object",
"properties": {
"permissions": {
"type": "array",
"description": "The set of permissions to check for the 'resource'. Permissions with wildcards (such as '*' or 'storage.*') are not allowed.",
"items": {
"type": "string"
}
}
}
},
"TestPermissionsResponse": {
"id": "TestPermissionsResponse",
"type": "object",
"properties": {
"permissions": {
"type": "array",
"description": "A subset of `TestPermissionsRequest.permissions` that the caller is allowed.",
"items": {
"type": "string"
}
}
}
},
"Type": {
"id": "Type",
"type": "object",
@@ -786,6 +1044,20 @@
"httpMethod": "DELETE",
"description": "Deletes a deployment and all of the resources in the deployment.",
"parameters": {
"deletePolicy": {
"type": "string",
"description": "Sets the policy to use for deleting resources.",
"default": "DELETE",
"enum": [
"ABANDON",
"DELETE"
],
"enumDescriptions": [
"",
""
],
"location": "query"
},
"deployment": {
"type": "string",
"description": "The name of the deployment for this request.",
@@ -848,6 +1120,39 @@
"https://www.googleapis.com/auth/ndev.cloudman.readonly"
]
},
"getIamPolicy": {
"id": "deploymentmanager.deployments.getIamPolicy",
"path": "{project}/global/deployments/{resource}/getIamPolicy",
"httpMethod": "GET",
"description": "Gets the access control policy for a resource. May be empty if no such policy or resource exists.",
"parameters": {
"project": {
"type": "string",
"description": "Project ID for this request.",
"required": true,
"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))",
"location": "path"
},
"resource": {
"type": "string",
"description": "Name of the resource for this request.",
"required": true,
"pattern": "[a-z](?:[-a-z0-9_]{0,61}[a-z0-9])?",
"location": "path"
}
},
"parameterOrder": [
"project",
"resource"
],
"response": {
"$ref": "Policy"
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform",
"https://www.googleapis.com/auth/ndev.cloudman"
]
},
"insert": {
"id": "deploymentmanager.deployments.insert",
"path": "{project}/global/deployments",
@@ -901,6 +1206,11 @@
"maximum": "500",
"location": "query"
},
"orderBy": {
"type": "string",
"description": "Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name.\n\nYou can also sort results in descending order based on the creation timestamp using orderBy=\"creationTimestamp desc\". This sorts results based on the creationTimestamp field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first.\n\nCurrently, only sorting by name or creationTimestamp desc is supported.",
"location": "query"
},
"pageToken": {
"type": "string",
"description": "Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list request to get the next page of results.",
@@ -997,6 +1307,42 @@
"https://www.googleapis.com/auth/ndev.cloudman"
]
},
"setIamPolicy": {
"id": "deploymentmanager.deployments.setIamPolicy",
"path": "{project}/global/deployments/{resource}/setIamPolicy",
"httpMethod": "POST",
"description": "Sets the access control policy on the specified resource. Replaces any existing policy.",
"parameters": {
"project": {
"type": "string",
"description": "Project ID for this request.",
"required": true,
"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))",
"location": "path"
},
"resource": {
"type": "string",
"description": "Name of the resource for this request.",
"required": true,
"pattern": "[a-z](?:[-a-z0-9_]{0,61}[a-z0-9])?",
"location": "path"
}
},
"parameterOrder": [
"project",
"resource"
],
"request": {
"$ref": "Policy"
},
"response": {
"$ref": "Policy"
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform",
"https://www.googleapis.com/auth/ndev.cloudman"
]
},
"stop": {
"id": "deploymentmanager.deployments.stop",
"path": "{project}/global/deployments/{deployment}/stop",
@@ -1033,6 +1379,42 @@
"https://www.googleapis.com/auth/ndev.cloudman"
]
},
"testIamPermissions": {
"id": "deploymentmanager.deployments.testIamPermissions",
"path": "{project}/global/deployments/{resource}/testIamPermissions",
"httpMethod": "POST",
"description": "Returns permissions that a caller has on the specified resource.",
"parameters": {
"project": {
"type": "string",
"description": "Project ID for this request.",
"required": true,
"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))",
"location": "path"
},
"resource": {
"type": "string",
"description": "Name of the resource for this request.",
"required": true,
"pattern": "[a-z](?:[-a-z0-9_]{0,61}[a-z0-9])?",
"location": "path"
}
},
"parameterOrder": [
"project",
"resource"
],
"request": {
"$ref": "TestPermissionsRequest"
},
"response": {
"$ref": "TestPermissionsResponse"
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform",
"https://www.googleapis.com/auth/ndev.cloudman"
]
},
"update": {
"id": "deploymentmanager.deployments.update",
"path": "{project}/global/deployments/{deployment}",
@@ -1177,6 +1559,11 @@
"maximum": "500",
"location": "query"
},
"orderBy": {
"type": "string",
"description": "Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name.\n\nYou can also sort results in descending order based on the creation timestamp using orderBy=\"creationTimestamp desc\". This sorts results based on the creationTimestamp field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first.\n\nCurrently, only sorting by name or creationTimestamp desc is supported.",
"location": "query"
},
"pageToken": {
"type": "string",
"description": "Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list request to get the next page of results.",
@@ -1262,6 +1649,11 @@
"maximum": "500",
"location": "query"
},
"orderBy": {
"type": "string",
"description": "Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name.\n\nYou can also sort results in descending order based on the creation timestamp using orderBy=\"creationTimestamp desc\". This sorts results based on the creationTimestamp field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first.\n\nCurrently, only sorting by name or creationTimestamp desc is supported.",
"location": "query"
},
"pageToken": {
"type": "string",
"description": "Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list request to get the next page of results.",
@@ -1361,6 +1753,11 @@
"maximum": "500",
"location": "query"
},
"orderBy": {
"type": "string",
"description": "Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name.\n\nYou can also sort results in descending order based on the creation timestamp using orderBy=\"creationTimestamp desc\". This sorts results based on the creationTimestamp field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first.\n\nCurrently, only sorting by name or creationTimestamp desc is supported.",
"location": "query"
},
"pageToken": {
"type": "string",
"description": "Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list request to get the next page of results.",
@@ -1412,6 +1809,11 @@
"maximum": "500",
"location": "query"
},
"orderBy": {
"type": "string",
"description": "Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name.\n\nYou can also sort results in descending order based on the creation timestamp using orderBy=\"creationTimestamp desc\". This sorts results based on the creationTimestamp field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first.\n\nCurrently, only sorting by name or creationTimestamp desc is supported.",
"location": "query"
},
"pageToken": {
"type": "string",
"description": "Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list request to get the next page of results.",