@maxim_mazurok/gapi.client.cloudkms-v1 0.3.20260806 → 0.3.20260821

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.
Files changed (3) hide show
  1. package/index.d.ts +36 -8
  2. package/package.json +1 -1
  3. package/readme.md +2 -2
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: 20260806
12
+ // Revision: 20260821
13
13
 
14
14
  /// <reference types="gapi.client" />
15
15
 
@@ -311,7 +311,7 @@ declare namespace gapi.client {
311
311
  | 'GENERATION_FAILED'
312
312
  | 'PENDING_EXTERNAL_DESTRUCTION'
313
313
  | 'EXTERNAL_DESTRUCTION_FAILED';
314
- /** Immutable. Field indicating that the key may be wrapped by a trusted key. This field can be set for all key purposes except ENCRYPT_DECRYPT, and is only valid for keys with protection level HSM_SINGLE_TENANT. This field can only be set at creation or import time via CreateCryptoKeyVersion, or ImportCryptoKeyVersion. */
314
+ /** Optional. Immutable. Field indicating that the key may be wrapped by a trusted key. This field can be set for all key purposes except ENCRYPT_DECRYPT, and is only valid for keys with protection level HSM_SINGLE_TENANT. This field can only be set at creation or import time via CreateCryptoKeyVersion, or ImportCryptoKeyVersion. */
315
315
  trustedWrappingEnabled?: boolean;
316
316
  }
