@maxim_mazurok/gapi.client.cloudkms-v1 0.0.20240523 → 0.0.20240613
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 +7 -1
- package/package.json +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: 20240613
|
|
13
13
|
|
|
14
14
|
/// <reference types="gapi.client" />
|
|
15
15
|
|
|
@@ -127,6 +127,8 @@ declare namespace gapi.client {
|
|
|
127
127
|
destroyScheduledDuration?: string;
|
|
128
128
|
/** Immutable. Whether this key may contain imported versions only. */
|
|
129
129
|
importOnly?: boolean;
|
|
130
|
+
/** Optional. The policy used for Key Access Justifications Policy Enforcement. If this field is present and this key is enrolled in Key Access Justifications Policy Enforcement, the policy will be evaluated in encrypt, decrypt, and sign operations, and the operation will fail if rejected by the policy. The policy is defined by specifying zero or more allowed justification codes. https://cloud.google.com/assured-workloads/key-access-justifications/docs/justification-codes By default, this field is absent, and all justification codes are allowed. */
|
|
131
|
+
keyAccessJustificationsPolicy?: KeyAccessJustificationsPolicy;
|
|
130
132
|
/** Labels with user-defined metadata. For more information, see [Labeling Keys](https://cloud.google.com/kms/docs/labeling-keys). */
|
|
131
133
|
labels?: {[P in string]: string};
|
|
132
134
|
/** Output only. The resource name for this CryptoKey in the format `projects/*/locations/*/keyRings/*/cryptoKeys/*`. */
|
|
@@ -317,6 +319,10 @@ declare namespace gapi.client {
|
|
|
317
319
|
/** Output only. The current state of the ImportJob, indicating if it can be used. */
|
|
318
320
|
state?: string;
|
|
319
321
|
}
|
|
322
|
+
interface KeyAccessJustificationsPolicy {
|
|
323
|
+
/** The list of allowed reasons for access to a CryptoKey. Zero allowed access reasons means all encrypt, decrypt, and sign operations for the CryptoKey associated with this policy will fail. */
|
|
324
|
+
allowedAccessReasons?: string[];
|
|
325
|
+
}
|
|
320
326
|
interface KeyHandle {
|
|
321
327
|
/** 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
328
|
kmsKey?: string;
|