Index: discovery/googleapis/cloudkms__v1.json |
diff --git a/discovery/googleapis/cloudkms__v1.json b/discovery/googleapis/cloudkms__v1.json |
index 5c39666d3b634b6174ac4e961e6c39051d6d134b..dba3aeb065a9d7d28e854f61675558a9d899d689 100644 |
--- a/discovery/googleapis/cloudkms__v1.json |
+++ b/discovery/googleapis/cloudkms__v1.json |
@@ -25,6 +25,22 @@ |
"ownerDomain": "google.com", |
"ownerName": "Google", |
"parameters": { |
+ "pp": { |
+ "default": "true", |
+ "description": "Pretty-print response.", |
+ "location": "query", |
+ "type": "boolean" |
+ }, |
+ "oauth_token": { |
+ "description": "OAuth 2.0 token for the current user.", |
+ "location": "query", |
+ "type": "string" |
+ }, |
+ "bearer_token": { |
+ "description": "OAuth bearer token.", |
+ "location": "query", |
+ "type": "string" |
+ }, |
"upload_protocol": { |
"description": "Upload protocol for media (e.g. \"raw\", \"multipart\").", |
"location": "query", |
@@ -94,22 +110,6 @@ |
"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" |
- }, |
- "pp": { |
- "default": "true", |
- "description": "Pretty-print response.", |
- "location": "query", |
- "type": "boolean" |
- }, |
- "oauth_token": { |
- "description": "OAuth 2.0 token for the current user.", |
- "location": "query", |
- "type": "string" |
- }, |
- "bearer_token": { |
- "description": "OAuth bearer token.", |
- "location": "query", |
- "type": "string" |
} |
}, |
"protocol": "rest", |
@@ -150,6 +150,12 @@ |
"name" |
], |
"parameters": { |
+ "pageSize": { |
+ "description": "The standard list page size.", |
+ "format": "int32", |
+ "location": "query", |
+ "type": "integer" |
+ }, |
"filter": { |
"description": "The standard list filter.", |
"location": "query", |
@@ -166,12 +172,6 @@ |
"pattern": "^projects/[^/]+$", |
"required": true, |
"type": "string" |
- }, |
- "pageSize": { |
- "description": "The standard list page size.", |
- "format": "int32", |
- "location": "query", |
- "type": "integer" |
} |
}, |
"path": "v1/{+name}/locations", |
@@ -194,11 +194,6 @@ |
"parent" |
], |
"parameters": { |
- "pageToken": { |
- "description": "Optional pagination token, returned earlier via\nListKeyRingsResponse.next_page_token.", |
- "location": "query", |
- "type": "string" |
- }, |
"pageSize": { |
"description": "Optional limit on the number of KeyRings to include in the\nresponse. Further KeyRings can subsequently be obtained by\nincluding the ListKeyRingsResponse.next_page_token in a subsequent\nrequest. If unspecified, the server will pick an appropriate default.", |
"format": "int32", |
@@ -211,6 +206,11 @@ |
"pattern": "^projects/[^/]+/locations/[^/]+$", |
"required": true, |
"type": "string" |
+ }, |
+ "pageToken": { |
+ "description": "Optional pagination token, returned earlier via\nListKeyRingsResponse.next_page_token.", |
+ "location": "query", |
+ "type": "string" |
} |
}, |
"path": "v1/{+parent}/keyRings", |
@@ -359,193 +359,204 @@ |
"resources": { |
"cryptoKeys": { |
"methods": { |
- "encrypt": { |
- "description": "Encrypts data, so that it can only be recovered by a call to Decrypt.", |
- "httpMethod": "POST", |
- "id": "cloudkms.projects.locations.keyRings.cryptoKeys.encrypt", |
+ "patch": { |
+ "description": "Update a CryptoKey.", |
+ "httpMethod": "PATCH", |
+ "id": "cloudkms.projects.locations.keyRings.cryptoKeys.patch", |
"parameterOrder": [ |
"name" |
], |
"parameters": { |
+ "updateMask": { |
+ "description": "Required list of fields to be updated in this request.", |
+ "format": "google-fieldmask", |
+ "location": "query", |
+ "type": "string" |
+ }, |
"name": { |
- "description": "Required. The resource name of the CryptoKey or CryptoKeyVersion\nto use for encryption.\n\nIf a CryptoKey is specified, the server will use its\nprimary version.", |
+ "description": "Output only. The resource name for this CryptoKey in the format\n`projects/*/locations/*/keyRings/*/cryptoKeys/*`.", |
"location": "path", |
- "pattern": "^projects/[^/]+/locations/[^/]+/keyRings/[^/]+/cryptoKeys/.+$", |
+ "pattern": "^projects/[^/]+/locations/[^/]+/keyRings/[^/]+/cryptoKeys/[^/]+$", |
"required": true, |
"type": "string" |
} |
}, |
- "path": "v1/{+name}:encrypt", |
+ "path": "v1/{+name}", |
"request": { |
- "$ref": "EncryptRequest" |
+ "$ref": "CryptoKey" |
}, |
"response": { |
- "$ref": "EncryptResponse" |
+ "$ref": "CryptoKey" |
}, |
"scopes": [ |
"https://www.googleapis.com/auth/cloud-platform" |
] |
}, |
- "setIamPolicy": { |
- "description": "Sets the access control policy on the specified resource. Replaces any\nexisting policy.", |
- "httpMethod": "POST", |
- "id": "cloudkms.projects.locations.keyRings.cryptoKeys.setIamPolicy", |
+ "get": { |
+ "description": "Returns metadata for a given CryptoKey, as well as its\nprimary CryptoKeyVersion.", |
+ "httpMethod": "GET", |
+ "id": "cloudkms.projects.locations.keyRings.cryptoKeys.get", |
"parameterOrder": [ |
- "resource" |
+ "name" |
], |
"parameters": { |
- "resource": { |
- "description": "REQUIRED: The resource for which the policy is being specified.\nSee the operation documentation for the appropriate value for this field.", |
+ "name": { |
+ "description": "The name of the CryptoKey to get.", |
"location": "path", |
"pattern": "^projects/[^/]+/locations/[^/]+/keyRings/[^/]+/cryptoKeys/[^/]+$", |
"required": true, |
"type": "string" |
} |
}, |
- "path": "v1/{+resource}:setIamPolicy", |
- "request": { |
- "$ref": "SetIamPolicyRequest" |
- }, |
+ "path": "v1/{+name}", |
"response": { |
- "$ref": "Policy" |
+ "$ref": "CryptoKey" |
}, |
"scopes": [ |
"https://www.googleapis.com/auth/cloud-platform" |
] |
}, |
- "create": { |
- "description": "Create a new CryptoKey within a KeyRing.\n\nCryptoKey.purpose is required.", |
+ "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", |
- "id": "cloudkms.projects.locations.keyRings.cryptoKeys.create", |
+ "id": "cloudkms.projects.locations.keyRings.cryptoKeys.testIamPermissions", |
"parameterOrder": [ |
- "parent" |
+ "resource" |
], |
"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.", |
+ "resource": { |
+ "description": "REQUIRED: The resource for which the policy detail is being requested.\nSee the operation documentation for the appropriate value for this field.", |
"location": "path", |
- "pattern": "^projects/[^/]+/locations/[^/]+/keyRings/[^/]+$", |
+ "pattern": "^projects/[^/]+/locations/[^/]+/keyRings/[^/]+/cryptoKeys/[^/]+$", |
"required": true, |
"type": "string" |
} |
}, |
- "path": "v1/{+parent}/cryptoKeys", |
+ "path": "v1/{+resource}:testIamPermissions", |
"request": { |
- "$ref": "CryptoKey" |
+ "$ref": "TestIamPermissionsRequest" |
}, |
"response": { |
- "$ref": "CryptoKey" |
+ "$ref": "TestIamPermissionsResponse" |
}, |
"scopes": [ |
"https://www.googleapis.com/auth/cloud-platform" |
] |
}, |
- "updatePrimaryVersion": { |
- "description": "Update the version of a CryptoKey that will be used in Encrypt", |
+ "decrypt": { |
+ "description": "Decrypts data that was protected by Encrypt.", |
"httpMethod": "POST", |
- "id": "cloudkms.projects.locations.keyRings.cryptoKeys.updatePrimaryVersion", |
+ "id": "cloudkms.projects.locations.keyRings.cryptoKeys.decrypt", |
"parameterOrder": [ |
"name" |
], |
"parameters": { |
"name": { |
- "description": "The resource name of the CryptoKey to update.", |
+ "description": "Required. The resource name of the CryptoKey to use for decryption.\nThe server will choose the appropriate version.", |
"location": "path", |
"pattern": "^projects/[^/]+/locations/[^/]+/keyRings/[^/]+/cryptoKeys/[^/]+$", |
"required": true, |
"type": "string" |
} |
}, |
- "path": "v1/{+name}:updatePrimaryVersion", |
+ "path": "v1/{+name}:decrypt", |
"request": { |
- "$ref": "UpdateCryptoKeyPrimaryVersionRequest" |
+ "$ref": "DecryptRequest" |
}, |
"response": { |
- "$ref": "CryptoKey" |
+ "$ref": "DecryptResponse" |
}, |
"scopes": [ |
"https://www.googleapis.com/auth/cloud-platform" |
] |
}, |
- "getIamPolicy": { |
- "description": "Gets the access control policy for a resource.\nReturns an empty policy if the resource exists and does not have a policy\nset.", |
+ "list": { |
+ "description": "Lists CryptoKeys.", |
"httpMethod": "GET", |
- "id": "cloudkms.projects.locations.keyRings.cryptoKeys.getIamPolicy", |
+ "id": "cloudkms.projects.locations.keyRings.cryptoKeys.list", |
"parameterOrder": [ |
- "resource" |
+ "parent" |
], |
"parameters": { |
- "resource": { |
- "description": "REQUIRED: The resource for which the policy is being requested.\nSee the operation documentation for the appropriate value for this field.", |
+ "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", |
- "pattern": "^projects/[^/]+/locations/[^/]+/keyRings/[^/]+/cryptoKeys/[^/]+$", |
+ "pattern": "^projects/[^/]+/locations/[^/]+/keyRings/[^/]+$", |
"required": true, |
"type": "string" |
+ }, |
+ "pageToken": { |
+ "description": "Optional pagination token, returned earlier via\nListCryptoKeysResponse.next_page_token.", |
+ "location": "query", |
+ "type": "string" |
} |
}, |
- "path": "v1/{+resource}:getIamPolicy", |
+ "path": "v1/{+parent}/cryptoKeys", |
"response": { |
- "$ref": "Policy" |
+ "$ref": "ListCryptoKeysResponse" |
}, |
"scopes": [ |
"https://www.googleapis.com/auth/cloud-platform" |
] |
}, |
- "patch": { |
- "description": "Update a CryptoKey.", |
- "httpMethod": "PATCH", |
- "id": "cloudkms.projects.locations.keyRings.cryptoKeys.patch", |
+ "encrypt": { |
+ "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": [ |
"name" |
], |
"parameters": { |
"name": { |
- "description": "Output only. The resource name for this CryptoKey in the format\n`projects/*/locations/*/keyRings/*/cryptoKeys/*`.", |
+ "description": "Required. The resource name of the CryptoKey or CryptoKeyVersion\nto use for encryption.\n\nIf a CryptoKey is specified, the server will use its\nprimary version.", |
"location": "path", |
- "pattern": "^projects/[^/]+/locations/[^/]+/keyRings/[^/]+/cryptoKeys/[^/]+$", |
+ "pattern": "^projects/[^/]+/locations/[^/]+/keyRings/[^/]+/cryptoKeys/.+$", |
"required": true, |
"type": "string" |
- }, |
- "updateMask": { |
- "description": "Required list of fields to be updated in this request.", |
- "format": "google-fieldmask", |
- "location": "query", |
- "type": "string" |
} |
}, |
- "path": "v1/{+name}", |
+ "path": "v1/{+name}:encrypt", |
"request": { |
- "$ref": "CryptoKey" |
+ "$ref": "EncryptRequest" |
}, |
"response": { |
- "$ref": "CryptoKey" |
+ "$ref": "EncryptResponse" |
}, |
"scopes": [ |
"https://www.googleapis.com/auth/cloud-platform" |
] |
}, |
- "get": { |
- "description": "Returns metadata for a given CryptoKey, as well as its\nprimary CryptoKeyVersion.", |
- "httpMethod": "GET", |
- "id": "cloudkms.projects.locations.keyRings.cryptoKeys.get", |
+ "create": { |
+ "description": "Create a new CryptoKey within a KeyRing.\n\nCryptoKey.purpose is required.", |
+ "httpMethod": "POST", |
+ "id": "cloudkms.projects.locations.keyRings.cryptoKeys.create", |
"parameterOrder": [ |
- "name" |
+ "parent" |
], |
"parameters": { |
- "name": { |
- "description": "The name of the CryptoKey to get.", |
+ "parent": { |
+ "description": "Required. The name of the KeyRing associated with the\nCryptoKeys.", |
"location": "path", |
- "pattern": "^projects/[^/]+/locations/[^/]+/keyRings/[^/]+/cryptoKeys/[^/]+$", |
+ "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/{+name}", |
+ "path": "v1/{+parent}/cryptoKeys", |
+ "request": { |
+ "$ref": "CryptoKey" |
+ }, |
"response": { |
"$ref": "CryptoKey" |
}, |
@@ -553,90 +564,79 @@ |
"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.", |
+ "setIamPolicy": { |
+ "description": "Sets the access control policy on the specified resource. Replaces any\nexisting policy.", |
"httpMethod": "POST", |
- "id": "cloudkms.projects.locations.keyRings.cryptoKeys.testIamPermissions", |
+ "id": "cloudkms.projects.locations.keyRings.cryptoKeys.setIamPolicy", |
"parameterOrder": [ |
"resource" |
], |
"parameters": { |
"resource": { |
- "description": "REQUIRED: The resource for which the policy detail is being requested.\nSee the operation documentation for the appropriate value for this field.", |
+ "description": "REQUIRED: The resource for which the policy is being specified.\nSee the operation documentation for the appropriate value for this field.", |
"location": "path", |
"pattern": "^projects/[^/]+/locations/[^/]+/keyRings/[^/]+/cryptoKeys/[^/]+$", |
"required": true, |
"type": "string" |
} |
}, |
- "path": "v1/{+resource}:testIamPermissions", |
+ "path": "v1/{+resource}:setIamPolicy", |
"request": { |
- "$ref": "TestIamPermissionsRequest" |
+ "$ref": "SetIamPolicyRequest" |
}, |
"response": { |
- "$ref": "TestIamPermissionsResponse" |
+ "$ref": "Policy" |
}, |
"scopes": [ |
"https://www.googleapis.com/auth/cloud-platform" |
] |
}, |
- "decrypt": { |
- "description": "Decrypts data that was protected by Encrypt.", |
+ "updatePrimaryVersion": { |
+ "description": "Update the version of a CryptoKey that will be used in Encrypt", |
"httpMethod": "POST", |
- "id": "cloudkms.projects.locations.keyRings.cryptoKeys.decrypt", |
+ "id": "cloudkms.projects.locations.keyRings.cryptoKeys.updatePrimaryVersion", |
"parameterOrder": [ |
"name" |
], |
"parameters": { |
"name": { |
- "description": "Required. The resource name of the CryptoKey to use for decryption.\nThe server will choose the appropriate version.", |
+ "description": "The resource name of the CryptoKey to update.", |
"location": "path", |
"pattern": "^projects/[^/]+/locations/[^/]+/keyRings/[^/]+/cryptoKeys/[^/]+$", |
"required": true, |
"type": "string" |
} |
}, |
- "path": "v1/{+name}:decrypt", |
+ "path": "v1/{+name}:updatePrimaryVersion", |
"request": { |
- "$ref": "DecryptRequest" |
+ "$ref": "UpdateCryptoKeyPrimaryVersionRequest" |
}, |
"response": { |
- "$ref": "DecryptResponse" |
+ "$ref": "CryptoKey" |
}, |
"scopes": [ |
"https://www.googleapis.com/auth/cloud-platform" |
] |
}, |
- "list": { |
- "description": "Lists CryptoKeys.", |
+ "getIamPolicy": { |
+ "description": "Gets the access control policy for a resource.\nReturns an empty policy if the resource exists and does not have a policy\nset.", |
"httpMethod": "GET", |
- "id": "cloudkms.projects.locations.keyRings.cryptoKeys.list", |
+ "id": "cloudkms.projects.locations.keyRings.cryptoKeys.getIamPolicy", |
"parameterOrder": [ |
- "parent" |
+ "resource" |
], |
"parameters": { |
- "pageToken": { |
- "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" |
- }, |
- "parent": { |
- "description": "Required. The resource name of the KeyRing to list, in the format\n`projects/*/locations/*/keyRings/*`.", |
+ "resource": { |
+ "description": "REQUIRED: The resource for which the policy is being requested.\nSee the operation documentation for the appropriate value for this field.", |
"location": "path", |
- "pattern": "^projects/[^/]+/locations/[^/]+/keyRings/[^/]+$", |
+ "pattern": "^projects/[^/]+/locations/[^/]+/keyRings/[^/]+/cryptoKeys/[^/]+$", |
"required": true, |
"type": "string" |
} |
}, |
- "path": "v1/{+parent}/cryptoKeys", |
+ "path": "v1/{+resource}:getIamPolicy", |
"response": { |
- "$ref": "ListCryptoKeysResponse" |
+ "$ref": "Policy" |
}, |
"scopes": [ |
"https://www.googleapis.com/auth/cloud-platform" |
@@ -646,63 +646,6 @@ |
"resources": { |
"cryptoKeyVersions": { |
"methods": { |
- "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": [ |
- "name" |
- ], |
- "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/*`.", |
- "location": "path", |
- "pattern": "^projects/[^/]+/locations/[^/]+/keyRings/[^/]+/cryptoKeys/[^/]+/cryptoKeyVersions/[^/]+$", |
- "required": true, |
- "type": "string" |
- } |
- }, |
- "path": "v1/{+name}", |
- "request": { |
- "$ref": "CryptoKeyVersion" |
- }, |
- "response": { |
- "$ref": "CryptoKeyVersion" |
- }, |
- "scopes": [ |
- "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", |
- "parameterOrder": [ |
- "name" |
- ], |
- "parameters": { |
- "name": { |
- "description": "The name of the CryptoKeyVersion to get.", |
- "location": "path", |
- "pattern": "^projects/[^/]+/locations/[^/]+/keyRings/[^/]+/cryptoKeys/[^/]+/cryptoKeyVersions/[^/]+$", |
- "required": true, |
- "type": "string" |
- } |
- }, |
- "path": "v1/{+name}", |
- "response": { |
- "$ref": "CryptoKeyVersion" |
- }, |
- "scopes": [ |
- "https://www.googleapis.com/auth/cloud-platform" |
- ] |
- }, |
"list": { |
"description": "Lists CryptoKeyVersions.", |
"httpMethod": "GET", |
@@ -818,6 +761,63 @@ |
"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", |
+ "parameterOrder": [ |
+ "name" |
+ ], |
+ "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/*`.", |
+ "location": "path", |
+ "pattern": "^projects/[^/]+/locations/[^/]+/keyRings/[^/]+/cryptoKeys/[^/]+/cryptoKeyVersions/[^/]+$", |
+ "required": true, |
+ "type": "string" |
+ } |
+ }, |
+ "path": "v1/{+name}", |
+ "request": { |
+ "$ref": "CryptoKeyVersion" |
+ }, |
+ "response": { |
+ "$ref": "CryptoKeyVersion" |
+ }, |
+ "scopes": [ |
+ "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", |
+ "parameterOrder": [ |
+ "name" |
+ ], |
+ "parameters": { |
+ "name": { |
+ "description": "The name of the CryptoKeyVersion to get.", |
+ "location": "path", |
+ "pattern": "^projects/[^/]+/locations/[^/]+/keyRings/[^/]+/cryptoKeys/[^/]+/cryptoKeyVersions/[^/]+$", |
+ "required": true, |
+ "type": "string" |
+ } |
+ }, |
+ "path": "v1/{+name}", |
+ "response": { |
+ "$ref": "CryptoKeyVersion" |
+ }, |
+ "scopes": [ |
+ "https://www.googleapis.com/auth/cloud-platform" |
+ ] |
} |
} |
} |
@@ -830,20 +830,36 @@ |
} |
} |
}, |
- "revision": "20170725", |
+ "revision": "20170815", |
"rootUrl": "https://cloudkms.googleapis.com/", |
"schemas": { |
- "EncryptResponse": { |
- "description": "Response message for KeyManagementService.Encrypt.", |
- "id": "EncryptResponse", |
+ "TestIamPermissionsRequest": { |
+ "description": "Request message for `TestIamPermissions` method.", |
+ "id": "TestIamPermissionsRequest", |
"properties": { |
- "name": { |
- "description": "The resource name of the CryptoKeyVersion used in encryption.", |
- "type": "string" |
+ "permissions": { |
+ "description": "The set of permissions to check for the `resource`. Permissions with\nwildcards (such as '*' or 'storage.*') are not allowed. For more\ninformation see\n[IAM Overview](https://cloud.google.com/iam/docs/overview#permissions).", |
+ "items": { |
+ "type": "string" |
+ }, |
+ "type": "array" |
+ } |
+ }, |
+ "type": "object" |
+ }, |
+ "ListLocationsResponse": { |
+ "description": "The response message for Locations.ListLocations.", |
+ "id": "ListLocationsResponse", |
+ "properties": { |
+ "locations": { |
+ "description": "A list of locations that matches the specified filter in the request.", |
+ "items": { |
+ "$ref": "Location" |
+ }, |
+ "type": "array" |
}, |
- "ciphertext": { |
- "description": "The encrypted data.", |
- "format": "byte", |
+ "nextPageToken": { |
+ "description": "The standard List next-page token.", |
"type": "string" |
} |
}, |
@@ -853,6 +869,20 @@ |
"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": { |
+ "auditConfigs": { |
+ "description": "Specifies cloud audit logging configuration for this policy.", |
+ "items": { |
+ "$ref": "AuditConfig" |
+ }, |
+ "type": "array" |
+ }, |
+ "bindings": { |
+ "description": "Associates a list of `members` to a `role`.\n`bindings` with no members will result in an error.", |
+ "items": { |
+ "$ref": "Binding" |
+ }, |
+ "type": "array" |
+ }, |
"etag": { |
"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", |
@@ -872,20 +902,6 @@ |
"description": "Version of the `Policy`. The default version is 0.", |
"format": "int32", |
"type": "integer" |
- }, |
- "auditConfigs": { |
- "description": "Specifies cloud audit logging configuration for this policy.", |
- "items": { |
- "$ref": "AuditConfig" |
- }, |
- "type": "array" |
- }, |
- "bindings": { |
- "description": "Associates a list of `members` to a `role`.\n`bindings` with no members will result in an error.", |
- "items": { |
- "$ref": "Binding" |
- }, |
- "type": "array" |
} |
}, |
"type": "object" |
@@ -906,19 +922,28 @@ |
}, |
"type": "object" |
}, |
- "ListLocationsResponse": { |
- "description": "The response message for Locations.ListLocations.", |
- "id": "ListLocationsResponse", |
+ "EncryptResponse": { |
+ "description": "Response message for KeyManagementService.Encrypt.", |
+ "id": "EncryptResponse", |
+ "properties": { |
+ "ciphertext": { |
+ "description": "The encrypted data.", |
+ "format": "byte", |
+ "type": "string" |
+ }, |
+ "name": { |
+ "description": "The resource name of the CryptoKeyVersion used in encryption.", |
+ "type": "string" |
+ } |
+ }, |
+ "type": "object" |
+ }, |
+ "UpdateCryptoKeyPrimaryVersionRequest": { |
+ "description": "Request message for KeyManagementService.UpdateCryptoKeyPrimaryVersion.", |
+ "id": "UpdateCryptoKeyPrimaryVersionRequest", |
"properties": { |
- "locations": { |
- "description": "A list of locations that matches the specified filter in the request.", |
- "items": { |
- "$ref": "Location" |
- }, |
- "type": "array" |
- }, |
- "nextPageToken": { |
- "description": "The standard List next-page token.", |
+ "cryptoKeyVersionId": { |
+ "description": "The id of the child CryptoKeyVersion to use as primary.", |
"type": "string" |
} |
}, |
@@ -930,12 +955,20 @@ |
"properties": {}, |
"type": "object" |
}, |
- "UpdateCryptoKeyPrimaryVersionRequest": { |
- "description": "Request message for KeyManagementService.UpdateCryptoKeyPrimaryVersion.", |
- "id": "UpdateCryptoKeyPrimaryVersionRequest", |
+ "DataAccessOptions": { |
+ "description": "Write a Data Access (Gin) log", |
+ "id": "DataAccessOptions", |
"properties": { |
- "cryptoKeyVersionId": { |
- "description": "The id of the child CryptoKeyVersion to use as primary.", |
+ "logMode": { |
+ "description": "Whether Gin logging should happen in a fail-closed manner at the caller.\nThis is relevant only in the LocalIAM implementation, for now.", |
+ "enum": [ |
+ "LOG_MODE_UNSPECIFIED", |
+ "LOG_FAIL_CLOSED" |
+ ], |
+ "enumDescriptions": [ |
+ "Client is not required to write a partial Gin log immediately after\nthe authorization check. If client chooses to write one and it fails,\nclient may either fail open (allow the operation to continue) or\nfail closed (handle as a DENY outcome).", |
+ "The application's operation in the context of which this authorization\ncheck is being made may only be performed if it is successfully logged\nto Gin. For instance, the authorization library may satisfy this\nobligation by emitting a partial log entry at authorization check time\nand only returning ALLOW to the application if it succeeds.\n\nIf a matching Rule has this directive, but the client has not indicated\nthat it will honor such requirements, then the IAM check will result in\nauthorization failure by setting CheckPolicyResponse.success=false." |
+ ], |
"type": "string" |
} |
}, |
@@ -945,6 +978,13 @@ |
"description": "Response message for KeyManagementService.ListKeyRings.", |
"id": "ListKeyRingsResponse", |
"properties": { |
+ "keyRings": { |
+ "description": "The list of KeyRings.", |
+ "items": { |
+ "$ref": "KeyRing" |
+ }, |
+ "type": "array" |
+ }, |
"nextPageToken": { |
"description": "A token to retrieve next page of results. Pass this value in\nListKeyRingsRequest.page_token to retrieve the next page of results.", |
"type": "string" |
@@ -953,31 +993,14 @@ |
"description": "The total number of KeyRings that matched the query.", |
"format": "int32", |
"type": "integer" |
- }, |
- "keyRings": { |
- "description": "The list of KeyRings.", |
- "items": { |
- "$ref": "KeyRing" |
- }, |
- "type": "array" |
} |
}, |
"type": "object" |
}, |
- "DataAccessOptions": { |
- "description": "Write a Data Access (Gin) log", |
- "id": "DataAccessOptions", |
- "properties": {}, |
- "type": "object" |
- }, |
"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": { |
@@ -990,6 +1013,10 @@ |
"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" |
} |
}, |
"type": "object" |
@@ -998,6 +1025,11 @@ |
"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": [ |
@@ -1029,11 +1061,6 @@ |
"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" |
} |
}, |
"type": "object" |
@@ -1085,14 +1112,6 @@ |
"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": { |
- "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" |
- }, |
- "expression": { |
- "description": "Textual representation of an expression in\nCommon Expression Language syntax.\n\nThe application context of the containing message determines which\nwell-known feature set of CEL is supported.", |
- "type": "string" |
- }, |
"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" |
@@ -1100,6 +1119,14 @@ |
"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" |
+ }, |
+ "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" |
+ }, |
+ "expression": { |
+ "description": "Textual representation of an expression in\nCommon Expression Language syntax.\n\nThe application context of the containing message determines which\nwell-known feature set of CEL is supported.", |
+ "type": "string" |
} |
}, |
"type": "object" |
@@ -1164,37 +1191,52 @@ |
"properties": {}, |
"type": "object" |
}, |
- "Rule": { |
- "description": "A rule to be applied in a Policy.", |
- "id": "Rule", |
+ "CryptoKey": { |
+ "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": { |
- "permissions": { |
- "description": "A permission is a string of form '<service>.<resource type>.<verb>'\n(e.g., 'storage.buckets.list'). A value of '*' matches all permissions,\nand a verb part of '*' (e.g., 'storage.buckets.*') matches all verbs.", |
- "items": { |
- "type": "string" |
- }, |
- "type": "array" |
- }, |
- "action": { |
- "description": "Required", |
+ "purpose": { |
+ "description": "The immutable purpose of this CryptoKey. Currently, the only acceptable\npurpose is ENCRYPT_DECRYPT.", |
"enum": [ |
- "NO_ACTION", |
- "ALLOW", |
- "ALLOW_WITH_LOG", |
- "DENY", |
- "DENY_WITH_LOG", |
- "LOG" |
+ "CRYPTO_KEY_PURPOSE_UNSPECIFIED", |
+ "ENCRYPT_DECRYPT" |
], |
"enumDescriptions": [ |
- "Default no action.", |
- "Matching 'Entries' grant access.", |
- "Matching 'Entries' grant access and the caller promises to log\nthe request per the returned log_configs.", |
- "Matching 'Entries' deny access.", |
- "Matching 'Entries' deny access and the caller promises to log\nthe request per the returned log_configs.", |
- "Matching 'Entries' tell IAM.Check callers to generate logs." |
+ "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", |
+ "type": "string" |
+ }, |
+ "rotationPeriod": { |
+ "description": "next_rotation_time will be advanced by this period when the service\nautomatically rotates a key. Must be at least one day.\n\nIf rotation_period is set, next_rotation_time must also be set.", |
+ "format": "google-duration", |
+ "type": "string" |
+ }, |
+ "primary": { |
+ "$ref": "CryptoKeyVersion", |
+ "description": "Output only. A copy of the \"primary\" CryptoKeyVersion that will be used\nby Encrypt when this CryptoKey is given\nin EncryptRequest.name.\n\nThe CryptoKey's primary version can be updated via\nUpdateCryptoKeyPrimaryVersion." |
+ }, |
+ "name": { |
+ "description": "Output only. The resource name for this CryptoKey in the format\n`projects/*/locations/*/keyRings/*/cryptoKeys/*`.", |
+ "type": "string" |
+ } |
+ }, |
+ "type": "object" |
+ }, |
+ "Rule": { |
+ "description": "A rule to be applied in a Policy.", |
+ "id": "Rule", |
+ "properties": { |
"notIn": { |
"description": "If one or more 'not_in' clauses are specified, the rule matches\nif the PRINCIPAL/AUTHORITY_SELECTOR is in none of the entries.\nThe format for in and not_in entries is the same as for members in a\nBinding (see google/iam/v1/policy.proto).", |
"items": { |
@@ -1226,60 +1268,41 @@ |
"type": "string" |
}, |
"type": "array" |
- } |
- }, |
- "type": "object" |
- }, |
- "CryptoKey": { |
- "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": { |
- "primary": { |
- "$ref": "CryptoKeyVersion", |
- "description": "Output only. A copy of the \"primary\" CryptoKeyVersion that will be used\nby Encrypt when this CryptoKey is given\nin EncryptRequest.name.\n\nThe CryptoKey's primary version can be updated via\nUpdateCryptoKeyPrimaryVersion." |
}, |
- "name": { |
- "description": "Output only. The resource name for this CryptoKey in the format\n`projects/*/locations/*/keyRings/*/cryptoKeys/*`.", |
- "type": "string" |
+ "permissions": { |
+ "description": "A permission is a string of form '<service>.<resource type>.<verb>'\n(e.g., 'storage.buckets.list'). A value of '*' matches all permissions,\nand a verb part of '*' (e.g., 'storage.buckets.*') matches all verbs.", |
+ "items": { |
+ "type": "string" |
+ }, |
+ "type": "array" |
}, |
- "purpose": { |
- "description": "The immutable purpose of this CryptoKey. Currently, the only acceptable\npurpose is ENCRYPT_DECRYPT.", |
+ "action": { |
+ "description": "Required", |
"enum": [ |
- "CRYPTO_KEY_PURPOSE_UNSPECIFIED", |
- "ENCRYPT_DECRYPT" |
+ "NO_ACTION", |
+ "ALLOW", |
+ "ALLOW_WITH_LOG", |
+ "DENY", |
+ "DENY_WITH_LOG", |
+ "LOG" |
], |
"enumDescriptions": [ |
- "Not specified.", |
- "CryptoKeys with this purpose may be used with\nEncrypt and\nDecrypt." |
+ "Default no action.", |
+ "Matching 'Entries' grant access.", |
+ "Matching 'Entries' grant access and the caller promises to log\nthe request per the returned log_configs.", |
+ "Matching 'Entries' deny access.", |
+ "Matching 'Entries' deny access and the caller promises to log\nthe request per the returned log_configs.", |
+ "Matching 'Entries' tell IAM.Check callers to generate logs." |
], |
"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", |
- "type": "string" |
- }, |
- "rotationPeriod": { |
- "description": "next_rotation_time will be advanced by this period when the service\nautomatically rotates a key. Must be at least one day.\n\nIf rotation_period is set, next_rotation_time must also be set.", |
- "format": "google-duration", |
- "type": "string" |
} |
}, |
"type": "object" |
}, |
"LogConfig": { |
- "description": "Specifies what kind of log the caller must write\nIncrement a streamz counter with the specified metric and field names.\n\nMetric names should start with a '/', generally be lowercase-only,\nand end in \"_count\". Field names should not contain an initial slash.\nThe actual exported metric names will have \"/iam/policy\" prepended.\n\nField names correspond to IAM request parameters and field values are\ntheir respective values.\n\nAt present the only supported field names are\n - \"iam_principal\", corresponding to IAMContext.principal;\n - \"\" (empty string), resulting in one aggretated counter with no field.\n\nExamples:\n counter { metric: \"/debug_access_count\" field: \"iam_principal\" }\n ==> increment counter /iam/policy/backend_debug_access_count\n {iam_principal=[value of IAMContext.principal]}\n\nAt this time we do not support:\n* multiple field names (though this may be supported in the future)\n* decrementing the counter\n* incrementing it by anything other than 1", |
+ "description": "Specifies what kind of log the caller must write", |
"id": "LogConfig", |
"properties": { |
- "cloudAudit": { |
- "$ref": "CloudAuditOptions", |
- "description": "Cloud audit options." |
- }, |
"counter": { |
"$ref": "CounterOptions", |
"description": "Counter options." |
@@ -1287,6 +1310,10 @@ |
"dataAccess": { |
"$ref": "DataAccessOptions", |
"description": "Data access options." |
+ }, |
+ "cloudAudit": { |
+ "$ref": "CloudAuditOptions", |
+ "description": "Cloud audit options." |
} |
}, |
"type": "object" |
@@ -1328,6 +1355,13 @@ |
"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" |
@@ -1343,13 +1377,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" |
} |
}, |
"type": "object" |
@@ -1381,6 +1408,13 @@ |
"description": "A condition to be met.", |
"id": "Condition", |
"properties": { |
+ "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.", |
"enum": [ |
@@ -1399,13 +1433,6 @@ |
], |
"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": [ |
@@ -1430,10 +1457,6 @@ |
"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": [ |
@@ -1451,12 +1474,16 @@ |
"IP address of the caller" |
], |
"type": "string" |
+ }, |
+ "value": { |
+ "description": "DEPRECATED. Use 'values' instead.", |
+ "type": "string" |
} |
}, |
"type": "object" |
}, |
"CounterOptions": { |
- "description": "Options for counters", |
+ "description": "Increment a streamz counter with the specified metric and field names.\n\nMetric names should start with a '/', generally be lowercase-only,\nand end in \"_count\". Field names should not contain an initial slash.\nThe actual exported metric names will have \"/iam/policy\" prepended.\n\nField names correspond to IAM request parameters and field values are\ntheir respective values.\n\nAt present the only supported field names are\n - \"iam_principal\", corresponding to IAMContext.principal;\n - \"\" (empty string), resulting in one aggretated counter with no field.\n\nExamples:\n counter { metric: \"/debug_access_count\" field: \"iam_principal\" }\n ==> increment counter /iam/policy/backend_debug_access_count\n {iam_principal=[value of IAMContext.principal]}\n\nAt this time we do not support:\n* multiple field names (though this may be supported in the future)\n* decrementing the counter\n* incrementing it by anything other than 1", |
"id": "CounterOptions", |
"properties": { |
"field": { |
@@ -1511,20 +1538,6 @@ |
} |
}, |
"type": "object" |
- }, |
- "TestIamPermissionsRequest": { |
- "description": "Request message for `TestIamPermissions` method.", |
- "id": "TestIamPermissionsRequest", |
- "properties": { |
- "permissions": { |
- "description": "The set of permissions to check for the `resource`. Permissions with\nwildcards (such as '*' or 'storage.*') are not allowed. For more\ninformation see\n[IAM Overview](https://cloud.google.com/iam/docs/overview#permissions).", |
- "items": { |
- "type": "string" |
- }, |
- "type": "array" |
- } |
- }, |
- "type": "object" |
} |
}, |
"servicePath": "", |