317
317
  interface CryptoKeyVersionTemplate {
@@ -510,7 +510,7 @@ declare namespace gapi.client {
510
510
  title?: string;
511
511
  }
512
512
  interface ExternalProtectionLevelOptions {
513
- /** Optional. The resource name of the backend environment where the key material of CryptoKeyVersions is associated with. Setting this field overrides the CryptoKeyBackend. This field may be set when CryptoKeyVersions is set to EXTERNAL_VPC. Format: `projects/*‍/locations/*‍/ekmConnections/*`. */
513
+ /** Optional. The resource name of the backend environment where the key material of CryptoKeyVersions is associated with. Setting this field overrides the crypto_key_backend. This field may be set when CryptoKeyVersions is set to EXTERNAL_VPC. Format: `projects/*‍/locations/*‍/ekmConnections/*`. */
514
514
  ekmConnectionBackendOverride?: string;
515
515
  /** Optional. The path to the external key material on the EKM when using EkmConnection e.g., "v0/my/key". Set this field instead of external_key_uri when using an EkmConnection. */
516
516
  ekmConnectionKeyPath?: string;
@@ -757,7 +757,8 @@ declare namespace gapi.client {
757
757
  format?:
758
758
  | 'ATTESTATION_FORMAT_UNSPECIFIED'
759
759
  | 'CAVIUM_V1_COMPRESSED'
760
- | 'CAVIUM_V2_COMPRESSED';
760
+ | 'CAVIUM_V2_COMPRESSED'
761
+ | 'CAVIUM_V209';
761
762
  }
762
763
  interface KeyRing {
763
764
  /** Output only. The time at which this KeyRing was created. */
@@ -1355,7 +1356,7 @@ declare namespace gapi.client {
1355
1356
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1356
1357
  uploadType?: string;
1357
1358
  }): Request<KeyAccessJustificationsPolicyConfig>;
1358
- /** Returns the effective Cloud KMS Autokey configuration for a given project or folder. */
1359
+ /** Returns the effective Cloud KMS Autokey configuration for a given project or folder. Note on permissions: - If called on a project (`projects/{project}`), requires `cloudkms.projects.showEffectiveAutokeyConfig`. - If called on a folder (`folders/{folder}`), requires `cloudkms.folders.showEffectiveAutokeyConfig`. */
1359
1360
  showEffectiveAutokeyConfig(request?: {
1360
1361
  /** V1 error format. */
1361
1362
  '$.xgafv'?: '1' | '2';
@@ -1371,7 +1372,7 @@ declare namespace gapi.client {
1371
1372
  key?: string;
1372
1373
  /** OAuth 2.0 token for the current user. */
1373
1374
  oauth_token?: string;
1374
- /** Required. Name of the resource project or folder to show the effective Cloud KMS Autokey configuration for. This may be helpful for interrogating the effect of nested folder configurations on a given resource project. Format: * projects/{project} * folders/{folder} */
1375
+ /** Required. Name of the resource project or folder to show the effective Cloud KMS Autokey configuration for. This may be helpful for evaluating the effect of nested folder configurations on a given resource project. Format: * projects/{project} * folders/{folder} */
1375
1376
  parent: string;
1376
1377
  /** Returns response with indentations and line breaks. */
1377
1378
  prettyPrint?: boolean;
@@ -3805,6 +3806,33 @@ declare namespace gapi.client {
3805
3806
  },
3806
3807
  body: KeyRing,
3807
3808
  ): Request<KeyRing>;
3809
+ /** Permanently deletes the given KeyRing. All child resources of the KeyRing must have been previously deleted using their corresponding Delete operations. The specified key ring will be immediately and permanently deleted upon calling this method. This action cannot be undone. Note: the key ring and its metadata will be remembered by KeyManagementService to prevent re-use of the key ring's resource name. */
3810
+ delete(request?: {
3811
+ /** V1 error format. */
3812
+ '$.xgafv'?: '1' | '2';
3813
+ /** OAuth access token. */
3814
+ access_token?: string;
3815
+ /** Data format for response. */
3816
+ alt?: 'json' | 'media' | 'proto';
3817
+ /** JSONP */
3818
+ callback?: string;
3819
+ /** Selector specifying which fields to include in a partial response. */
3820
+ fields?: string;
3821
+ /** 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. */
3822
+ key?: string;
3823
+ /** Required. The name of the KeyRing to delete. */
3824
+ name: string;
3825
+ /** OAuth 2.0 token for the current user. */
3826
+ oauth_token?: string;
3827
+ /** Returns response with indentations and line breaks. */
3828
+ prettyPrint?: boolean;
3829
+ /** 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. */
3830
+ quotaUser?: string;
3831
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
3832
+ upload_protocol?: string;
3833
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
3834
+ uploadType?: string;
3835
+ }): Request<Operation>;
3808
3836
  /** Returns metadata for a given KeyRing. */
3809
3837
  get(request?: {
3810
3838
  /** V1 error format. */
@@ -4721,7 +4749,7 @@ declare namespace gapi.client {
4721
4749
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
4722
4750
  uploadType?: string;
4723
4751
  }): Request<KeyAccessJustificationsPolicyConfig>;
4724
- /** Returns the effective Cloud KMS Autokey configuration for a given project or folder. */
4752
+ /** Returns the effective Cloud KMS Autokey configuration for a given project or folder. Note on permissions: - If called on a project (`projects/{project}`), requires `cloudkms.projects.showEffectiveAutokeyConfig`. - If called on a folder (`folders/{folder}`), requires `cloudkms.folders.showEffectiveAutokeyConfig`. */
4725
4753
  showEffectiveAutokeyConfig(request?: {
4726
4754
  /** V1 error format. */
4727
4755
  '$.xgafv'?: '1' | '2';
@@ -4737,7 +4765,7 @@ declare namespace gapi.client {
4737
4765
  key?: string;
4738
4766
  /** OAuth 2.0 token for the current user. */
4739
4767
  oauth_token?: string;
4740
- /** Required. Name of the resource project or folder to show the effective Cloud KMS Autokey configuration for. This may be helpful for interrogating the effect of nested folder configurations on a given resource project. Format: * projects/{project} * folders/{folder} */
4768
+ /** Required. Name of the resource project or folder to show the effective Cloud KMS Autokey configuration for. This may be helpful for evaluating the effect of nested folder configurations on a given resource project. Format: * projects/{project} * folders/{folder} */
4741
4769
  parent: string;
4742
4770
  /** Returns response with indentations and line breaks. */
4743
4771
  prettyPrint?: boolean;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@maxim_mazurok/gapi.client.cloudkms-v1",
3
- "version": "0.3.20260806",
3
+ "version": "0.3.20260821",
4
4
  "description": "TypeScript typings for Cloud Key Management Service (KMS) API v1",
5
5
  "repository": {
6
6
  "type": "git",
package/readme.md CHANGED
@@ -95,7 +95,7 @@ Gets the KeyAccessJustificationsPolicyConfig for a given organization, folder, o
95
95
  await gapi.client.cloudkms.folders.getKajPolicyConfig({name: 'name'});
96
96
 
97
97
  /*
98
- Returns the effective Cloud KMS Autokey configuration for a given project or folder.
98
+ Returns the effective Cloud KMS Autokey configuration for a given project or folder. Note on permissions: - If called on a project (`projects/{project}`), requires `cloudkms.projects.showEffectiveAutokeyConfig`. - If called on a folder (`folders/{folder}`), requires `cloudkms.folders.showEffectiveAutokeyConfig`.
99
99
  */
100
100
  await gapi.client.cloudkms.folders.showEffectiveAutokeyConfig({
101
101
  parent: 'parent',
@@ -132,7 +132,7 @@ Gets the KeyAccessJustificationsPolicyConfig for a given organization, folder, o
132
132
  await gapi.client.cloudkms.projects.getKajPolicyConfig({name: 'name'});
133
133
 
134
134
  /*
135
- Returns the effective Cloud KMS Autokey configuration for a given project or folder.
135
+ Returns the effective Cloud KMS Autokey configuration for a given project or folder. Note on permissions: - If called on a project (`projects/{project}`), requires `cloudkms.projects.showEffectiveAutokeyConfig`. - If called on a folder (`folders/{folder}`), requires `cloudkms.folders.showEffectiveAutokeyConfig`.
136
136
  */
137
137
  await gapi.client.cloudkms.projects.showEffectiveAutokeyConfig({
138
138
  parent: 'parent',