@maxim_mazurok/gapi.client.cloudkms-v1 0.0.20240425 → 0.0.20240502
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/index.d.ts +5 -5
- package/package.json +1 -1
- package/readme.md +1 -1
package/index.d.ts
CHANGED
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
// This file was generated by https://github.com/Maxim-Mazurok/google-api-typings-generator. Please do not edit it manually.
|
|
10
10
|
// In case of any problems please post issue to https://github.com/Maxim-Mazurok/google-api-typings-generator
|
|
11
11
|
// Generated from: https://cloudkms.googleapis.com/$discovery/rest?version=v1
|
|
12
|
-
// Revision:
|
|
12
|
+
// Revision: 20240502
|
|
13
13
|
|
|
14
14
|
/// <reference types="gapi.client" />
|
|
15
15
|
|
|
@@ -77,7 +77,7 @@ declare namespace gapi.client {
|
|
|
77
77
|
logType?: string;
|
|
78
78
|
}
|
|
79
79
|
interface AutokeyConfig {
|
|
80
|
-
/** Optional. Name of the key project, e.g. `projects/{PROJECT_ID}` or `projects/{PROJECT_NUMBER}`, where Cloud KMS Autokey will provision new
|
|
80
|
+
/** Optional. Name of the key project, e.g. `projects/{PROJECT_ID}` or `projects/{PROJECT_NUMBER}`, where Cloud KMS Autokey will provision a new CryptoKey when a KeyHandle is created. On UpdateAutokeyConfig, the caller will require `cloudkms.cryptoKeys.setIamPolicy` permission on this key project. Once configured, for Cloud KMS Autokey to function properly, this key project must have the Cloud KMS API activated and the Cloud KMS Service Agent for this key project must be granted the `cloudkms.admin` role (or pertinent permissions). A request with an empty key project field will clear the configuration. */
|
|
81
81
|
keyProject?: string;
|
|
82
82
|
/** Identifier. Name of the AutokeyConfig resource, e.g. `folders/{FOLDER_NUMBER}/autokeyConfig`. */
|
|
83
83
|
name?: string;
|
|
@@ -318,9 +318,9 @@ declare namespace gapi.client {
|
|
|
318
318
|
state?: string;
|
|
319
319
|
}
|
|
320
320
|
interface KeyHandle {
|
|
321
|
-
/** Output only. Name of a CryptoKey that has been provisioned for Customer Managed Encryption Key (CMEK) use in the KeyHandle
|
|
321
|
+
/** Output only. Name of a CryptoKey that has been provisioned for Customer Managed Encryption Key (CMEK) use in the KeyHandle project and location for the requested resource type. The CryptoKey project will reflect the value configured in the AutokeyConfig on the resource project's ancestor folder at the time of the KeyHandle creation. If more than one ancestor folder has a configured AutokeyConfig, the nearest of these configurations is used. */
|
|
322
322
|
kmsKey?: string;
|
|
323
|
-
/** Output only. Identifier. Name of the
|
|
323
|
+
/** Output only. Identifier. Name of the KeyHandle resource, e.g. `projects/{PROJECT_ID}/locations/{LOCATION}/keyHandles/{KEY_HANDLE_ID}`. */
|
|
324
324
|
name?: string;
|
|
325
325
|
/** Required. Indicates the resource type that the resulting CryptoKey is meant to protect, e.g. `{SERVICE}.googleapis.com/{TYPE}`. See documentation for supported resource types. */
|
|
326
326
|
resourceTypeSelector?: string;
|
|
@@ -623,7 +623,7 @@ declare namespace gapi.client {
|
|
|
623
623
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
624
624
|
uploadType?: string;
|
|
625
625
|
}): Request<AutokeyConfig>;
|
|
626
|
-
/** Updates the AutokeyConfig for a folder. The caller must have both `cloudkms.autokeyConfigs.update` permission on the parent folder and `cloudkms.cryptoKeys.setIamPolicy` permission on the provided key project.
|
|
626
|
+
/** Updates the AutokeyConfig for a folder. The caller must have both `cloudkms.autokeyConfigs.update` permission on the parent folder and `cloudkms.cryptoKeys.setIamPolicy` permission on the provided key project. A KeyHandle creation in the folder's descendant projects will use this configuration to determine where to create the resulting CryptoKey. */
|
|
627
627
|
updateAutokeyConfig(request: {
|
|
628
628
|
/** V1 error format. */
|
|
629
629
|
'$.xgafv'?: string;
|
package/package.json
CHANGED
package/readme.md
CHANGED
|
@@ -78,7 +78,7 @@ Returns the AutokeyConfig for a folder.
|
|
|
78
78
|
await gapi.client.cloudkms.folders.getAutokeyConfig({name: 'name'});
|
|
79
79
|
|
|
80
80
|
/*
|
|
81
|
-
Updates the AutokeyConfig for a folder. The caller must have both `cloudkms.autokeyConfigs.update` permission on the parent folder and `cloudkms.cryptoKeys.setIamPolicy` permission on the provided key project.
|
|
81
|
+
Updates the AutokeyConfig for a folder. The caller must have both `cloudkms.autokeyConfigs.update` permission on the parent folder and `cloudkms.cryptoKeys.setIamPolicy` permission on the provided key project. A KeyHandle creation in the folder's descendant projects will use this configuration to determine where to create the resulting CryptoKey.
|
|
82
82
|
*/
|
|
83
83
|
await gapi.client.cloudkms.folders.updateAutokeyConfig({name: 'name'});
|
|
84
84
|
|