Index: discovery/googleapis/cloudkms__v1.json |
diff --git a/discovery/googleapis/cloudkms__v1.json b/discovery/googleapis/cloudkms__v1.json |
index 5c30ae1a67640e806eddf4bd2ab99946a6fa02f6..da783db927a19e712853cd3b452d2f5f5bd04628 100644 |
--- a/discovery/googleapis/cloudkms__v1.json |
+++ b/discovery/googleapis/cloudkms__v1.json |
@@ -12,7 +12,7 @@ |
"baseUrl": "https://cloudkms.googleapis.com/", |
"batchPath": "batch", |
"canonicalName": "Cloud KMS", |
- "description": "Manages encryption for your cloud services the same way you do on-premise. You can generate, use, rotate, and destroy AES256 encryption keys.", |
+ "description": "Manages encryption for your cloud services the same way you do on-premises. You can generate, use, rotate, and destroy AES256 encryption keys.", |
"discoveryVersion": "v1", |
"documentationLink": "https://cloud.google.com/kms/", |
"icons": { |
@@ -25,13 +25,13 @@ |
"ownerDomain": "google.com", |
"ownerName": "Google", |
"parameters": { |
- "access_token": { |
- "description": "OAuth access token.", |
+ "key": { |
+ "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.", |
"location": "query", |
"type": "string" |
}, |
- "key": { |
- "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.", |
+ "access_token": { |
+ "description": "OAuth access token.", |
"location": "query", |
"type": "string" |
}, |
@@ -126,6 +126,17 @@ |
"name" |
], |
"parameters": { |
+ "pageSize": { |
+ "description": "The standard list page size.", |
+ "format": "int32", |
+ "location": "query", |
+ "type": "integer" |
+ }, |
+ "filter": { |
+ "description": "The standard list filter.", |
+ "location": "query", |
+ "type": "string" |
+ }, |
"name": { |
"description": "The resource that owns the locations collection, if applicable.", |
"location": "path", |
@@ -137,17 +148,6 @@ |
"description": "The standard list page token.", |
"location": "query", |
"type": "string" |
- }, |
- "pageSize": { |
- "description": "The standard list page size.", |
- "format": "int32", |
- "location": "query", |
- "type": "integer" |
- }, |
- "filter": { |
- "description": "The standard list filter.", |
- "location": "query", |
- "type": "string" |
} |
}, |
"path": "v1/{+name}/locations", |
@@ -186,6 +186,30 @@ |
"resources": { |
"keyRings": { |
"methods": { |
+ "get": { |
+ "description": "Returns metadata for a given KeyRing.", |
+ "httpMethod": "GET", |
+ "id": "cloudkms.projects.locations.keyRings.get", |
+ "parameterOrder": [ |
+ "name" |
+ ], |
+ "parameters": { |
+ "name": { |
+ "description": "The name of the KeyRing to get.", |
+ "location": "path", |
+ "pattern": "^projects/[^/]+/locations/[^/]+/keyRings/[^/]+$", |
+ "required": true, |
+ "type": "string" |
+ } |
+ }, |
+ "path": "v1/{+name}", |
+ "response": { |
+ "$ref": "KeyRing" |
+ }, |
+ "scopes": [ |
+ "https://www.googleapis.com/auth/cloud-platform" |
+ ] |
+ }, |
"testIamPermissions": { |
"description": "Returns permissions that a caller has on the specified resource.\nIf the resource does not exist, this will return an empty set of\npermissions, not a NOT_FOUND error.\n\nNote: This operation is designed to be used for building permission-aware\nUIs and command-line tools, not for authorization checking. This operation\nmay \"fail open\" without warning.", |
"httpMethod": "POST", |
@@ -221,13 +245,6 @@ |
"parent" |
], |
"parameters": { |
- "parent": { |
- "description": "Required. The resource name of the location associated with the\nKeyRings, in the format `projects/*/locations/*`.", |
- "location": "path", |
- "pattern": "^projects/[^/]+/locations/[^/]+$", |
- "required": true, |
- "type": "string" |
- }, |
"pageToken": { |
"description": "Optional pagination token, returned earlier via\nListKeyRingsResponse.next_page_token.", |
"location": "query", |
@@ -238,6 +255,13 @@ |
"format": "int32", |
"location": "query", |
"type": "integer" |
+ }, |
+ "parent": { |
+ "description": "Required. The resource name of the location associated with the\nKeyRings, in the format `projects/*/locations/*`.", |
+ "location": "path", |
+ "pattern": "^projects/[^/]+/locations/[^/]+$", |
+ "required": true, |
+ "type": "string" |
} |
}, |
"path": "v1/{+parent}/keyRings", |
@@ -283,17 +307,17 @@ |
"parent" |
], |
"parameters": { |
+ "keyRingId": { |
+ "description": "Required. It must be unique within a location and match the regular\nexpression `[a-zA-Z0-9_-]{1,63}`", |
+ "location": "query", |
+ "type": "string" |
+ }, |
"parent": { |
"description": "Required. The resource name of the location associated with the\nKeyRings, in the format `projects/*/locations/*`.", |
"location": "path", |
"pattern": "^projects/[^/]+/locations/[^/]+$", |
"required": true, |
"type": "string" |
- }, |
- "keyRingId": { |
- "description": "Required. It must be unique within a location and match the regular\nexpression `[a-zA-Z0-9_-]{1,63}`", |
- "location": "query", |
- "type": "string" |
} |
}, |
"path": "v1/{+parent}/keyRings", |
@@ -330,30 +354,6 @@ |
"scopes": [ |
"https://www.googleapis.com/auth/cloud-platform" |
] |
- }, |
- "get": { |
- "description": "Returns metadata for a given KeyRing.", |
- "httpMethod": "GET", |
- "id": "cloudkms.projects.locations.keyRings.get", |
- "parameterOrder": [ |
- "name" |
- ], |
- "parameters": { |
- "name": { |
- "description": "The name of the KeyRing to get.", |
- "location": "path", |
- "pattern": "^projects/[^/]+/locations/[^/]+/keyRings/[^/]+$", |
- "required": true, |
- "type": "string" |
- } |
- }, |
- "path": "v1/{+name}", |
- "response": { |
- "$ref": "KeyRing" |
- }, |
- "scopes": [ |
- "https://www.googleapis.com/auth/cloud-platform" |
- ] |
} |
}, |
"resources": { |
@@ -387,7 +387,7 @@ |
] |
}, |
"decrypt": { |
- "description": "Decrypt data that was protected by Encrypt.", |
+ "description": "Decrypts data that was protected by Encrypt.", |
"httpMethod": "POST", |
"id": "cloudkms.projects.locations.keyRings.cryptoKeys.decrypt", |
"parameterOrder": [ |
@@ -421,6 +421,12 @@ |
"parent" |
], |
"parameters": { |
+ "pageSize": { |
+ "description": "Optional limit on the number of CryptoKeys to include in the\nresponse. Further CryptoKeys can subsequently be obtained by\nincluding the ListCryptoKeysResponse.next_page_token in a subsequent\nrequest. If unspecified, the server will pick an appropriate default.", |
+ "format": "int32", |
+ "location": "query", |
+ "type": "integer" |
+ }, |
"parent": { |
"description": "Required. The resource name of the KeyRing to list, in the format\n`projects/*/locations/*/keyRings/*`.", |
"location": "path", |
@@ -432,12 +438,6 @@ |
"description": "Optional pagination token, returned earlier via\nListCryptoKeysResponse.next_page_token.", |
"location": "query", |
"type": "string" |
- }, |
- "pageSize": { |
- "description": "Optional limit on the number of CryptoKeys to include in the\nresponse. Further CryptoKeys can subsequently be obtained by\nincluding the ListCryptoKeysResponse.next_page_token in a subsequent\nrequest. If unspecified, the server will pick an appropriate default.", |
- "format": "int32", |
- "location": "query", |
- "type": "integer" |
} |
}, |
"path": "v1/{+parent}/cryptoKeys", |
@@ -449,7 +449,7 @@ |
] |
}, |
"encrypt": { |
- "description": "Encrypt data, so that it can only be recovered by a call to Decrypt.", |
+ "description": "Encrypts data, so that it can only be recovered by a call to Decrypt.", |
"httpMethod": "POST", |
"id": "cloudkms.projects.locations.keyRings.cryptoKeys.encrypt", |
"parameterOrder": [ |
@@ -483,17 +483,17 @@ |
"parent" |
], |
"parameters": { |
+ "cryptoKeyId": { |
+ "description": "Required. It must be unique within a KeyRing and match the regular\nexpression `[a-zA-Z0-9_-]{1,63}`", |
+ "location": "query", |
+ "type": "string" |
+ }, |
"parent": { |
"description": "Required. The name of the KeyRing associated with the\nCryptoKeys.", |
"location": "path", |
"pattern": "^projects/[^/]+/locations/[^/]+/keyRings/[^/]+$", |
"required": true, |
"type": "string" |
- }, |
- "cryptoKeyId": { |
- "description": "Required. It must be unique within a KeyRing and match the regular\nexpression `[a-zA-Z0-9_-]{1,63}`", |
- "location": "query", |
- "type": "string" |
} |
}, |
"path": "v1/{+parent}/cryptoKeys", |
@@ -646,56 +646,58 @@ |
"resources": { |
"cryptoKeyVersions": { |
"methods": { |
- "restore": { |
- "description": "Restore a CryptoKeyVersion in the\nDESTROY_SCHEDULED,\nstate.\n\nUpon restoration of the CryptoKeyVersion, state\nwill be set to DISABLED,\nand destroy_time will be cleared.", |
- "httpMethod": "POST", |
- "id": "cloudkms.projects.locations.keyRings.cryptoKeys.cryptoKeyVersions.restore", |
+ "list": { |
+ "description": "Lists CryptoKeyVersions.", |
+ "httpMethod": "GET", |
+ "id": "cloudkms.projects.locations.keyRings.cryptoKeys.cryptoKeyVersions.list", |
"parameterOrder": [ |
- "name" |
+ "parent" |
], |
"parameters": { |
- "name": { |
- "description": "The resource name of the CryptoKeyVersion to restore.", |
+ "pageToken": { |
+ "description": "Optional pagination token, returned earlier via\nListCryptoKeyVersionsResponse.next_page_token.", |
+ "location": "query", |
+ "type": "string" |
+ }, |
+ "pageSize": { |
+ "description": "Optional limit on the number of CryptoKeyVersions to\ninclude in the response. Further CryptoKeyVersions can\nsubsequently be obtained by including the\nListCryptoKeyVersionsResponse.next_page_token in a subsequent request.\nIf unspecified, the server will pick an appropriate default.", |
+ "format": "int32", |
+ "location": "query", |
+ "type": "integer" |
+ }, |
+ "parent": { |
+ "description": "Required. The resource name of the CryptoKey to list, in the format\n`projects/*/locations/*/keyRings/*/cryptoKeys/*`.", |
"location": "path", |
- "pattern": "^projects/[^/]+/locations/[^/]+/keyRings/[^/]+/cryptoKeys/[^/]+/cryptoKeyVersions/[^/]+$", |
+ "pattern": "^projects/[^/]+/locations/[^/]+/keyRings/[^/]+/cryptoKeys/[^/]+$", |
"required": true, |
"type": "string" |
} |
}, |
- "path": "v1/{+name}:restore", |
- "request": { |
- "$ref": "RestoreCryptoKeyVersionRequest" |
- }, |
+ "path": "v1/{+parent}/cryptoKeyVersions", |
"response": { |
- "$ref": "CryptoKeyVersion" |
+ "$ref": "ListCryptoKeyVersionsResponse" |
}, |
"scopes": [ |
"https://www.googleapis.com/auth/cloud-platform" |
] |
}, |
- "patch": { |
- "description": "Update a CryptoKeyVersion's metadata.\n\nstate may be changed between\nENABLED and\nDISABLED using this\nmethod. See DestroyCryptoKeyVersion and RestoreCryptoKeyVersion to\nmove between other states.", |
- "httpMethod": "PATCH", |
- "id": "cloudkms.projects.locations.keyRings.cryptoKeys.cryptoKeyVersions.patch", |
+ "create": { |
+ "description": "Create a new CryptoKeyVersion in a CryptoKey.\n\nThe server will assign the next sequential id. If unset,\nstate will be set to\nENABLED.", |
+ "httpMethod": "POST", |
+ "id": "cloudkms.projects.locations.keyRings.cryptoKeys.cryptoKeyVersions.create", |
"parameterOrder": [ |
- "name" |
+ "parent" |
], |
"parameters": { |
- "updateMask": { |
- "description": "Required list of fields to be updated in this request.", |
- "format": "google-fieldmask", |
- "location": "query", |
- "type": "string" |
- }, |
- "name": { |
- "description": "Output only. The resource name for this CryptoKeyVersion in the format\n`projects/*/locations/*/keyRings/*/cryptoKeys/*/cryptoKeyVersions/*`.", |
+ "parent": { |
+ "description": "Required. The name of the CryptoKey associated with\nthe CryptoKeyVersions.", |
"location": "path", |
- "pattern": "^projects/[^/]+/locations/[^/]+/keyRings/[^/]+/cryptoKeys/[^/]+/cryptoKeyVersions/[^/]+$", |
+ "pattern": "^projects/[^/]+/locations/[^/]+/keyRings/[^/]+/cryptoKeys/[^/]+$", |
"required": true, |
"type": "string" |
} |
}, |
- "path": "v1/{+name}", |
+ "path": "v1/{+parent}/cryptoKeyVersions", |
"request": { |
"$ref": "CryptoKeyVersion" |
}, |
@@ -706,23 +708,26 @@ |
"https://www.googleapis.com/auth/cloud-platform" |
] |
}, |
- "get": { |
- "description": "Returns metadata for a given CryptoKeyVersion.", |
- "httpMethod": "GET", |
- "id": "cloudkms.projects.locations.keyRings.cryptoKeys.cryptoKeyVersions.get", |
+ "destroy": { |
+ "description": "Schedule a CryptoKeyVersion for destruction.\n\nUpon calling this method, CryptoKeyVersion.state will be set to\nDESTROY_SCHEDULED\nand destroy_time will be set to a time 24\nhours in the future, at which point the state\nwill be changed to\nDESTROYED, and the key\nmaterial will be irrevocably destroyed.\n\nBefore the destroy_time is reached,\nRestoreCryptoKeyVersion may be called to reverse the process.", |
+ "httpMethod": "POST", |
+ "id": "cloudkms.projects.locations.keyRings.cryptoKeys.cryptoKeyVersions.destroy", |
"parameterOrder": [ |
"name" |
], |
"parameters": { |
"name": { |
- "description": "The name of the CryptoKeyVersion to get.", |
+ "description": "The resource name of the CryptoKeyVersion to destroy.", |
"location": "path", |
"pattern": "^projects/[^/]+/locations/[^/]+/keyRings/[^/]+/cryptoKeys/[^/]+/cryptoKeyVersions/[^/]+$", |
"required": true, |
"type": "string" |
} |
}, |
- "path": "v1/{+name}", |
+ "path": "v1/{+name}:destroy", |
+ "request": { |
+ "$ref": "DestroyCryptoKeyVersionRequest" |
+ }, |
"response": { |
"$ref": "CryptoKeyVersion" |
}, |
@@ -730,61 +735,50 @@ |
"https://www.googleapis.com/auth/cloud-platform" |
] |
}, |
- "list": { |
- "description": "Lists CryptoKeyVersions.", |
- "httpMethod": "GET", |
- "id": "cloudkms.projects.locations.keyRings.cryptoKeys.cryptoKeyVersions.list", |
+ "restore": { |
+ "description": "Restore a CryptoKeyVersion in the\nDESTROY_SCHEDULED,\nstate.\n\nUpon restoration of the CryptoKeyVersion, state\nwill be set to DISABLED,\nand destroy_time will be cleared.", |
+ "httpMethod": "POST", |
+ "id": "cloudkms.projects.locations.keyRings.cryptoKeys.cryptoKeyVersions.restore", |
"parameterOrder": [ |
- "parent" |
+ "name" |
], |
"parameters": { |
- "pageToken": { |
- "description": "Optional pagination token, returned earlier via\nListCryptoKeyVersionsResponse.next_page_token.", |
- "location": "query", |
- "type": "string" |
- }, |
- "pageSize": { |
- "description": "Optional limit on the number of CryptoKeyVersions to\ninclude in the response. Further CryptoKeyVersions can\nsubsequently be obtained by including the\nListCryptoKeyVersionsResponse.next_page_token in a subsequent request.\nIf unspecified, the server will pick an appropriate default.", |
- "format": "int32", |
- "location": "query", |
- "type": "integer" |
- }, |
- "parent": { |
- "description": "Required. The resource name of the CryptoKey to list, in the format\n`projects/*/locations/*/keyRings/*/cryptoKeys/*`.", |
+ "name": { |
+ "description": "The resource name of the CryptoKeyVersion to restore.", |
"location": "path", |
- "pattern": "^projects/[^/]+/locations/[^/]+/keyRings/[^/]+/cryptoKeys/[^/]+$", |
+ "pattern": "^projects/[^/]+/locations/[^/]+/keyRings/[^/]+/cryptoKeys/[^/]+/cryptoKeyVersions/[^/]+$", |
"required": true, |
"type": "string" |
} |
}, |
- "path": "v1/{+parent}/cryptoKeyVersions", |
+ "path": "v1/{+name}:restore", |
+ "request": { |
+ "$ref": "RestoreCryptoKeyVersionRequest" |
+ }, |
"response": { |
- "$ref": "ListCryptoKeyVersionsResponse" |
+ "$ref": "CryptoKeyVersion" |
}, |
"scopes": [ |
"https://www.googleapis.com/auth/cloud-platform" |
] |
}, |
- "destroy": { |
- "description": "Schedule a CryptoKeyVersion for destruction.\n\nUpon calling this method, CryptoKeyVersion.state will be set to\nDESTROY_SCHEDULED\nand destroy_time will be set to a time 24\nhours in the future, at which point the state\nwill be changed to\nDESTROYED, and the key\nmaterial will be irrevocably destroyed.\n\nBefore the destroy_time is reached,\nRestoreCryptoKeyVersion may be called to reverse the process.", |
- "httpMethod": "POST", |
- "id": "cloudkms.projects.locations.keyRings.cryptoKeys.cryptoKeyVersions.destroy", |
+ "get": { |
+ "description": "Returns metadata for a given CryptoKeyVersion.", |
+ "httpMethod": "GET", |
+ "id": "cloudkms.projects.locations.keyRings.cryptoKeys.cryptoKeyVersions.get", |
"parameterOrder": [ |
"name" |
], |
"parameters": { |
"name": { |
- "description": "The resource name of the CryptoKeyVersion to destroy.", |
+ "description": "The name of the CryptoKeyVersion to get.", |
"location": "path", |
"pattern": "^projects/[^/]+/locations/[^/]+/keyRings/[^/]+/cryptoKeys/[^/]+/cryptoKeyVersions/[^/]+$", |
"required": true, |
"type": "string" |
} |
}, |
- "path": "v1/{+name}:destroy", |
- "request": { |
- "$ref": "DestroyCryptoKeyVersionRequest" |
- }, |
+ "path": "v1/{+name}", |
"response": { |
"$ref": "CryptoKeyVersion" |
}, |
@@ -792,23 +786,29 @@ |
"https://www.googleapis.com/auth/cloud-platform" |
] |
}, |
- "create": { |
- "description": "Create a new CryptoKeyVersion in a CryptoKey.\n\nThe server will assign the next sequential id. If unset,\nstate will be set to\nENABLED.", |
- "httpMethod": "POST", |
- "id": "cloudkms.projects.locations.keyRings.cryptoKeys.cryptoKeyVersions.create", |
+ "patch": { |
+ "description": "Update a CryptoKeyVersion's metadata.\n\nstate may be changed between\nENABLED and\nDISABLED using this\nmethod. See DestroyCryptoKeyVersion and RestoreCryptoKeyVersion to\nmove between other states.", |
+ "httpMethod": "PATCH", |
+ "id": "cloudkms.projects.locations.keyRings.cryptoKeys.cryptoKeyVersions.patch", |
"parameterOrder": [ |
- "parent" |
+ "name" |
], |
"parameters": { |
- "parent": { |
- "description": "Required. The name of the CryptoKey associated with\nthe CryptoKeyVersions.", |
+ "updateMask": { |
+ "description": "Required list of fields to be updated in this request.", |
+ "format": "google-fieldmask", |
+ "location": "query", |
+ "type": "string" |
+ }, |
+ "name": { |
+ "description": "Output only. The resource name for this CryptoKeyVersion in the format\n`projects/*/locations/*/keyRings/*/cryptoKeys/*/cryptoKeyVersions/*`.", |
"location": "path", |
- "pattern": "^projects/[^/]+/locations/[^/]+/keyRings/[^/]+/cryptoKeys/[^/]+$", |
+ "pattern": "^projects/[^/]+/locations/[^/]+/keyRings/[^/]+/cryptoKeys/[^/]+/cryptoKeyVersions/[^/]+$", |
"required": true, |
"type": "string" |
} |
}, |
- "path": "v1/{+parent}/cryptoKeyVersions", |
+ "path": "v1/{+name}", |
"request": { |
"$ref": "CryptoKeyVersion" |
}, |
@@ -830,111 +830,27 @@ |
} |
} |
}, |
- "revision": "20170515", |
+ "revision": "20170530", |
"rootUrl": "https://cloudkms.googleapis.com/", |
"schemas": { |
- "AuditConfig": { |
- "description": "Specifies the audit configuration for a service.\nThe configuration determines which permission types are logged, and what\nidentities, if any, are exempted from logging.\nAn AuditConfig must have one or more AuditLogConfigs.\n\nIf there are AuditConfigs for both `allServices` and a specific service,\nthe union of the two AuditConfigs is used for that service: the log_types\nspecified in each AuditConfig are enabled, and the exempted_members in each\nAuditConfig are exempted.\n\nExample Policy with multiple AuditConfigs:\n\n {\n \"audit_configs\": [\n {\n \"service\": \"allServices\"\n \"audit_log_configs\": [\n {\n \"log_type\": \"DATA_READ\",\n \"exempted_members\": [\n \"user:foo@gmail.com\"\n ]\n },\n {\n \"log_type\": \"DATA_WRITE\",\n },\n {\n \"log_type\": \"ADMIN_READ\",\n }\n ]\n },\n {\n \"service\": \"fooservice.googleapis.com\"\n \"audit_log_configs\": [\n {\n \"log_type\": \"DATA_READ\",\n },\n {\n \"log_type\": \"DATA_WRITE\",\n \"exempted_members\": [\n \"user:bar@gmail.com\"\n ]\n }\n ]\n }\n ]\n }\n\nFor fooservice, this policy enables DATA_READ, DATA_WRITE and ADMIN_READ\nlogging. It also exempts foo@gmail.com from DATA_READ logging, and\nbar@gmail.com from DATA_WRITE logging.", |
- "id": "AuditConfig", |
+ "Expr": { |
+ "description": "Represents an expression text. Example:\n\n title: \"User account presence\"\n description: \"Determines whether the request has a user account\"\n expression: \"size(request.user) > 0\"", |
+ "id": "Expr", |
"properties": { |
- "exemptedMembers": { |
- "items": { |
- "type": "string" |
- }, |
- "type": "array" |
- }, |
- "service": { |
- "description": "Specifies a service that will be enabled for audit logging.\nFor example, `storage.googleapis.com`, `cloudsql.googleapis.com`.\n`allServices` is a special value that covers all services.", |
- "type": "string" |
- }, |
- "auditLogConfigs": { |
- "description": "The configuration for logging of each type of permission.\nNext ID: 4", |
- "items": { |
- "$ref": "AuditLogConfig" |
- }, |
- "type": "array" |
- } |
- }, |
- "type": "object" |
- }, |
- "CryptoKeyVersion": { |
- "description": "A CryptoKeyVersion represents an individual cryptographic key, and the\nassociated key material.\n\nIt can be used for cryptographic operations either directly, or via its\nparent CryptoKey, in which case the server will choose the appropriate\nversion for the operation.", |
- "id": "CryptoKeyVersion", |
- "properties": { |
- "createTime": { |
- "description": "Output only. The time at which this CryptoKeyVersion was created.", |
- "format": "google-datetime", |
- "type": "string" |
- }, |
- "state": { |
- "description": "The current state of the CryptoKeyVersion.", |
- "enum": [ |
- "CRYPTO_KEY_VERSION_STATE_UNSPECIFIED", |
- "ENABLED", |
- "DISABLED", |
- "DESTROYED", |
- "DESTROY_SCHEDULED" |
- ], |
- "enumDescriptions": [ |
- "Not specified.", |
- "This version may be used in Encrypt and\nDecrypt requests.", |
- "This version may not be used, but the key material is still available,\nand the version can be placed back into the ENABLED state.", |
- "This version is destroyed, and the key material is no longer stored.\nA version may not leave this state once entered.", |
- "This version is scheduled for destruction, and will be destroyed soon.\nCall\nRestoreCryptoKeyVersion\nto put it back into the DISABLED state." |
- ], |
+ "description": { |
+ "description": "An optional description of the expression. This is a longer text which\ndescribes the expression, e.g. when hovered over it in a UI.", |
"type": "string" |
}, |
- "name": { |
- "description": "Output only. The resource name for this CryptoKeyVersion in the format\n`projects/*/locations/*/keyRings/*/cryptoKeys/*/cryptoKeyVersions/*`.", |
+ "expression": { |
+ "description": "Textual representation of an expression in\n[Common Expression Language](http://go/api-expr) syntax.\n\nThe application context of the containing message determines which\nwell-known feature set of CEL is supported.", |
"type": "string" |
}, |
- "destroyEventTime": { |
- "description": "Output only. The time this CryptoKeyVersion's key material was\ndestroyed. Only present if state is\nDESTROYED.", |
- "format": "google-datetime", |
+ "title": { |
+ "description": "An optional title for the expression, i.e. a short string describing\nits purpose. This can be used e.g. in UIs which allow to enter the\nexpression.", |
"type": "string" |
}, |
- "destroyTime": { |
- "description": "Output only. The time this CryptoKeyVersion's key material is scheduled\nfor destruction. Only present if state is\nDESTROY_SCHEDULED.", |
- "format": "google-datetime", |
- "type": "string" |
- } |
- }, |
- "type": "object" |
- }, |
- "CloudAuditOptions": { |
- "description": "Write a Cloud Audit log", |
- "id": "CloudAuditOptions", |
- "properties": { |
- "logName": { |
- "description": "The log_name to populate in the Cloud Audit Record.", |
- "enum": [ |
- "UNSPECIFIED_LOG_NAME", |
- "ADMIN_ACTIVITY", |
- "DATA_ACCESS" |
- ], |
- "enumDescriptions": [ |
- "Default. Should not be used.", |
- "Corresponds to \"cloudaudit.googleapis.com/activity\"", |
- "Corresponds to \"cloudaudit.googleapis.com/data_access\"" |
- ], |
- "type": "string" |
- } |
- }, |
- "type": "object" |
- }, |
- "Binding": { |
- "description": "Associates `members` with a `role`.", |
- "id": "Binding", |
- "properties": { |
- "members": { |
- "description": "Specifies the identities requesting access for a Cloud Platform resource.\n`members` can have the following values:\n\n* `allUsers`: A special identifier that represents anyone who is\n on the internet; with or without a Google account.\n\n* `allAuthenticatedUsers`: A special identifier that represents anyone\n who is authenticated with a Google account or a service account.\n\n* `user:{emailid}`: An email address that represents a specific Google\n account. For example, `alice@gmail.com` or `joe@example.com`.\n\n\n* `serviceAccount:{emailid}`: An email address that represents a service\n account. For example, `my-other-app@appspot.gserviceaccount.com`.\n\n* `group:{emailid}`: An email address that represents a Google group.\n For example, `admins@example.com`.\n\n\n* `domain:{domain}`: A Google Apps domain name that represents all the\n users of that domain. For example, `google.com` or `example.com`.\n\n", |
- "items": { |
- "type": "string" |
- }, |
- "type": "array" |
- }, |
- "role": { |
- "description": "Role that is assigned to `members`.\nFor example, `roles/viewer`, `roles/editor`, or `roles/owner`.\nRequired", |
+ "location": { |
+ "description": "An optional string indicating the location of the expression for error\nreporting, e.g. a file name and a position in the file.", |
"type": "string" |
} |
}, |
@@ -944,13 +860,13 @@ |
"description": "Request message for KeyManagementService.Encrypt.", |
"id": "EncryptRequest", |
"properties": { |
- "plaintext": { |
- "description": "Required. The data to encrypt. Must be no larger than 64KiB.", |
+ "additionalAuthenticatedData": { |
+ "description": "Optional data that, if specified, must also be provided during decryption\nthrough DecryptRequest.additional_authenticated_data. Must be no\nlarger than 64KiB.", |
"format": "byte", |
"type": "string" |
}, |
- "additionalAuthenticatedData": { |
- "description": "Optional data that, if specified, must also be provided during decryption\nthrough DecryptRequest.additional_authenticated_data. Must be no\nlarger than 64KiB.", |
+ "plaintext": { |
+ "description": "Required. The data to encrypt. Must be no larger than 64KiB.", |
"format": "byte", |
"type": "string" |
} |
@@ -1070,23 +986,6 @@ |
"description": "A CryptoKey represents a logical key that can be used for cryptographic\noperations.\n\nA CryptoKey is made up of one or more versions, which\nrepresent the actual key material used in cryptographic operations.", |
"id": "CryptoKey", |
"properties": { |
- "purpose": { |
- "description": "The immutable purpose of this CryptoKey. Currently, the only acceptable\npurpose is ENCRYPT_DECRYPT.", |
- "enum": [ |
- "CRYPTO_KEY_PURPOSE_UNSPECIFIED", |
- "ENCRYPT_DECRYPT" |
- ], |
- "enumDescriptions": [ |
- "Not specified.", |
- "CryptoKeys with this purpose may be used with\nEncrypt and\nDecrypt." |
- ], |
- "type": "string" |
- }, |
- "nextRotationTime": { |
- "description": "At next_rotation_time, the Key Management Service will automatically:\n\n1. Create a new version of this CryptoKey.\n2. Mark the new version as primary.\n\nKey rotations performed manually via\nCreateCryptoKeyVersion and\nUpdateCryptoKeyPrimaryVersion\ndo not affect next_rotation_time.", |
- "format": "google-datetime", |
- "type": "string" |
- }, |
"createTime": { |
"description": "Output only. The time at which this CryptoKey was created.", |
"format": "google-datetime", |
@@ -1104,6 +1003,23 @@ |
"name": { |
"description": "Output only. The resource name for this CryptoKey in the format\n`projects/*/locations/*/keyRings/*/cryptoKeys/*`.", |
"type": "string" |
+ }, |
+ "purpose": { |
+ "description": "The immutable purpose of this CryptoKey. Currently, the only acceptable\npurpose is ENCRYPT_DECRYPT.", |
+ "enum": [ |
+ "CRYPTO_KEY_PURPOSE_UNSPECIFIED", |
+ "ENCRYPT_DECRYPT" |
+ ], |
+ "enumDescriptions": [ |
+ "Not specified.", |
+ "CryptoKeys with this purpose may be used with\nEncrypt and\nDecrypt." |
+ ], |
+ "type": "string" |
+ }, |
+ "nextRotationTime": { |
+ "description": "At next_rotation_time, the Key Management Service will automatically:\n\n1. Create a new version of this CryptoKey.\n2. Mark the new version as primary.\n\nKey rotations performed manually via\nCreateCryptoKeyVersion and\nUpdateCryptoKeyPrimaryVersion\ndo not affect next_rotation_time.", |
+ "format": "google-datetime", |
+ "type": "string" |
} |
}, |
"type": "object" |
@@ -1164,6 +1080,17 @@ |
"description": "A resource that represents Google Cloud Platform location.", |
"id": "Location", |
"properties": { |
+ "labels": { |
+ "additionalProperties": { |
+ "type": "string" |
+ }, |
+ "description": "Cross-service attributes for the location. For example\n\n {\"cloud.googleapis.com/region\": \"us-east1\"}", |
+ "type": "object" |
+ }, |
+ "name": { |
+ "description": "Resource name for the location, which may vary between implementations.\nFor example: `\"projects/example-project/locations/us-east1\"`", |
+ "type": "string" |
+ }, |
"locationId": { |
"description": "The canonical id for this location. For example: `\"us-east1\"`.", |
"type": "string" |
@@ -1175,17 +1102,6 @@ |
}, |
"description": "Service-specific metadata. For example the available capacity at the given\nlocation.", |
"type": "object" |
- }, |
- "labels": { |
- "additionalProperties": { |
- "type": "string" |
- }, |
- "description": "Cross-service attributes for the location. For example\n\n {\"cloud.googleapis.com/region\": \"us-east1\"}", |
- "type": "object" |
- }, |
- "name": { |
- "description": "Resource name for the location, which may vary between implementations.\nFor example: `\"projects/example-project/locations/us-east1\"`", |
- "type": "string" |
} |
}, |
"type": "object" |
@@ -1217,10 +1133,34 @@ |
"description": "A condition to be met.", |
"id": "Condition", |
"properties": { |
+ "op": { |
+ "description": "An operator to apply the subject with.", |
+ "enum": [ |
+ "NO_OP", |
+ "EQUALS", |
+ "NOT_EQUALS", |
+ "IN", |
+ "NOT_IN", |
+ "DISCHARGED" |
+ ], |
+ "enumDescriptions": [ |
+ "Default no-op.", |
+ "DEPRECATED. Use IN instead.", |
+ "DEPRECATED. Use NOT_IN instead.", |
+ "The condition is true if the subject (or any element of it if it is\na set) matches any of the supplied values.", |
+ "The condition is true if the subject (or every element of it if it is\na set) matches none of the supplied values.", |
+ "Subject is discharged" |
+ ], |
+ "type": "string" |
+ }, |
"svc": { |
"description": "Trusted attributes discharged by the service.", |
"type": "string" |
}, |
+ "value": { |
+ "description": "DEPRECATED. Use 'values' instead.", |
+ "type": "string" |
+ }, |
"sys": { |
"description": "Trusted attributes supplied by any service that owns resources and uses\nthe IAM system for access control.", |
"enum": [ |
@@ -1239,9 +1179,12 @@ |
], |
"type": "string" |
}, |
- "value": { |
- "description": "DEPRECATED. Use 'values' instead.", |
- "type": "string" |
+ "values": { |
+ "description": "The objects of the condition. This is mutually exclusive with 'value'.", |
+ "items": { |
+ "type": "string" |
+ }, |
+ "type": "array" |
}, |
"iam": { |
"description": "Trusted attributes supplied by the IAM system.", |
@@ -1256,37 +1199,10 @@ |
"Default non-attribute.", |
"Either principal or (if present) authority selector.", |
"The principal (even if an authority selector is present), which\nmust only be used for attribution, not authorization.", |
- "An approver (distinct from the requester) that has authorized this\nrequest.\nWhen used with IN, the condition indicates that one of the approvers\nassociated with the request matches the specified principal, or is a\nmember of the specified group. Approvers can only grant additional\naccess, and are thus only used in a strictly positive context\n(e.g. ALLOW/IN or DENY/NOT_IN).\nSee: go/rpc-security-policy-dynamicauth.", |
+ "An approver (distinct from the requester) that has authorized this\nrequest.\nWhen used with IN, the condition indicates that one of the approvers\nassociated with the request matches the specified principal, or is a\nmember of the specified group. Approvers can only grant additional\naccess, and are thus only used in a strictly positive context\n(e.g. ALLOW/IN or DENY/NOT_IN).", |
"What types of justifications have been supplied with this request.\nString values should match enum names from tech.iam.JustificationType,\ne.g. \"MANUAL_STRING\". It is not permitted to grant access based on\nthe *absence* of a justification, so justification conditions can only\nbe used in a \"positive\" context (e.g., ALLOW/IN or DENY/NOT_IN).\n\nMultiple justifications, e.g., a Buganizer ID and a manually-entered\nreason, are normal and supported." |
], |
"type": "string" |
- }, |
- "values": { |
- "description": "The objects of the condition. This is mutually exclusive with 'value'.", |
- "items": { |
- "type": "string" |
- }, |
- "type": "array" |
- }, |
- "op": { |
- "description": "An operator to apply the subject with.", |
- "enum": [ |
- "NO_OP", |
- "EQUALS", |
- "NOT_EQUALS", |
- "IN", |
- "NOT_IN", |
- "DISCHARGED" |
- ], |
- "enumDescriptions": [ |
- "Default no-op.", |
- "DEPRECATED. Use IN instead.", |
- "DEPRECATED. Use NOT_IN instead.", |
- "The condition is true if the subject (or any element of it if it is\na set) matches any of the supplied values.", |
- "The condition is true if the subject (or every element of it if it is\na set) matches none of the supplied values.", |
- "Subject is discharged" |
- ], |
- "type": "string" |
} |
}, |
"type": "object" |
@@ -1310,13 +1226,6 @@ |
"description": "Provides the configuration for logging a type of permissions.\nExample:\n\n {\n \"audit_log_configs\": [\n {\n \"log_type\": \"DATA_READ\",\n \"exempted_members\": [\n \"user:foo@gmail.com\"\n ]\n },\n {\n \"log_type\": \"DATA_WRITE\",\n }\n ]\n }\n\nThis enables 'DATA_READ' and 'DATA_WRITE' logging, while exempting\nfoo@gmail.com from DATA_READ logging.", |
"id": "AuditLogConfig", |
"properties": { |
- "exemptedMembers": { |
- "description": "Specifies the identities that do not cause logging for this type of\npermission.\nFollows the same format of Binding.members.", |
- "items": { |
- "type": "string" |
- }, |
- "type": "array" |
- }, |
"logType": { |
"description": "The log type that this config enables.", |
"enum": [ |
@@ -1332,6 +1241,13 @@ |
"Data reads. Example: CloudSQL Users list" |
], |
"type": "string" |
+ }, |
+ "exemptedMembers": { |
+ "description": "Specifies the identities that do not cause logging for this type of\npermission.\nFollows the same format of Binding.members.", |
+ "items": { |
+ "type": "string" |
+ }, |
+ "type": "array" |
} |
}, |
"type": "object" |
@@ -1362,33 +1278,33 @@ |
}, |
"type": "object" |
}, |
- "EncryptResponse": { |
- "description": "Response message for KeyManagementService.Encrypt.", |
- "id": "EncryptResponse", |
+ "KeyRing": { |
+ "description": "A KeyRing is a toplevel logical grouping of CryptoKeys.", |
+ "id": "KeyRing", |
"properties": { |
- "ciphertext": { |
- "description": "The encrypted data.", |
- "format": "byte", |
+ "createTime": { |
+ "description": "Output only. The time at which this KeyRing was created.", |
+ "format": "google-datetime", |
"type": "string" |
}, |
"name": { |
- "description": "The resource name of the CryptoKeyVersion used in encryption.", |
+ "description": "Output only. The resource name for the KeyRing in the format\n`projects/*/locations/*/keyRings/*`.", |
"type": "string" |
} |
}, |
"type": "object" |
}, |
- "KeyRing": { |
- "description": "A KeyRing is a toplevel logical grouping of CryptoKeys.", |
- "id": "KeyRing", |
+ "EncryptResponse": { |
+ "description": "Response message for KeyManagementService.Encrypt.", |
+ "id": "EncryptResponse", |
"properties": { |
- "createTime": { |
- "description": "Output only. The time at which this KeyRing was created.", |
- "format": "google-datetime", |
+ "ciphertext": { |
+ "description": "The encrypted data.", |
+ "format": "byte", |
"type": "string" |
}, |
"name": { |
- "description": "Output only. The resource name for the KeyRing in the format\n`projects/*/locations/*/keyRings/*`.", |
+ "description": "The resource name of the CryptoKeyVersion used in encryption.", |
"type": "string" |
} |
}, |
@@ -1416,16 +1332,6 @@ |
"description": "Defines an Identity and Access Management (IAM) policy. It is used to\nspecify access control policies for Cloud Platform resources.\n\n\nA `Policy` consists of a list of `bindings`. A `Binding` binds a list of\n`members` to a `role`, where the members can be user accounts, Google groups,\nGoogle domains, and service accounts. A `role` is a named list of permissions\ndefined by IAM.\n\n**Example**\n\n {\n \"bindings\": [\n {\n \"role\": \"roles/owner\",\n \"members\": [\n \"user:mike@example.com\",\n \"group:admins@example.com\",\n \"domain:google.com\",\n \"serviceAccount:my-other-app@appspot.gserviceaccount.com\",\n ]\n },\n {\n \"role\": \"roles/viewer\",\n \"members\": [\"user:sean@example.com\"]\n }\n ]\n }\n\nFor a description of IAM and its features, see the\n[IAM developer's guide](https://cloud.google.com/iam).", |
"id": "Policy", |
"properties": { |
- "iamOwned": { |
- "type": "boolean" |
- }, |
- "rules": { |
- "description": "If more than one rule is specified, the rules are applied in the following\nmanner:\n- All matching LOG rules are always applied.\n- If any DENY/DENY_WITH_LOG rule matches, permission is denied.\n Logging will be applied if one or more matching rule requires logging.\n- Otherwise, if any ALLOW/ALLOW_WITH_LOG rule matches, permission is\n granted.\n Logging will be applied if one or more matching rule requires logging.\n- Otherwise, if no rule applies, permission is denied.", |
- "items": { |
- "$ref": "Rule" |
- }, |
- "type": "array" |
- }, |
"version": { |
"description": "Version of the `Policy`. The default version is 0.", |
"format": "int32", |
@@ -1439,7 +1345,7 @@ |
"type": "array" |
}, |
"bindings": { |
- "description": "Associates a list of `members` to a `role`.\nMultiple `bindings` must not be specified for the same `role`.\n`bindings` with no members will result in an error.", |
+ "description": "Associates a list of `members` to a `role`.\n`bindings` with no members will result in an error.", |
"items": { |
"$ref": "Binding" |
}, |
@@ -1449,16 +1355,20 @@ |
"description": "`etag` is used for optimistic concurrency control as a way to help\nprevent simultaneous updates of a policy from overwriting each other.\nIt is strongly suggested that systems make use of the `etag` in the\nread-modify-write cycle to perform policy updates in order to avoid race\nconditions: An `etag` is returned in the response to `getIamPolicy`, and\nsystems are expected to put that etag in the request to `setIamPolicy` to\nensure 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\npolicy is overwritten blindly.", |
"format": "byte", |
"type": "string" |
+ }, |
+ "iamOwned": { |
+ "type": "boolean" |
+ }, |
+ "rules": { |
+ "description": "If more than one rule is specified, the rules are applied in the following\nmanner:\n- All matching LOG rules are always applied.\n- If any DENY/DENY_WITH_LOG rule matches, permission is denied.\n Logging will be applied if one or more matching rule requires logging.\n- Otherwise, if any ALLOW/ALLOW_WITH_LOG rule matches, permission is\n granted.\n Logging will be applied if one or more matching rule requires logging.\n- Otherwise, if no rule applies, permission is denied.", |
+ "items": { |
+ "$ref": "Rule" |
+ }, |
+ "type": "array" |
} |
}, |
"type": "object" |
}, |
- "RestoreCryptoKeyVersionRequest": { |
- "description": "Request message for KeyManagementService.RestoreCryptoKeyVersion.", |
- "id": "RestoreCryptoKeyVersionRequest", |
- "properties": {}, |
- "type": "object" |
- }, |
"UpdateCryptoKeyPrimaryVersionRequest": { |
"description": "Request message for KeyManagementService.UpdateCryptoKeyPrimaryVersion.", |
"id": "UpdateCryptoKeyPrimaryVersionRequest", |
@@ -1470,6 +1380,18 @@ |
}, |
"type": "object" |
}, |
+ "RestoreCryptoKeyVersionRequest": { |
+ "description": "Request message for KeyManagementService.RestoreCryptoKeyVersion.", |
+ "id": "RestoreCryptoKeyVersionRequest", |
+ "properties": {}, |
+ "type": "object" |
+ }, |
+ "DataAccessOptions": { |
+ "description": "Write a Data Access (Gin) log", |
+ "id": "DataAccessOptions", |
+ "properties": {}, |
+ "type": "object" |
+ }, |
"ListKeyRingsResponse": { |
"description": "Response message for KeyManagementService.ListKeyRings.", |
"id": "ListKeyRingsResponse", |
@@ -1493,10 +1415,115 @@ |
}, |
"type": "object" |
}, |
- "DataAccessOptions": { |
- "description": "Write a Data Access (Gin) log", |
- "id": "DataAccessOptions", |
- "properties": {}, |
+ "AuditConfig": { |
+ "description": "Specifies the audit configuration for a service.\nThe configuration determines which permission types are logged, and what\nidentities, if any, are exempted from logging.\nAn AuditConfig must have one or more AuditLogConfigs.\n\nIf there are AuditConfigs for both `allServices` and a specific service,\nthe union of the two AuditConfigs is used for that service: the log_types\nspecified in each AuditConfig are enabled, and the exempted_members in each\nAuditConfig are exempted.\n\nExample Policy with multiple AuditConfigs:\n\n {\n \"audit_configs\": [\n {\n \"service\": \"allServices\"\n \"audit_log_configs\": [\n {\n \"log_type\": \"DATA_READ\",\n \"exempted_members\": [\n \"user:foo@gmail.com\"\n ]\n },\n {\n \"log_type\": \"DATA_WRITE\",\n },\n {\n \"log_type\": \"ADMIN_READ\",\n }\n ]\n },\n {\n \"service\": \"fooservice.googleapis.com\"\n \"audit_log_configs\": [\n {\n \"log_type\": \"DATA_READ\",\n },\n {\n \"log_type\": \"DATA_WRITE\",\n \"exempted_members\": [\n \"user:bar@gmail.com\"\n ]\n }\n ]\n }\n ]\n }\n\nFor fooservice, this policy enables DATA_READ, DATA_WRITE and ADMIN_READ\nlogging. It also exempts foo@gmail.com from DATA_READ logging, and\nbar@gmail.com from DATA_WRITE logging.", |
+ "id": "AuditConfig", |
+ "properties": { |
+ "service": { |
+ "description": "Specifies a service that will be enabled for audit logging.\nFor example, `storage.googleapis.com`, `cloudsql.googleapis.com`.\n`allServices` is a special value that covers all services.", |
+ "type": "string" |
+ }, |
+ "auditLogConfigs": { |
+ "description": "The configuration for logging of each type of permission.\nNext ID: 4", |
+ "items": { |
+ "$ref": "AuditLogConfig" |
+ }, |
+ "type": "array" |
+ }, |
+ "exemptedMembers": { |
+ "items": { |
+ "type": "string" |
+ }, |
+ "type": "array" |
+ } |
+ }, |
+ "type": "object" |
+ }, |
+ "CryptoKeyVersion": { |
+ "description": "A CryptoKeyVersion represents an individual cryptographic key, and the\nassociated key material.\n\nIt can be used for cryptographic operations either directly, or via its\nparent CryptoKey, in which case the server will choose the appropriate\nversion for the operation.", |
+ "id": "CryptoKeyVersion", |
+ "properties": { |
+ "destroyEventTime": { |
+ "description": "Output only. The time this CryptoKeyVersion's key material was\ndestroyed. Only present if state is\nDESTROYED.", |
+ "format": "google-datetime", |
+ "type": "string" |
+ }, |
+ "destroyTime": { |
+ "description": "Output only. The time this CryptoKeyVersion's key material is scheduled\nfor destruction. Only present if state is\nDESTROY_SCHEDULED.", |
+ "format": "google-datetime", |
+ "type": "string" |
+ }, |
+ "createTime": { |
+ "description": "Output only. The time at which this CryptoKeyVersion was created.", |
+ "format": "google-datetime", |
+ "type": "string" |
+ }, |
+ "state": { |
+ "description": "The current state of the CryptoKeyVersion.", |
+ "enum": [ |
+ "CRYPTO_KEY_VERSION_STATE_UNSPECIFIED", |
+ "ENABLED", |
+ "DISABLED", |
+ "DESTROYED", |
+ "DESTROY_SCHEDULED" |
+ ], |
+ "enumDescriptions": [ |
+ "Not specified.", |
+ "This version may be used in Encrypt and\nDecrypt requests.", |
+ "This version may not be used, but the key material is still available,\nand the version can be placed back into the ENABLED state.", |
+ "This version is destroyed, and the key material is no longer stored.\nA version may not leave this state once entered.", |
+ "This version is scheduled for destruction, and will be destroyed soon.\nCall\nRestoreCryptoKeyVersion\nto put it back into the DISABLED state." |
+ ], |
+ "type": "string" |
+ }, |
+ "name": { |
+ "description": "Output only. The resource name for this CryptoKeyVersion in the format\n`projects/*/locations/*/keyRings/*/cryptoKeys/*/cryptoKeyVersions/*`.", |
+ "type": "string" |
+ } |
+ }, |
+ "type": "object" |
+ }, |
+ "CloudAuditOptions": { |
+ "description": "Write a Cloud Audit log", |
+ "id": "CloudAuditOptions", |
+ "properties": { |
+ "logName": { |
+ "description": "The log_name to populate in the Cloud Audit Record.", |
+ "enum": [ |
+ "UNSPECIFIED_LOG_NAME", |
+ "ADMIN_ACTIVITY", |
+ "DATA_ACCESS" |
+ ], |
+ "enumDescriptions": [ |
+ "Default. Should not be used.", |
+ "Corresponds to \"cloudaudit.googleapis.com/activity\"", |
+ "Corresponds to \"cloudaudit.googleapis.com/data_access\"" |
+ ], |
+ "type": "string" |
+ } |
+ }, |
+ "type": "object" |
+ }, |
+ "Binding": { |
+ "description": "Associates `members` with a `role`.", |
+ "id": "Binding", |
+ "properties": { |
+ "members": { |
+ "description": "Specifies the identities requesting access for a Cloud Platform resource.\n`members` can have the following values:\n\n* `allUsers`: A special identifier that represents anyone who is\n on the internet; with or without a Google account.\n\n* `allAuthenticatedUsers`: A special identifier that represents anyone\n who is authenticated with a Google account or a service account.\n\n* `user:{emailid}`: An email address that represents a specific Google\n account. For example, `alice@gmail.com` or `joe@example.com`.\n\n\n* `serviceAccount:{emailid}`: An email address that represents a service\n account. For example, `my-other-app@appspot.gserviceaccount.com`.\n\n* `group:{emailid}`: An email address that represents a Google group.\n For example, `admins@example.com`.\n\n\n* `domain:{domain}`: A Google Apps domain name that represents all the\n users of that domain. For example, `google.com` or `example.com`.\n\n", |
+ "items": { |
+ "type": "string" |
+ }, |
+ "type": "array" |
+ }, |
+ "role": { |
+ "description": "Role that is assigned to `members`.\nFor example, `roles/viewer`, `roles/editor`, or `roles/owner`.\nRequired", |
+ "type": "string" |
+ }, |
+ "condition": { |
+ "$ref": "Expr", |
+ "description": "The condition that is associated with this binding.\nNOTE: an unsatisfied condition will not allow user access via current\nbinding. Different bindings, including their conditions, are examined\nindependently.\nThis field is GOOGLE_INTERNAL." |
+ } |
+ }, |
"type": "object" |
} |
}, |