@maxim_mazurok/gapi.client.cloudkms-v1 0.1.20260226 → 0.2.20260522

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 +688 -306
  2. package/package.json +1 -1
  3. package/readme.md +12 -0
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: 20260226
12
+ // Revision: 20260522
13
13
 
14
14
  /// <reference types="gapi.client" />
15
15
 
@@ -47,7 +47,13 @@ declare namespace gapi.client {
47
47
  /** Integrity verification field. A CRC32C checksum of the returned AsymmetricDecryptResponse.plaintext. An integrity check of AsymmetricDecryptResponse.plaintext can be performed by computing the CRC32C checksum of AsymmetricDecryptResponse.plaintext and comparing your results to this field. Discard the response in case of non-matching checksum values, and perform a limited number of retries. A persistent mismatch may indicate an issue in your computation of the CRC32C checksum. Note: This field is defined as int64 for reasons of compatibility across different languages. However, it is a non-negative integer, which will never exceed 2^32-1, and can be safely downconverted to uint32 in languages that support this type. */
48
48
  plaintextCrc32c?: string;
49
49
  /** The ProtectionLevel of the CryptoKeyVersion used in decryption. */
50
- protectionLevel?: string;
50
+ protectionLevel?:
51
+ | 'PROTECTION_LEVEL_UNSPECIFIED'
52
+ | 'SOFTWARE'
53
+ | 'HSM'
54
+ | 'EXTERNAL'
55
+ | 'EXTERNAL_VPC'
56
+ | 'HSM_SINGLE_TENANT';
51
57
  /** Integrity verification field. A flag indicating whether AsymmetricDecryptRequest.ciphertext_crc32c was received by KeyManagementService and used for the integrity verification of the ciphertext. A false value of this field indicates either that AsymmetricDecryptRequest.ciphertext_crc32c was left unset or that it was not delivered to KeyManagementService. If you've set AsymmetricDecryptRequest.ciphertext_crc32c but this field is still false, discard the response and perform a limited number of retries. */
52
58
  verifiedCiphertextCrc32c?: boolean;
53
59
  }
@@ -65,7 +71,13 @@ declare namespace gapi.client {
65
71
  /** The resource name of the CryptoKeyVersion used for signing. Check this field to verify that the intended resource was used for signing. */
66
72
  name?: string;
67
73
  /** The ProtectionLevel of the CryptoKeyVersion used for signing. */
68
- protectionLevel?: string;
74
+ protectionLevel?:
75
+ | 'PROTECTION_LEVEL_UNSPECIFIED'
76
+ | 'SOFTWARE'
77
+ | 'HSM'
78
+ | 'EXTERNAL'
79
+ | 'EXTERNAL_VPC'
80
+ | 'HSM_SINGLE_TENANT';
69
81
  /** The created signature. */
70
82
  signature?: string;
71
83
  /** Integrity verification field. A CRC32C checksum of the returned AsymmetricSignResponse.signature. An integrity check of AsymmetricSignResponse.signature can be performed by computing the CRC32C checksum of AsymmetricSignResponse.signature and comparing your results to this field. Discard the response in case of non-matching checksum values, and perform a limited number of retries. A persistent mismatch may indicate an issue in your computation of the CRC32C checksum. Note: This field is defined as int64 for reasons of compatibility across different languages. However, it is a non-negative integer, which will never exceed 2^32-1, and can be safely downconverted to uint32 in languages that support this type. */
@@ -85,7 +97,11 @@ declare namespace gapi.client {
85
97
  /** Specifies the identities that do not cause logging for this type of permission. Follows the same format of Binding.members. */
86
98
  exemptedMembers?: string[];
87
99
  /** The log type that this config enables. */
88
- logType?: string;
100
+ logType?:
101
+ | 'LOG_TYPE_UNSPECIFIED'
102
+ | 'ADMIN_READ'
103
+ | 'DATA_WRITE'
104
+ | 'DATA_READ';
89
105
  }
90
106
  interface AutokeyConfig {
91
107
  /** Optional. A checksum computed by the server based on the value of other fields. This may be sent on update requests to ensure that the client has an up-to-date value before proceeding. The request will be rejected with an ABORTED error on a mismatched etag. */
@@ -93,11 +109,20 @@ declare namespace gapi.client {
93
109
  /** 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. */
94
110
  keyProject?: string;
95
111
  /** Optional. KeyProjectResolutionMode for the AutokeyConfig. Valid values are `DEDICATED_KEY_PROJECT`, `RESOURCE_PROJECT`, or `DISABLED`. */
96
- keyProjectResolutionMode?: string;
97
- /** Identifier. Name of the AutokeyConfig resource, e.g. `folders/{FOLDER_NUMBER}/autokeyConfig` or `projects/{PROJECT_NUMBER}/autokeyConfig`. */
112
+ keyProjectResolutionMode?:
113
+ | 'KEY_PROJECT_RESOLUTION_MODE_UNSPECIFIED'
114
+ | 'DEDICATED_KEY_PROJECT'
115
+ | 'RESOURCE_PROJECT'
116
+ | 'DISABLED';
117
+ /** Identifier. Name of the AutokeyConfig resource, e.g. `folders/{FOLDER_NUMBER}/autokeyConfig`, `projects/{PROJECT_NUMBER}/autokeyConfig`, or `projects/{PROJECT_ID}/autokeyConfig`. */
98
118
  name?: string;
99
119
  /** Output only. The state for the AutokeyConfig. */
100
- state?: string;
120
+ state?:
121
+ | 'STATE_UNSPECIFIED'
122
+ | 'ACTIVE'
123
+ | 'KEY_PROJECT_DELETED'
124
+ | 'UNINITIALIZED'
125
+ | 'KEY_PROJECT_PERMISSION_DENIED';
101
126
  }
102
127
  interface Binding {
103
128
  /** The condition that is associated with this binding. If the condition evaluates to `true`, then this binding applies to the current request. If the condition evaluates to `false`, then this binding does not apply to the current request. However, a different role binding might grant the same role to one or more of the principals in this binding. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies). */
@@ -162,7 +187,7 @@ declare namespace gapi.client {
162
187
  destroyScheduledDuration?: string;
163
188
  /** Immutable. Whether this key may contain imported versions only. */
164
189
  importOnly?: boolean;
165
- /** 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. */
190
+ /** 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. If the `key_access_justifications_policy.allowed_access_reasons` is empty (zero allowed justification code), all encrypt, decrypt, and sign operations will fail. */
166
191
  keyAccessJustificationsPolicy?: KeyAccessJustificationsPolicy;
167
192
  /** Labels with user-defined metadata. For more information, see [Labeling Keys](https://cloud.google.com/kms/docs/labeling-keys). */
168
193
  labels?: {[P in string]: string};
@@ -173,7 +198,14 @@ declare namespace gapi.client {
173
198
  /** Output only. A copy of the "primary" CryptoKeyVersion that will be used by Encrypt when this CryptoKey is given in EncryptRequest.name. The CryptoKey's primary version can be updated via UpdateCryptoKeyPrimaryVersion. Keys with purpose ENCRYPT_DECRYPT may have a primary. For other keys, this field will be omitted. */
174
199
  primary?: CryptoKeyVersion;
175
200
  /** Immutable. The immutable purpose of this CryptoKey. */
176
- purpose?: string;
201
+ purpose?:
202
+ | 'CRYPTO_KEY_PURPOSE_UNSPECIFIED'
203
+ | 'ENCRYPT_DECRYPT'
204
+ | 'ASYMMETRIC_SIGN'
205
+ | 'ASYMMETRIC_DECRYPT'
206
+ | 'RAW_ENCRYPT_DECRYPT'
207
+ | 'MAC'
208
+ | 'KEY_ENCAPSULATION';
177
209
  /** next_rotation_time will be advanced by this period when the service automatically rotates a key. Must be at least 24 hours and at most 876,000 hours. If rotation_period is set, next_rotation_time must also be set. Keys with purpose ENCRYPT_DECRYPT support automatic rotation. For other keys, this field must be omitted. */
178
210
  rotationPeriod?: string;
179
211
  /** A template describing settings for new CryptoKeyVersion instances. The properties of new CryptoKeyVersion instances created by either CreateCryptoKeyVersion or auto-rotation are controlled by this template. */
@@ -181,7 +213,54 @@ declare namespace gapi.client {
181
213
  }
182
214
  interface CryptoKeyVersion {
183
215
  /** Output only. The CryptoKeyVersionAlgorithm that this CryptoKeyVersion supports. */
184
- algorithm?: string;
216
+ algorithm?:
217
+ | 'CRYPTO_KEY_VERSION_ALGORITHM_UNSPECIFIED'
218
+ | 'GOOGLE_SYMMETRIC_ENCRYPTION'
219
+ | 'AES_128_GCM'
220
+ | 'AES_256_GCM'
221
+ | 'AES_128_CBC'
222
+ | 'AES_256_CBC'
223
+ | 'AES_128_CTR'
224
+ | 'AES_256_CTR'
225
+ | 'RSA_SIGN_PSS_2048_SHA256'
226
+ | 'RSA_SIGN_PSS_3072_SHA256'
227
+ | 'RSA_SIGN_PSS_4096_SHA256'
228
+ | 'RSA_SIGN_PSS_4096_SHA512'
229
+ | 'RSA_SIGN_PKCS1_2048_SHA256'
230
+ | 'RSA_SIGN_PKCS1_3072_SHA256'
231
+ | 'RSA_SIGN_PKCS1_4096_SHA256'
232
+ | 'RSA_SIGN_PKCS1_4096_SHA512'
233
+ | 'RSA_SIGN_RAW_PKCS1_2048'
234
+ | 'RSA_SIGN_RAW_PKCS1_3072'
235
+ | 'RSA_SIGN_RAW_PKCS1_4096'
236
+ | 'RSA_DECRYPT_OAEP_2048_SHA256'
237
+ | 'RSA_DECRYPT_OAEP_3072_SHA256'
238
+ | 'RSA_DECRYPT_OAEP_4096_SHA256'
239
+ | 'RSA_DECRYPT_OAEP_4096_SHA512'
240
+ | 'RSA_DECRYPT_OAEP_2048_SHA1'
241
+ | 'RSA_DECRYPT_OAEP_3072_SHA1'
242
+ | 'RSA_DECRYPT_OAEP_4096_SHA1'
243
+ | 'EC_SIGN_P256_SHA256'
244
+ | 'EC_SIGN_P384_SHA384'
245
+ | 'EC_SIGN_SECP256K1_SHA256'
246
+ | 'EC_SIGN_ED25519'
247
+ | 'HMAC_SHA256'
248
+ | 'HMAC_SHA1'
249
+ | 'HMAC_SHA384'
250
+ | 'HMAC_SHA512'
251
+ | 'HMAC_SHA224'
252
+ | 'EXTERNAL_SYMMETRIC_ENCRYPTION'
253
+ | 'ML_KEM_768'
254
+ | 'ML_KEM_1024'
255
+ | 'KEM_XWING'
256
+ | 'PQ_SIGN_ML_DSA_44'
257
+ | 'PQ_SIGN_ML_DSA_65'
258
+ | 'PQ_SIGN_ML_DSA_87'
259
+ | 'PQ_SIGN_SLH_DSA_SHA2_128S'
260
+ | 'PQ_SIGN_HASH_SLH_DSA_SHA2_128S_SHA256'
261
+ | 'PQ_SIGN_ML_DSA_44_EXTERNAL_MU'
262
+ | 'PQ_SIGN_ML_DSA_65_EXTERNAL_MU'
263
+ | 'PQ_SIGN_ML_DSA_87_EXTERNAL_MU';
185
264
  /** Output only. Statement that was generated and signed by the HSM at key creation time. Use this statement to verify attributes of the key as stored on the HSM, independently of Google. Only provided for key versions with protection_level HSM. */
186
265
  attestation?: KeyOperationAttestation;
187
266
  /** Output only. The time at which this CryptoKeyVersion was created. */
@@ -207,17 +286,87 @@ declare namespace gapi.client {
207
286
  /** Output only. The resource name for this CryptoKeyVersion in the format `projects/*‍/locations/*‍/keyRings/*‍/cryptoKeys/*‍/cryptoKeyVersions/*`. */
208
287
  name?: string;
209
288
  /** Output only. The ProtectionLevel describing how crypto operations are performed with this CryptoKeyVersion. */
210
- protectionLevel?: string;
289
+ protectionLevel?:
290
+ | 'PROTECTION_LEVEL_UNSPECIFIED'
291
+ | 'SOFTWARE'
292
+ | 'HSM'
293
+ | 'EXTERNAL'
294
+ | 'EXTERNAL_VPC'
295
+ | 'HSM_SINGLE_TENANT';
211
296
  /** Output only. Whether or not this key version is eligible for reimport, by being specified as a target in ImportCryptoKeyVersionRequest.crypto_key_version. */
212
297
  reimportEligible?: boolean;
213
298
  /** The current state of the CryptoKeyVersion. */
214
- state?: string;
299
+ state?:
300
+ | 'CRYPTO_KEY_VERSION_STATE_UNSPECIFIED'
301
+ | 'PENDING_GENERATION'
302
+ | 'ENABLED'
303
+ | 'DISABLED'
304
+ | 'DESTROYED'
305
+ | 'DESTROY_SCHEDULED'
306
+ | 'PENDING_IMPORT'
307
+ | 'IMPORT_FAILED'
308
+ | 'GENERATION_FAILED'
309
+ | 'PENDING_EXTERNAL_DESTRUCTION'
310
+ | 'EXTERNAL_DESTRUCTION_FAILED';
215
311
  }
216
312
  interface CryptoKeyVersionTemplate {
217
313
  /** Required. Algorithm to use when creating a CryptoKeyVersion based on this template. For backwards compatibility, GOOGLE_SYMMETRIC_ENCRYPTION is implied if both this field is omitted and CryptoKey.purpose is ENCRYPT_DECRYPT. */
218
- algorithm?: string;
314
+ algorithm?:
315
+ | 'CRYPTO_KEY_VERSION_ALGORITHM_UNSPECIFIED'
316
+ | 'GOOGLE_SYMMETRIC_ENCRYPTION'
317
+ | 'AES_128_GCM'
318
+ | 'AES_256_GCM'
319
+ | 'AES_128_CBC'
320
+ | 'AES_256_CBC'
321
+ | 'AES_128_CTR'
322
+ | 'AES_256_CTR'
323
+ | 'RSA_SIGN_PSS_2048_SHA256'
324
+ | 'RSA_SIGN_PSS_3072_SHA256'
325
+ | 'RSA_SIGN_PSS_4096_SHA256'
326
+ | 'RSA_SIGN_PSS_4096_SHA512'
327
+ | 'RSA_SIGN_PKCS1_2048_SHA256'
328
+ | 'RSA_SIGN_PKCS1_3072_SHA256'
329
+ | 'RSA_SIGN_PKCS1_4096_SHA256'
330
+ | 'RSA_SIGN_PKCS1_4096_SHA512'
331
+ | 'RSA_SIGN_RAW_PKCS1_2048'
332
+ | 'RSA_SIGN_RAW_PKCS1_3072'
333
+ | 'RSA_SIGN_RAW_PKCS1_4096'
334
+ | 'RSA_DECRYPT_OAEP_2048_SHA256'
335
+ | 'RSA_DECRYPT_OAEP_3072_SHA256'
336
+ | 'RSA_DECRYPT_OAEP_4096_SHA256'
337
+ | 'RSA_DECRYPT_OAEP_4096_SHA512'
338
+ | 'RSA_DECRYPT_OAEP_2048_SHA1'
339
+ | 'RSA_DECRYPT_OAEP_3072_SHA1'
340
+ | 'RSA_DECRYPT_OAEP_4096_SHA1'
341
+ | 'EC_SIGN_P256_SHA256'
342
+ | 'EC_SIGN_P384_SHA384'
343
+ | 'EC_SIGN_SECP256K1_SHA256'
344
+ | 'EC_SIGN_ED25519'
345
+ | 'HMAC_SHA256'
346
+ | 'HMAC_SHA1'
347
+ | 'HMAC_SHA384'
348
+ | 'HMAC_SHA512'
349
+ | 'HMAC_SHA224'
350
+ | 'EXTERNAL_SYMMETRIC_ENCRYPTION'
351
+ | 'ML_KEM_768'
352
+ | 'ML_KEM_1024'
353
+ | 'KEM_XWING'
354
+ | 'PQ_SIGN_ML_DSA_44'
355
+ | 'PQ_SIGN_ML_DSA_65'
356
+ | 'PQ_SIGN_ML_DSA_87'
357
+ | 'PQ_SIGN_SLH_DSA_SHA2_128S'
358
+ | 'PQ_SIGN_HASH_SLH_DSA_SHA2_128S_SHA256'
359
+ | 'PQ_SIGN_ML_DSA_44_EXTERNAL_MU'
360
+ | 'PQ_SIGN_ML_DSA_65_EXTERNAL_MU'
361
+ | 'PQ_SIGN_ML_DSA_87_EXTERNAL_MU';
219
362
  /** ProtectionLevel to use when creating a CryptoKeyVersion based on this template. Immutable. Defaults to SOFTWARE. */
220
- protectionLevel?: string;
363
+ protectionLevel?:
364
+ | 'PROTECTION_LEVEL_UNSPECIFIED'
365
+ | 'SOFTWARE'
366
+ | 'HSM'
367
+ | 'EXTERNAL'
368
+ | 'EXTERNAL_VPC'
369
+ | 'HSM_SINGLE_TENANT';
221
370
  }
222
371
  interface DecapsulateRequest {
223
372
  /** Required. The ciphertext produced from encapsulation with the named CryptoKeyVersion public key(s). */
@@ -229,7 +378,13 @@ declare namespace gapi.client {
229
378
  /** The resource name of the CryptoKeyVersion used for decapsulation. Check this field to verify that the intended resource was used for decapsulation. */
230
379
  name?: string;
231
380
  /** The ProtectionLevel of the CryptoKeyVersion used in decapsulation. */
232
- protectionLevel?: string;
381
+ protectionLevel?:
382
+ | 'PROTECTION_LEVEL_UNSPECIFIED'
383
+ | 'SOFTWARE'
384
+ | 'HSM'
385
+ | 'EXTERNAL'
386
+ | 'EXTERNAL_VPC'
387
+ | 'HSM_SINGLE_TENANT';
233
388
  /** The decapsulated shared_secret originally encapsulated with the matching public key. */
234
389
  sharedSecret?: string;
235
390
  /** Integrity verification field. A CRC32C checksum of the returned DecapsulateResponse.shared_secret. An integrity check of DecapsulateResponse.shared_secret can be performed by computing the CRC32C checksum of DecapsulateResponse.shared_secret and comparing your results to this field. Discard the response in case of non-matching checksum values, and perform a limited number of retries. A persistent mismatch may indicate an issue in your computation of the CRC32C checksum. Note: receiving this response message indicates that KeyManagementService is able to successfully decrypt the ciphertext. Note: This field is defined as int64 for reasons of compatibility across different languages. However, it is a non-negative integer, which will never exceed 2^32-1, and can be safely downconverted to uint32 in languages that support this type. */
@@ -253,7 +408,13 @@ declare namespace gapi.client {
253
408
  /** Integrity verification field. A CRC32C checksum of the returned DecryptResponse.plaintext. An integrity check of DecryptResponse.plaintext can be performed by computing the CRC32C checksum of DecryptResponse.plaintext and comparing your results to this field. Discard the response in case of non-matching checksum values, and perform a limited number of retries. A persistent mismatch may indicate an issue in your computation of the CRC32C checksum. Note: receiving this response message indicates that KeyManagementService is able to successfully decrypt the ciphertext. Note: This field is defined as int64 for reasons of compatibility across different languages. However, it is a non-negative integer, which will never exceed 2^32-1, and can be safely downconverted to uint32 in languages that support this type. */
254
409
  plaintextCrc32c?: string;
255
410
  /** The ProtectionLevel of the CryptoKeyVersion used in decryption. */
256
- protectionLevel?: string;
411
+ protectionLevel?:
412
+ | 'PROTECTION_LEVEL_UNSPECIFIED'
413
+ | 'SOFTWARE'
414
+ | 'HSM'
415
+ | 'EXTERNAL'
416
+ | 'EXTERNAL_VPC'
417
+ | 'HSM_SINGLE_TENANT';
257
418
  /** Whether the Decryption was performed using the primary key version. */
258
419
  usedPrimary?: boolean;
259
420
  }
@@ -284,7 +445,10 @@ declare namespace gapi.client {
284
445
  /** Optional. Etag of the currently stored EkmConnection. */
285
446
  etag?: string;
286
447
  /** Optional. Describes who can perform control plane operations on the EKM. If unset, this defaults to MANUAL. */
287
- keyManagementMode?: string;
448
+ keyManagementMode?:
449
+ | 'KEY_MANAGEMENT_MODE_UNSPECIFIED'
450
+ | 'MANUAL'
451
+ | 'CLOUD_KMS';
288
452
  /** Output only. The resource name for the EkmConnection in the format `projects/*‍/locations/*‍/ekmConnections/*`. */
289
453
  name?: string;
290
454
  /** Optional. A list of ServiceResolvers where the EKM can be reached. There should be one ServiceResolver per EKM replica. Currently, only a single ServiceResolver is supported. */
@@ -310,7 +474,13 @@ declare namespace gapi.client {
310
474
  /** The resource name of the CryptoKeyVersion used in encryption. Check this field to verify that the intended resource was used for encryption. */
311
475
  name?: string;
312
476
  /** The ProtectionLevel of the CryptoKeyVersion used in encryption. */
313
- protectionLevel?: string;
477
+ protectionLevel?:
478
+ | 'PROTECTION_LEVEL_UNSPECIFIED'
479
+ | 'SOFTWARE'
480
+ | 'HSM'
481
+ | 'EXTERNAL'
482
+ | 'EXTERNAL_VPC'
483
+ | 'HSM_SINGLE_TENANT';
314
484
  /** Integrity verification field. A flag indicating whether EncryptRequest.additional_authenticated_data_crc32c was received by KeyManagementService and used for the integrity verification of the AAD. A false value of this field indicates either that EncryptRequest.additional_authenticated_data_crc32c was left unset or that it was not delivered to KeyManagementService. If you've set EncryptRequest.additional_authenticated_data_crc32c but this field is still false, discard the response and perform a limited number of retries. */
315
485
  verifiedAdditionalAuthenticatedDataCrc32c?: boolean;
316
486
  /** Integrity verification field. A flag indicating whether EncryptRequest.plaintext_crc32c was received by KeyManagementService and used for the integrity verification of the plaintext. A false value of this field indicates either that EncryptRequest.plaintext_crc32c was left unset or that it was not delivered to KeyManagementService. If you've set EncryptRequest.plaintext_crc32c but this field is still false, discard the response and perform a limited number of retries. */
@@ -337,7 +507,13 @@ declare namespace gapi.client {
337
507
  /** The length in bytes of the amount of randomness to retrieve. Minimum 8 bytes, maximum 1024 bytes. */
338
508
  lengthBytes?: number;
339
509
  /** The ProtectionLevel to use when generating the random data. Currently, only HSM protection level is supported. */
340
- protectionLevel?: string;
510
+ protectionLevel?:
511
+ | 'PROTECTION_LEVEL_UNSPECIFIED'
512
+ | 'SOFTWARE'
513
+ | 'HSM'
514
+ | 'EXTERNAL'
515
+ | 'EXTERNAL_VPC'
516
+ | 'HSM_SINGLE_TENANT';
341
517
  }
342
518
  interface GenerateRandomBytesResponse {
343
519
  /** The generated data. */
@@ -347,7 +523,54 @@ declare namespace gapi.client {
347
523
  }
348
524
  interface ImportCryptoKeyVersionRequest {
349
525
  /** Required. The algorithm of the key being imported. This does not need to match the version_template of the CryptoKey this version imports into. */
350
- algorithm?: string;
526
+ algorithm?:
527
+ | 'CRYPTO_KEY_VERSION_ALGORITHM_UNSPECIFIED'
528
+ | 'GOOGLE_SYMMETRIC_ENCRYPTION'
529
+ | 'AES_128_GCM'
530
+ | 'AES_256_GCM'
531
+ | 'AES_128_CBC'
532
+ | 'AES_256_CBC'
533
+ | 'AES_128_CTR'
534
+ | 'AES_256_CTR'
535
+ | 'RSA_SIGN_PSS_2048_SHA256'
536
+ | 'RSA_SIGN_PSS_3072_SHA256'
537
+ | 'RSA_SIGN_PSS_4096_SHA256'
538
+ | 'RSA_SIGN_PSS_4096_SHA512'
539
+ | 'RSA_SIGN_PKCS1_2048_SHA256'
540
+ | 'RSA_SIGN_PKCS1_3072_SHA256'
541
+ | 'RSA_SIGN_PKCS1_4096_SHA256'
542
+ | 'RSA_SIGN_PKCS1_4096_SHA512'
543
+ | 'RSA_SIGN_RAW_PKCS1_2048'
544
+ | 'RSA_SIGN_RAW_PKCS1_3072'
545
+ | 'RSA_SIGN_RAW_PKCS1_4096'
546
+ | 'RSA_DECRYPT_OAEP_2048_SHA256'
547
+ | 'RSA_DECRYPT_OAEP_3072_SHA256'
548
+ | 'RSA_DECRYPT_OAEP_4096_SHA256'
549
+ | 'RSA_DECRYPT_OAEP_4096_SHA512'
550
+ | 'RSA_DECRYPT_OAEP_2048_SHA1'
551
+ | 'RSA_DECRYPT_OAEP_3072_SHA1'
552
+ | 'RSA_DECRYPT_OAEP_4096_SHA1'
553
+ | 'EC_SIGN_P256_SHA256'
554
+ | 'EC_SIGN_P384_SHA384'
555
+ | 'EC_SIGN_SECP256K1_SHA256'
556
+ | 'EC_SIGN_ED25519'
557
+ | 'HMAC_SHA256'
558
+ | 'HMAC_SHA1'
559
+ | 'HMAC_SHA384'
560
+ | 'HMAC_SHA512'
561
+ | 'HMAC_SHA224'
562
+ | 'EXTERNAL_SYMMETRIC_ENCRYPTION'
563
+ | 'ML_KEM_768'
564
+ | 'ML_KEM_1024'
565
+ | 'KEM_XWING'
566
+ | 'PQ_SIGN_ML_DSA_44'
567
+ | 'PQ_SIGN_ML_DSA_65'
568
+ | 'PQ_SIGN_ML_DSA_87'
569
+ | 'PQ_SIGN_SLH_DSA_SHA2_128S'
570
+ | 'PQ_SIGN_HASH_SLH_DSA_SHA2_128S_SHA256'
571
+ | 'PQ_SIGN_ML_DSA_44_EXTERNAL_MU'
572
+ | 'PQ_SIGN_ML_DSA_65_EXTERNAL_MU'
573
+ | 'PQ_SIGN_ML_DSA_87_EXTERNAL_MU';
351
574
  /** Optional. The optional name of an existing CryptoKeyVersion to target for an import operation. If this field is not present, a new CryptoKeyVersion containing the supplied key material is created. If this field is present, the supplied key material is imported into the existing CryptoKeyVersion. To import into an existing CryptoKeyVersion, the CryptoKeyVersion must be a child of ImportCryptoKeyVersionRequest.parent, have been previously created via ImportCryptoKeyVersion, and be in DESTROYED or IMPORT_FAILED state. The key material and algorithm must match the previous CryptoKeyVersion exactly if the CryptoKeyVersion has ever contained key material. */
352
575
  cryptoKeyVersion?: string;
353
576
  /** Required. The name of the ImportJob that was used to wrap this key material. */
@@ -371,30 +594,71 @@ declare namespace gapi.client {
371
594
  /** Output only. The time this ImportJob's key material was generated. */
372
595
  generateTime?: string;
373
596
  /** Required. Immutable. The wrapping method to be used for incoming key material. */
374
- importMethod?: string;
597
+ importMethod?:
598
+ | 'IMPORT_METHOD_UNSPECIFIED'
599
+ | 'RSA_OAEP_3072_SHA1_AES_256'
600
+ | 'RSA_OAEP_4096_SHA1_AES_256'
601
+ | 'RSA_OAEP_3072_SHA256_AES_256'
602
+ | 'RSA_OAEP_4096_SHA256_AES_256'
603
+ | 'RSA_OAEP_3072_SHA256'
604
+ | 'RSA_OAEP_4096_SHA256'
605
+ | 'HPKE_KEM_ML_KEM_768_HKDF_SHA256_AES_256_GCM'
606
+ | 'HPKE_KEM_ML_KEM_1024_HKDF_SHA256_AES_256_GCM'
607
+ | 'HPKE_KEM_XWING_HKDF_SHA256_AES_256_GCM';
375
608
  /** Output only. The resource name for this ImportJob in the format `projects/*‍/locations/*‍/keyRings/*‍/importJobs/*`. */
376
609
  name?: string;
377
610
  /** Required. Immutable. The protection level of the ImportJob. This must match the protection_level of the version_template on the CryptoKey you attempt to import into. */
378
- protectionLevel?: string;
611
+ protectionLevel?:
612
+ | 'PROTECTION_LEVEL_UNSPECIFIED'
613
+ | 'SOFTWARE'
614
+ | 'HSM'
615
+ | 'EXTERNAL'
616
+ | 'EXTERNAL_VPC'
617
+ | 'HSM_SINGLE_TENANT';
379
618
  /** Output only. The public key with which to wrap key material prior to import. Only returned if state is ACTIVE. */
380
619
  publicKey?: WrappingPublicKey;
620
+ /** Output only. Specifies the WrappingPublicKey format provided by the customer in the KeyManagementService.GetImportJob request. */
621
+ publicKeyFormat?:
622
+ | 'PUBLIC_KEY_FORMAT_UNSPECIFIED'
623
+ | 'PEM'
624
+ | 'DER'
625
+ | 'NIST_PQC'
626
+ | 'XWING_RAW_BYTES';
381
627
  /** Output only. The current state of the ImportJob, indicating if it can be used. */
382
- state?: string;
628
+ state?:
629
+ | 'IMPORT_JOB_STATE_UNSPECIFIED'
630
+ | 'PENDING_GENERATION'
631
+ | 'ACTIVE'
632
+ | 'EXPIRED';
383
633
  }
384
634
  interface KeyAccessJustificationsEnrollmentConfig {
385
- /** Whether the project has KAJ logging enabled. */
635
+ /** Indicates whether the project has KAJ logging enabled. */
386
636
  auditLogging?: boolean;
387
- /** Whether the project is enrolled in KAJ policy enforcement. */
637
+ /** Indicates whether the project is enrolled in KAJ policy enforcement. */
388
638
  policyEnforcement?: boolean;
389
639
  }
390
640
  interface KeyAccessJustificationsPolicy {
391
- /** 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. */
392
- allowedAccessReasons?: string[];
641
+ /** The list of allowed reasons for access to a CryptoKey. Note that empty allowed_access_reasons has a different meaning depending on where this message appears. If this is under KeyAccessJustificationsPolicyConfig, it means allow-all. If this is under CryptoKey, it means deny-all. */
642
+ allowedAccessReasons?:
643
+ | 'REASON_UNSPECIFIED'
644
+ | 'CUSTOMER_INITIATED_SUPPORT'
645
+ | 'GOOGLE_INITIATED_SERVICE'
646
+ | 'THIRD_PARTY_DATA_REQUEST'
647
+ | 'GOOGLE_INITIATED_REVIEW'
648
+ | 'CUSTOMER_INITIATED_ACCESS'
649
+ | 'GOOGLE_INITIATED_SYSTEM_OPERATION'
650
+ | 'REASON_NOT_EXPECTED'
651
+ | 'MODIFIED_CUSTOMER_INITIATED_ACCESS'
652
+ | 'MODIFIED_GOOGLE_INITIATED_SYSTEM_OPERATION'
653
+ | 'GOOGLE_RESPONSE_TO_PRODUCTION_ALERT'
654
+ | 'CUSTOMER_AUTHORIZED_WORKFLOW_SERVICING'[];
393
655
  }
394
656
  interface KeyAccessJustificationsPolicyConfig {
395
- /** Optional. The default key access justification policy used when a CryptoKey is created in this folder. This is only used when a Key Access Justifications policy is not provided in the CreateCryptoKeyRequest. This overrides any default policies in its ancestry. */
657
+ /** Optional. Specifies the default key access justifications (KAJ) policy used when a CryptoKey is created in this folder. This is only used when a Key Access Justifications policy is not provided in the CreateCryptoKeyRequest. This overrides any default policies in its ancestry. If this field is unset, or is set but contains an empty allowed_access_reasons list, no default Key Access Justifications (KAJ) policy configuration is active. In this scenario, all newly created keys will default to an "allow-all" policy. */
396
658
  defaultKeyAccessJustificationPolicy?: KeyAccessJustificationsPolicy;
397
- /** Identifier. The resource name for this KeyAccessJustificationsPolicyConfig in the format of "{organizations|folders|projects}/*‍/kajPolicyConfig". */
659
+ /** Output only. Indicates whether this parent resource is available to default policy feature. Please consult [the prerequisite of default policy feature](https://cloud.google.com/assured-workloads/key-access-justifications/docs/set-default-policy#before) for more details. */
660
+ defaultPolicyAvailable?: boolean;
661
+ /** Identifier. Represents the resource name for this KeyAccessJustificationsPolicyConfig in the format of "{organizations|folders|projects}/*‍/kajPolicyConfig". */
398
662
  name?: string;
399
663
  }
400
664
  interface KeyHandle {
@@ -411,7 +675,10 @@ declare namespace gapi.client {
411
675
  /** Output only. The attestation data provided by the HSM when the key operation was performed. */
412
676
  content?: string;
413
677
  /** Output only. The format of the attestation data. */
414
- format?: string;
678
+ format?:
679
+ | 'ATTESTATION_FORMAT_UNSPECIFIED'
680
+ | 'CAVIUM_V1_COMPRESSED'
681
+ | 'CAVIUM_V2_COMPRESSED';
415
682
  }
416
683
  interface KeyRing {
417
684
  /** Output only. The time at which this KeyRing was created. */
@@ -529,7 +796,13 @@ declare namespace gapi.client {
529
796
  /** The resource name of the CryptoKeyVersion used for signing. Check this field to verify that the intended resource was used for signing. */
530
797
  name?: string;
531
798
  /** The ProtectionLevel of the CryptoKeyVersion used for signing. */
532
- protectionLevel?: string;
799
+ protectionLevel?:
800
+ | 'PROTECTION_LEVEL_UNSPECIFIED'
801
+ | 'SOFTWARE'
802
+ | 'HSM'
803
+ | 'EXTERNAL'
804
+ | 'EXTERNAL_VPC'
805
+ | 'HSM_SINGLE_TENANT';
533
806
  /** Integrity verification field. A flag indicating whether MacSignRequest.data_crc32c was received by KeyManagementService and used for the integrity verification of the data. A false value of this field indicates either that MacSignRequest.data_crc32c was left unset or that it was not delivered to KeyManagementService. If you've set MacSignRequest.data_crc32c but this field is still false, discard the response and perform a limited number of retries. */
534
807
  verifiedDataCrc32c?: boolean;
535
808
  }
@@ -547,7 +820,13 @@ declare namespace gapi.client {
547
820
  /** The resource name of the CryptoKeyVersion used for verification. Check this field to verify that the intended resource was used for verification. */
548
821
  name?: string;
549
822
  /** The ProtectionLevel of the CryptoKeyVersion used for verification. */
550
- protectionLevel?: string;
823
+ protectionLevel?:
824
+ | 'PROTECTION_LEVEL_UNSPECIFIED'
825
+ | 'SOFTWARE'
826
+ | 'HSM'
827
+ | 'EXTERNAL'
828
+ | 'EXTERNAL_VPC'
829
+ | 'HSM_SINGLE_TENANT';
551
830
  /** This field indicates whether or not the verification operation for MacVerifyRequest.mac over MacVerifyRequest.data was successful. */
552
831
  success?: boolean;
553
832
  /** Integrity verification field. A flag indicating whether MacVerifyRequest.data_crc32c was received by KeyManagementService and used for the integrity verification of the data. A false value of this field indicates either that MacVerifyRequest.data_crc32c was left unset or that it was not delivered to KeyManagementService. If you've set MacVerifyRequest.data_crc32c but this field is still false, discard the response and perform a limited number of retries. */
@@ -581,7 +860,54 @@ declare namespace gapi.client {
581
860
  }
582
861
  interface PublicKey {
583
862
  /** The Algorithm associated with this key. */
584
- algorithm?: string;
863
+ algorithm?:
864
+ | 'CRYPTO_KEY_VERSION_ALGORITHM_UNSPECIFIED'
865
+ | 'GOOGLE_SYMMETRIC_ENCRYPTION'
866
+ | 'AES_128_GCM'
867
+ | 'AES_256_GCM'
868
+ | 'AES_128_CBC'
869
+ | 'AES_256_CBC'
870
+ | 'AES_128_CTR'
871
+ | 'AES_256_CTR'
872
+ | 'RSA_SIGN_PSS_2048_SHA256'
873
+ | 'RSA_SIGN_PSS_3072_SHA256'
874
+ | 'RSA_SIGN_PSS_4096_SHA256'
875
+ | 'RSA_SIGN_PSS_4096_SHA512'
876
+ | 'RSA_SIGN_PKCS1_2048_SHA256'
877
+ | 'RSA_SIGN_PKCS1_3072_SHA256'
878
+ | 'RSA_SIGN_PKCS1_4096_SHA256'
879
+ | 'RSA_SIGN_PKCS1_4096_SHA512'
880
+ | 'RSA_SIGN_RAW_PKCS1_2048'
881
+ | 'RSA_SIGN_RAW_PKCS1_3072'
882
+ | 'RSA_SIGN_RAW_PKCS1_4096'
883
+ | 'RSA_DECRYPT_OAEP_2048_SHA256'
884
+ | 'RSA_DECRYPT_OAEP_3072_SHA256'
885
+ | 'RSA_DECRYPT_OAEP_4096_SHA256'
886
+ | 'RSA_DECRYPT_OAEP_4096_SHA512'
887
+ | 'RSA_DECRYPT_OAEP_2048_SHA1'
888
+ | 'RSA_DECRYPT_OAEP_3072_SHA1'
889
+ | 'RSA_DECRYPT_OAEP_4096_SHA1'
890
+ | 'EC_SIGN_P256_SHA256'
891
+ | 'EC_SIGN_P384_SHA384'
892
+ | 'EC_SIGN_SECP256K1_SHA256'
893
+ | 'EC_SIGN_ED25519'
894
+ | 'HMAC_SHA256'
895
+ | 'HMAC_SHA1'
896
+ | 'HMAC_SHA384'
897
+ | 'HMAC_SHA512'
898
+ | 'HMAC_SHA224'
899
+ | 'EXTERNAL_SYMMETRIC_ENCRYPTION'
900
+ | 'ML_KEM_768'
901
+ | 'ML_KEM_1024'
902
+ | 'KEM_XWING'
903
+ | 'PQ_SIGN_ML_DSA_44'
904
+ | 'PQ_SIGN_ML_DSA_65'
905
+ | 'PQ_SIGN_ML_DSA_87'
906
+ | 'PQ_SIGN_SLH_DSA_SHA2_128S'
907
+ | 'PQ_SIGN_HASH_SLH_DSA_SHA2_128S_SHA256'
908
+ | 'PQ_SIGN_ML_DSA_44_EXTERNAL_MU'
909
+ | 'PQ_SIGN_ML_DSA_65_EXTERNAL_MU'
910
+ | 'PQ_SIGN_ML_DSA_87_EXTERNAL_MU';
585
911
  /** The name of the CryptoKeyVersion public key. Provided here for verification. NOTE: This field is in Beta. */
586
912
  name?: string;
587
913
  /** The public key, encoded in PEM format. For more information, see the [RFC 7468](https://tools.ietf.org/html/rfc7468) sections for [General Considerations](https://tools.ietf.org/html/rfc7468#section-2) and [Textual Encoding of Subject Public Key Info] (https://tools.ietf.org/html/rfc7468#section-13). */
@@ -589,11 +915,22 @@ declare namespace gapi.client {
589
915
  /** Integrity verification field. A CRC32C checksum of the returned PublicKey.pem. An integrity check of PublicKey.pem can be performed by computing the CRC32C checksum of PublicKey.pem and comparing your results to this field. Discard the response in case of non-matching checksum values, and perform a limited number of retries. A persistent mismatch may indicate an issue in your computation of the CRC32C checksum. Note: This field is defined as int64 for reasons of compatibility across different languages. However, it is a non-negative integer, which will never exceed `2^32-1`, and can be safely downconverted to uint32 in languages that support this type. NOTE: This field is in Beta. */
590
916
  pemCrc32c?: string;
591
917
  /** The ProtectionLevel of the CryptoKeyVersion public key. */
592
- protectionLevel?: string;
918
+ protectionLevel?:
919
+ | 'PROTECTION_LEVEL_UNSPECIFIED'
920
+ | 'SOFTWARE'
921
+ | 'HSM'
922
+ | 'EXTERNAL'
923
+ | 'EXTERNAL_VPC'
924
+ | 'HSM_SINGLE_TENANT';
593
925
  /** This field contains the public key (with integrity verification), formatted according to the public_key_format field. */
594
926
  publicKey?: ChecksummedData;
595
927
  /** The PublicKey format specified by the customer through the public_key_format field. */
596
- publicKeyFormat?: string;
928
+ publicKeyFormat?:
929
+ | 'PUBLIC_KEY_FORMAT_UNSPECIFIED'
930
+ | 'PEM'
931
+ | 'DER'
932
+ | 'NIST_PQC'
933
+ | 'XWING_RAW_BYTES';
597
934
  }
598
935
  interface QuorumAuth {
599
936
  /** Output only. The required numbers of approvers. The M value used for M of N quorum auth. Must be greater than or equal to 2 and less than or equal to total_approver_count - 1. */
@@ -637,7 +974,13 @@ declare namespace gapi.client {
637
974
  /** Integrity verification field. A CRC32C checksum of the returned RawDecryptResponse.plaintext. An integrity check of plaintext can be performed by computing the CRC32C checksum of plaintext and comparing your results to this field. Discard the response in case of non-matching checksum values, and perform a limited number of retries. A persistent mismatch may indicate an issue in your computation of the CRC32C checksum. Note: receiving this response message indicates that KeyManagementService is able to successfully decrypt the ciphertext. Note: This field is defined as int64 for reasons of compatibility across different languages. However, it is a non-negative integer, which will never exceed 2^32-1, and can be safely downconverted to uint32 in languages that support this type. */
638
975
  plaintextCrc32c?: string;
639
976
  /** The ProtectionLevel of the CryptoKeyVersion used in decryption. */
640
- protectionLevel?: string;
977
+ protectionLevel?:
978
+ | 'PROTECTION_LEVEL_UNSPECIFIED'
979
+ | 'SOFTWARE'
980
+ | 'HSM'
981
+ | 'EXTERNAL'
982
+ | 'EXTERNAL_VPC'
983
+ | 'HSM_SINGLE_TENANT';
641
984
  /** Integrity verification field. A flag indicating whether RawDecryptRequest.additional_authenticated_data_crc32c was received by KeyManagementService and used for the integrity verification of additional_authenticated_data. A false value of this field indicates either that // RawDecryptRequest.additional_authenticated_data_crc32c was left unset or that it was not delivered to KeyManagementService. If you've set RawDecryptRequest.additional_authenticated_data_crc32c but this field is still false, discard the response and perform a limited number of retries. */
642
985
  verifiedAdditionalAuthenticatedDataCrc32c?: boolean;
643
986
  /** Integrity verification field. A flag indicating whether RawDecryptRequest.ciphertext_crc32c was received by KeyManagementService and used for the integrity verification of the ciphertext. A false value of this field indicates either that RawDecryptRequest.ciphertext_crc32c was left unset or that it was not delivered to KeyManagementService. If you've set RawDecryptRequest.ciphertext_crc32c but this field is still false, discard the response and perform a limited number of retries. */
@@ -671,7 +1014,13 @@ declare namespace gapi.client {
671
1014
  /** The resource name of the CryptoKeyVersion used in encryption. Check this field to verify that the intended resource was used for encryption. */
672
1015
  name?: string;
673
1016
  /** The ProtectionLevel of the CryptoKeyVersion used in encryption. */
674
- protectionLevel?: string;
1017
+ protectionLevel?:
1018
+ | 'PROTECTION_LEVEL_UNSPECIFIED'
1019
+ | 'SOFTWARE'
1020
+ | 'HSM'
1021
+ | 'EXTERNAL'
1022
+ | 'EXTERNAL_VPC'
1023
+ | 'HSM_SINGLE_TENANT';
675
1024
  /** The length of the authentication tag that is appended to the end of the ciphertext. */
676
1025
  tagLength?: number;
677
1026
  /** Integrity verification field. A flag indicating whether RawEncryptRequest.additional_authenticated_data_crc32c was received by KeyManagementService and used for the integrity verification of additional_authenticated_data. A false value of this field indicates either that // RawEncryptRequest.additional_authenticated_data_crc32c was left unset or that it was not delivered to KeyManagementService. If you've set RawEncryptRequest.additional_authenticated_data_crc32c but this field is still false, discard the response and perform a limited number of retries. */
@@ -740,15 +1089,15 @@ declare namespace gapi.client {
740
1089
  keyProject?: string;
741
1090
  }
742
1091
  interface ShowEffectiveKeyAccessJustificationsEnrollmentConfigResponse {
743
- /** The effective KeyAccessJustificationsEnrollmentConfig for external keys. */
1092
+ /** Contains the effective KeyAccessJustificationsEnrollmentConfig for external keys. */
744
1093
  externalConfig?: KeyAccessJustificationsEnrollmentConfig;
745
- /** The effective KeyAccessJustificationsEnrollmentConfig for hardware keys. */
1094
+ /** Contains the effective KeyAccessJustificationsEnrollmentConfig for hardware keys. */
746
1095
  hardwareConfig?: KeyAccessJustificationsEnrollmentConfig;
747
- /** The effective KeyAccessJustificationsEnrollmentConfig for software keys. */
1096
+ /** Contains the effective KeyAccessJustificationsEnrollmentConfig for software keys. */
748
1097
  softwareConfig?: KeyAccessJustificationsEnrollmentConfig;
749
1098
  }
750
1099
  interface ShowEffectiveKeyAccessJustificationsPolicyConfigResponse {
751
- /** The effective KeyAccessJustificationsPolicyConfig. */
1100
+ /** Contains the effective KeyAccessJustificationsPolicyConfig. */
752
1101
  effectiveKajPolicy?: KeyAccessJustificationsPolicyConfig;
753
1102
  }
754
1103
  interface SingleTenantHsmInstance {
@@ -758,13 +1107,24 @@ declare namespace gapi.client {
758
1107
  deleteTime?: string;
759
1108
  /** Output only. The time at which the instance will be automatically disabled if not refreshed. This field is updated upon creation and after each successful refresh operation and enable. A RefreshSingleTenantHsmInstance operation must be made via a SingleTenantHsmInstanceProposal before this time otherwise the SingleTenantHsmInstance will become disabled. */
760
1109
  disableTime?: string;
1110
+ /** Optional. Immutable. Indicates whether key portability is enabled for the SingleTenantHsmInstance. This can only be set at creation time. Key portability features are disabled by default and not yet available in GA. */
1111
+ keyPortabilityEnabled?: boolean;
761
1112
  /** Identifier. The resource name for this SingleTenantHsmInstance in the format `projects/*‍/locations/*‍/singleTenantHsmInstances/*`. */
762
1113
  name?: string;
763
1114
  /** Required. The quorum auth configuration for the SingleTenantHsmInstance. */
764
1115
  quorumAuth?: QuorumAuth;
765
1116
  /** Output only. The state of the SingleTenantHsmInstance. */
766
- state?: string;
767
- /** Output only. The system-defined duration that an instance can remain unrefreshed until it is automatically disabled. This will have a value of 120 days. */
1117
+ state?:
1118
+ | 'STATE_UNSPECIFIED'
1119
+ | 'CREATING'
1120
+ | 'PENDING_TWO_FACTOR_AUTH_REGISTRATION'
1121
+ | 'ACTIVE'
1122
+ | 'DISABLING'
1123
+ | 'DISABLED'
1124
+ | 'DELETING'
1125
+ | 'DELETED'
1126
+ | 'FAILED';
1127
+ /** Output only. The system-defined duration that an instance can remain unrefreshed until it is automatically disabled. This will have a value of 730 days. */
768
1128
  unrefreshedDurationUntilDisable?: string;
769
1129
  }
770
1130
  interface SingleTenantHsmInstanceProposal {
@@ -799,7 +1159,15 @@ declare namespace gapi.client {
799
1159
  /** Output only. Parameters for an approval of a SingleTenantHsmInstanceProposal that has both required challenges and a quorum. */
800
1160
  requiredActionQuorumParameters?: RequiredActionQuorumParameters;
801
1161
  /** Output only. The state of the SingleTenantHsmInstanceProposal. */
802
- state?: string;
1162
+ state?:
1163
+ | 'STATE_UNSPECIFIED'
1164
+ | 'CREATING'
1165
+ | 'PENDING'
1166
+ | 'APPROVED'
1167
+ | 'RUNNING'
1168
+ | 'SUCCEEDED'
1169
+ | 'FAILED'
1170
+ | 'DELETED';
803
1171
  /** Input only. The TTL for the SingleTenantHsmInstanceProposal. Proposals will expire after this duration. */
804
1172
  ttl?: string;
805
1173
  }
@@ -807,7 +1175,7 @@ declare namespace gapi.client {
807
1175
  /** The status code, which should be an enum value of google.rpc.Code. */
808
1176
  code?: number;
809
1177
  /** A list of messages that carry the error details. There is a common set of message types for APIs to use. */
810
- details?: Array<{[P in string]: any}>;
1178
+ details?: {[P in string]: any}[];
811
1179
  /** A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client. */
812
1180
  message?: string;
813
1181
  }
@@ -825,25 +1193,27 @@ declare namespace gapi.client {
825
1193
  }
826
1194
  interface VerifyConnectivityResponse {}
827
1195
  interface WrappingPublicKey {
828
- /** The public key, encoded in PEM format. For more information, see the [RFC 7468](https://tools.ietf.org/html/rfc7468) sections for [General Considerations](https://tools.ietf.org/html/rfc7468#section-2) and [Textual Encoding of Subject Public Key Info] (https://tools.ietf.org/html/rfc7468#section-13). */
1196
+ /** Output only. Contains the public key, formatted according to the PublicKey.PublicKeyFormat specified in the KeyManagementService.GetImportJob request. */
1197
+ data?: string;
1198
+ /** The public key, encoded in PEM format. For more information, see the [RFC 7468](https://tools.ietf.org/html/rfc7468) sections for [General Considerations](https://tools.ietf.org/html/rfc7468#section-2) and [Textual Encoding of Subject Public Key Info] (https://tools.ietf.org/html/rfc7468#section-13). This field gets populated by default for RSA-based import methods, if no public_key_format is specified in the request. If you want to retrieve the wrapping key of an ImportJob in some other format, use KeyManagementService.GetImportJob and set the public_key_format to the desired public key format. */
829
1199
  pem?: string;
830
1200
  }
831
1201
  interface FoldersResource {
832
1202
  /** Returns the AutokeyConfig for a folder or project. */
833
1203
  getAutokeyConfig(request?: {
834
1204
  /** V1 error format. */
835
- '$.xgafv'?: string;
1205
+ '$.xgafv'?: '1' | '2';
836
1206
  /** OAuth access token. */
837
1207
  access_token?: string;
838
1208
  /** Data format for response. */
839
- alt?: string;
1209
+ alt?: 'json' | 'media' | 'proto';
840
1210
  /** JSONP */
841
1211
  callback?: string;
842
1212
  /** Selector specifying which fields to include in a partial response. */
843
1213
  fields?: string;
844
1214
  /** 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. */
845
1215
  key?: string;
846
- /** Required. Name of the AutokeyConfig resource, e.g. `folders/{FOLDER_NUMBER}/autokeyConfig` or `projects/{PROJECT_NUMBER}/autokeyConfig`. */
1216
+ /** Required. Name of the AutokeyConfig resource, e.g. `folders/{FOLDER_NUMBER}/autokeyConfig`, `projects/{PROJECT_NUMBER}/autokeyConfig`, or `projects/{PROJECT_ID}/autokeyConfig`. */
847
1217
  name: string;
848
1218
  /** OAuth 2.0 token for the current user. */
849
1219
  oauth_token?: string;
@@ -859,18 +1229,18 @@ declare namespace gapi.client {
859
1229
  /** Gets the KeyAccessJustificationsPolicyConfig for a given organization, folder, or project. */
860
1230
  getKajPolicyConfig(request?: {
861
1231
  /** V1 error format. */
862
- '$.xgafv'?: string;
1232
+ '$.xgafv'?: '1' | '2';
863
1233
  /** OAuth access token. */
864
1234
  access_token?: string;
865
1235
  /** Data format for response. */
866
- alt?: string;
1236
+ alt?: 'json' | 'media' | 'proto';
867
1237
  /** JSONP */
868
1238
  callback?: string;
869
1239
  /** Selector specifying which fields to include in a partial response. */
870
1240
  fields?: string;
871
1241
  /** 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. */
872
1242
  key?: string;
873
- /** Required. The name of the KeyAccessJustificationsPolicyConfig to get. */
1243
+ /** Required. Specifies the name of the KeyAccessJustificationsPolicyConfig to get. */
874
1244
  name: string;
875
1245
  /** OAuth 2.0 token for the current user. */
876
1246
  oauth_token?: string;
@@ -886,18 +1256,18 @@ declare namespace gapi.client {
886
1256
  /** Updates the AutokeyConfig for a folder or a project. 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. */
887
1257
  updateAutokeyConfig(request: {
888
1258
  /** V1 error format. */
889
- '$.xgafv'?: string;
1259
+ '$.xgafv'?: '1' | '2';
890
1260
  /** OAuth access token. */
891
1261
  access_token?: string;
892
1262
  /** Data format for response. */
893
- alt?: string;
1263
+ alt?: 'json' | 'media' | 'proto';
894
1264
  /** JSONP */
895
1265
  callback?: string;
896
1266
  /** Selector specifying which fields to include in a partial response. */
897
1267
  fields?: string;
898
1268
  /** 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. */
899
1269
  key?: string;
900
- /** Identifier. Name of the AutokeyConfig resource, e.g. `folders/{FOLDER_NUMBER}/autokeyConfig` or `projects/{PROJECT_NUMBER}/autokeyConfig`. */
1270
+ /** Identifier. Name of the AutokeyConfig resource, e.g. `folders/{FOLDER_NUMBER}/autokeyConfig`, `projects/{PROJECT_NUMBER}/autokeyConfig`, or `projects/{PROJECT_ID}/autokeyConfig`. */
901
1271
  name: string;
902
1272
  /** OAuth 2.0 token for the current user. */
903
1273
  oauth_token?: string;
@@ -917,18 +1287,18 @@ declare namespace gapi.client {
917
1287
  updateAutokeyConfig(
918
1288
  request: {
919
1289
  /** V1 error format. */
920
- '$.xgafv'?: string;
1290
+ '$.xgafv'?: '1' | '2';
921
1291
  /** OAuth access token. */
922
1292
  access_token?: string;
923
1293
  /** Data format for response. */
924
- alt?: string;
1294
+ alt?: 'json' | 'media' | 'proto';
925
1295
  /** JSONP */
926
1296
  callback?: string;
927
1297
  /** Selector specifying which fields to include in a partial response. */
928
1298
  fields?: string;
929
1299
  /** 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. */
930
1300
  key?: string;
931
- /** Identifier. Name of the AutokeyConfig resource, e.g. `folders/{FOLDER_NUMBER}/autokeyConfig` or `projects/{PROJECT_NUMBER}/autokeyConfig`. */
1301
+ /** Identifier. Name of the AutokeyConfig resource, e.g. `folders/{FOLDER_NUMBER}/autokeyConfig`, `projects/{PROJECT_NUMBER}/autokeyConfig`, or `projects/{PROJECT_ID}/autokeyConfig`. */
932
1302
  name: string;
933
1303
  /** OAuth 2.0 token for the current user. */
934
1304
  oauth_token?: string;
@@ -948,18 +1318,18 @@ declare namespace gapi.client {
948
1318
  /** Updates the KeyAccessJustificationsPolicyConfig for a given organization, folder, or project. */
949
1319
  updateKajPolicyConfig(request: {
950
1320
  /** V1 error format. */
951
- '$.xgafv'?: string;
1321
+ '$.xgafv'?: '1' | '2';
952
1322
  /** OAuth access token. */
953
1323
  access_token?: string;
954
1324
  /** Data format for response. */
955
- alt?: string;
1325
+ alt?: 'json' | 'media' | 'proto';
956
1326
  /** JSONP */
957
1327
  callback?: string;
958
1328
  /** Selector specifying which fields to include in a partial response. */
959
1329
  fields?: string;
960
1330
  /** 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. */
961
1331
  key?: string;
962
- /** Identifier. The resource name for this KeyAccessJustificationsPolicyConfig in the format of "{organizations|folders|projects}/*‍/kajPolicyConfig". */
1332
+ /** Identifier. Represents the resource name for this KeyAccessJustificationsPolicyConfig in the format of "{organizations|folders|projects}/*‍/kajPolicyConfig". */
963
1333
  name: string;
964
1334
  /** OAuth 2.0 token for the current user. */
965
1335
  oauth_token?: string;
@@ -967,7 +1337,7 @@ declare namespace gapi.client {
967
1337
  prettyPrint?: boolean;
968
1338
  /** 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. */
969
1339
  quotaUser?: string;
970
- /** Optional. The list of fields to update. */
1340
+ /** Optional. Specifies the list of fields to update. */
971
1341
  updateMask?: string;
972
1342
  /** Upload protocol for media (e.g. "raw", "multipart"). */
973
1343
  upload_protocol?: string;
@@ -979,18 +1349,18 @@ declare namespace gapi.client {
979
1349
  updateKajPolicyConfig(
980
1350
  request: {
981
1351
  /** V1 error format. */
982
- '$.xgafv'?: string;
1352
+ '$.xgafv'?: '1' | '2';
983
1353
  /** OAuth access token. */
984
1354
  access_token?: string;
985
1355
  /** Data format for response. */
986
- alt?: string;
1356
+ alt?: 'json' | 'media' | 'proto';
987
1357
  /** JSONP */
988
1358
  callback?: string;
989
1359
  /** Selector specifying which fields to include in a partial response. */
990
1360
  fields?: string;
991
1361
  /** 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. */
992
1362
  key?: string;
993
- /** Identifier. The resource name for this KeyAccessJustificationsPolicyConfig in the format of "{organizations|folders|projects}/*‍/kajPolicyConfig". */
1363
+ /** Identifier. Represents the resource name for this KeyAccessJustificationsPolicyConfig in the format of "{organizations|folders|projects}/*‍/kajPolicyConfig". */
994
1364
  name: string;
995
1365
  /** OAuth 2.0 token for the current user. */
996
1366
  oauth_token?: string;
@@ -998,7 +1368,7 @@ declare namespace gapi.client {
998
1368
  prettyPrint?: boolean;
999
1369
  /** 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. */
1000
1370
  quotaUser?: string;
1001
- /** Optional. The list of fields to update. */
1371
+ /** Optional. Specifies the list of fields to update. */
1002
1372
  updateMask?: string;
1003
1373
  /** Upload protocol for media (e.g. "raw", "multipart"). */
1004
1374
  upload_protocol?: string;
@@ -1012,18 +1382,18 @@ declare namespace gapi.client {
1012
1382
  /** Gets the KeyAccessJustificationsPolicyConfig for a given organization, folder, or project. */
1013
1383
  getKajPolicyConfig(request?: {
1014
1384
  /** V1 error format. */
1015
- '$.xgafv'?: string;
1385
+ '$.xgafv'?: '1' | '2';
1016
1386
  /** OAuth access token. */
1017
1387
  access_token?: string;
1018
1388
  /** Data format for response. */
1019
- alt?: string;
1389
+ alt?: 'json' | 'media' | 'proto';
1020
1390
  /** JSONP */
1021
1391
  callback?: string;
1022
1392
  /** Selector specifying which fields to include in a partial response. */
1023
1393
  fields?: string;
1024
1394
  /** 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. */
1025
1395
  key?: string;
1026
- /** Required. The name of the KeyAccessJustificationsPolicyConfig to get. */
1396
+ /** Required. Specifies the name of the KeyAccessJustificationsPolicyConfig to get. */
1027
1397
  name: string;
1028
1398
  /** OAuth 2.0 token for the current user. */
1029
1399
  oauth_token?: string;
@@ -1039,18 +1409,18 @@ declare namespace gapi.client {
1039
1409
  /** Updates the KeyAccessJustificationsPolicyConfig for a given organization, folder, or project. */
1040
1410
  updateKajPolicyConfig(request: {
1041
1411
  /** V1 error format. */
1042
- '$.xgafv'?: string;
1412
+ '$.xgafv'?: '1' | '2';
1043
1413
  /** OAuth access token. */
1044
1414
  access_token?: string;
1045
1415
  /** Data format for response. */
1046
- alt?: string;
1416
+ alt?: 'json' | 'media' | 'proto';
1047
1417
  /** JSONP */
1048
1418
  callback?: string;
1049
1419
  /** Selector specifying which fields to include in a partial response. */
1050
1420
  fields?: string;
1051
1421
  /** 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. */
1052
1422
  key?: string;
1053
- /** Identifier. The resource name for this KeyAccessJustificationsPolicyConfig in the format of "{organizations|folders|projects}/*‍/kajPolicyConfig". */
1423
+ /** Identifier. Represents the resource name for this KeyAccessJustificationsPolicyConfig in the format of "{organizations|folders|projects}/*‍/kajPolicyConfig". */
1054
1424
  name: string;
1055
1425
  /** OAuth 2.0 token for the current user. */
1056
1426
  oauth_token?: string;
@@ -1058,7 +1428,7 @@ declare namespace gapi.client {
1058
1428
  prettyPrint?: boolean;
1059
1429
  /** 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. */
1060
1430
  quotaUser?: string;
1061
- /** Optional. The list of fields to update. */
1431
+ /** Optional. Specifies the list of fields to update. */
1062
1432
  updateMask?: string;
1063
1433
  /** Upload protocol for media (e.g. "raw", "multipart"). */
1064
1434
  upload_protocol?: string;
@@ -1070,18 +1440,18 @@ declare namespace gapi.client {
1070
1440
  updateKajPolicyConfig(
1071
1441
  request: {
1072
1442
  /** V1 error format. */
1073
- '$.xgafv'?: string;
1443
+ '$.xgafv'?: '1' | '2';
1074
1444
  /** OAuth access token. */
1075
1445
  access_token?: string;
1076
1446
  /** Data format for response. */
1077
- alt?: string;
1447
+ alt?: 'json' | 'media' | 'proto';
1078
1448
  /** JSONP */
1079
1449
  callback?: string;
1080
1450
  /** Selector specifying which fields to include in a partial response. */
1081
1451
  fields?: string;
1082
1452
  /** 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. */
1083
1453
  key?: string;
1084
- /** Identifier. The resource name for this KeyAccessJustificationsPolicyConfig in the format of "{organizations|folders|projects}/*‍/kajPolicyConfig". */
1454
+ /** Identifier. Represents the resource name for this KeyAccessJustificationsPolicyConfig in the format of "{organizations|folders|projects}/*‍/kajPolicyConfig". */
1085
1455
  name: string;
1086
1456
  /** OAuth 2.0 token for the current user. */
1087
1457
  oauth_token?: string;
@@ -1089,7 +1459,7 @@ declare namespace gapi.client {
1089
1459
  prettyPrint?: boolean;
1090
1460
  /** 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. */
1091
1461
  quotaUser?: string;
1092
- /** Optional. The list of fields to update. */
1462
+ /** Optional. Specifies the list of fields to update. */
1093
1463
  updateMask?: string;
1094
1464
  /** Upload protocol for media (e.g. "raw", "multipart"). */
1095
1465
  upload_protocol?: string;
@@ -1103,11 +1473,11 @@ declare namespace gapi.client {
1103
1473
  /** Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set. */
1104
1474
  getIamPolicy(request?: {
1105
1475
  /** V1 error format. */
1106
- '$.xgafv'?: string;
1476
+ '$.xgafv'?: '1' | '2';
1107
1477
  /** OAuth access token. */
1108
1478
  access_token?: string;
1109
1479
  /** Data format for response. */
1110
- alt?: string;
1480
+ alt?: 'json' | 'media' | 'proto';
1111
1481
  /** JSONP */
1112
1482
  callback?: string;
1113
1483
  /** Selector specifying which fields to include in a partial response. */
@@ -1133,11 +1503,11 @@ declare namespace gapi.client {
1133
1503
  setIamPolicy(
1134
1504
  request: {
1135
1505
  /** V1 error format. */
1136
- '$.xgafv'?: string;
1506
+ '$.xgafv'?: '1' | '2';
1137
1507
  /** OAuth access token. */
1138
1508
  access_token?: string;
1139
1509
  /** Data format for response. */
1140
- alt?: string;
1510
+ alt?: 'json' | 'media' | 'proto';
1141
1511
  /** JSONP */
1142
1512
  callback?: string;
1143
1513
  /** Selector specifying which fields to include in a partial response. */
@@ -1163,11 +1533,11 @@ declare namespace gapi.client {
1163
1533
  testIamPermissions(
1164
1534
  request: {
1165
1535
  /** V1 error format. */
1166
- '$.xgafv'?: string;
1536
+ '$.xgafv'?: '1' | '2';
1167
1537
  /** OAuth access token. */
1168
1538
  access_token?: string;
1169
1539
  /** Data format for response. */
1170
- alt?: string;
1540
+ alt?: 'json' | 'media' | 'proto';
1171
1541
  /** JSONP */
1172
1542
  callback?: string;
1173
1543
  /** Selector specifying which fields to include in a partial response. */
@@ -1194,11 +1564,11 @@ declare namespace gapi.client {
1194
1564
  /** Creates a new EkmConnection in a given Project and Location. */
1195
1565
  create(request: {
1196
1566
  /** V1 error format. */
1197
- '$.xgafv'?: string;
1567
+ '$.xgafv'?: '1' | '2';
1198
1568
  /** OAuth access token. */
1199
1569
  access_token?: string;
1200
1570
  /** Data format for response. */
1201
- alt?: string;
1571
+ alt?: 'json' | 'media' | 'proto';
1202
1572
  /** JSONP */
1203
1573
  callback?: string;
1204
1574
  /** Required. It must be unique within a location and match the regular expression `[a-zA-Z0-9_-]{1,63}`. */
@@ -1225,11 +1595,11 @@ declare namespace gapi.client {
1225
1595
  create(
1226
1596
  request: {
1227
1597
  /** V1 error format. */
1228
- '$.xgafv'?: string;
1598
+ '$.xgafv'?: '1' | '2';
1229
1599
  /** OAuth access token. */
1230
1600
  access_token?: string;
1231
1601
  /** Data format for response. */
1232
- alt?: string;
1602
+ alt?: 'json' | 'media' | 'proto';
1233
1603
  /** JSONP */
1234
1604
  callback?: string;
1235
1605
  /** Required. It must be unique within a location and match the regular expression `[a-zA-Z0-9_-]{1,63}`. */
@@ -1256,11 +1626,11 @@ declare namespace gapi.client {
1256
1626
  /** Returns metadata for a given EkmConnection. */
1257
1627
  get(request?: {
1258
1628
  /** V1 error format. */
1259
- '$.xgafv'?: string;
1629
+ '$.xgafv'?: '1' | '2';
1260
1630
  /** OAuth access token. */
1261
1631
  access_token?: string;
1262
1632
  /** Data format for response. */
1263
- alt?: string;
1633
+ alt?: 'json' | 'media' | 'proto';
1264
1634
  /** JSONP */
1265
1635
  callback?: string;
1266
1636
  /** Selector specifying which fields to include in a partial response. */
@@ -1283,11 +1653,11 @@ declare namespace gapi.client {
1283
1653
  /** Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set. */
1284
1654
  getIamPolicy(request?: {
1285
1655
  /** V1 error format. */
1286
- '$.xgafv'?: string;
1656
+ '$.xgafv'?: '1' | '2';
1287
1657
  /** OAuth access token. */
1288
1658
  access_token?: string;
1289
1659
  /** Data format for response. */
1290
- alt?: string;
1660
+ alt?: 'json' | 'media' | 'proto';
1291
1661
  /** JSONP */
1292
1662
  callback?: string;
1293
1663
  /** Selector specifying which fields to include in a partial response. */
@@ -1312,11 +1682,11 @@ declare namespace gapi.client {
1312
1682
  /** Lists EkmConnections. */
1313
1683
  list(request?: {
1314
1684
  /** V1 error format. */
1315
- '$.xgafv'?: string;
1685
+ '$.xgafv'?: '1' | '2';
1316
1686
  /** OAuth access token. */
1317
1687
  access_token?: string;
1318
1688
  /** Data format for response. */
1319
- alt?: string;
1689
+ alt?: 'json' | 'media' | 'proto';
1320
1690
  /** JSONP */
1321
1691
  callback?: string;
1322
1692
  /** Selector specifying which fields to include in a partial response. */
@@ -1347,11 +1717,11 @@ declare namespace gapi.client {
1347
1717
  /** Updates an EkmConnection's metadata. */
1348
1718
  patch(request: {
1349
1719
  /** V1 error format. */
1350
- '$.xgafv'?: string;
1720
+ '$.xgafv'?: '1' | '2';
1351
1721
  /** OAuth access token. */
1352
1722
  access_token?: string;
1353
1723
  /** Data format for response. */
1354
- alt?: string;
1724
+ alt?: 'json' | 'media' | 'proto';
1355
1725
  /** JSONP */
1356
1726
  callback?: string;
1357
1727
  /** Selector specifying which fields to include in a partial response. */
@@ -1378,11 +1748,11 @@ declare namespace gapi.client {
1378
1748
  patch(
1379
1749
  request: {
1380
1750
  /** V1 error format. */
1381
- '$.xgafv'?: string;
1751
+ '$.xgafv'?: '1' | '2';
1382
1752
  /** OAuth access token. */
1383
1753
  access_token?: string;
1384
1754
  /** Data format for response. */
1385
- alt?: string;
1755
+ alt?: 'json' | 'media' | 'proto';
1386
1756
  /** JSONP */
1387
1757
  callback?: string;
1388
1758
  /** Selector specifying which fields to include in a partial response. */
@@ -1410,11 +1780,11 @@ declare namespace gapi.client {
1410
1780
  setIamPolicy(
1411
1781
  request: {
1412
1782
  /** V1 error format. */
1413
- '$.xgafv'?: string;
1783
+ '$.xgafv'?: '1' | '2';
1414
1784
  /** OAuth access token. */
1415
1785
  access_token?: string;
1416
1786
  /** Data format for response. */
1417
- alt?: string;
1787
+ alt?: 'json' | 'media' | 'proto';
1418
1788
  /** JSONP */
1419
1789
  callback?: string;
1420
1790
  /** Selector specifying which fields to include in a partial response. */
@@ -1440,11 +1810,11 @@ declare namespace gapi.client {
1440
1810
  testIamPermissions(
1441
1811
  request: {
1442
1812
  /** V1 error format. */
1443
- '$.xgafv'?: string;
1813
+ '$.xgafv'?: '1' | '2';
1444
1814
  /** OAuth access token. */
1445
1815
  access_token?: string;
1446
1816
  /** Data format for response. */
1447
- alt?: string;
1817
+ alt?: 'json' | 'media' | 'proto';
1448
1818
  /** JSONP */
1449
1819
  callback?: string;
1450
1820
  /** Selector specifying which fields to include in a partial response. */
@@ -1469,11 +1839,11 @@ declare namespace gapi.client {
1469
1839
  /** Verifies that Cloud KMS can successfully connect to the external key manager specified by an EkmConnection. If there is an error connecting to the EKM, this method returns a FAILED_PRECONDITION status containing structured information as described at https://cloud.google.com/kms/docs/reference/ekm_errors. */
1470
1840
  verifyConnectivity(request?: {
1471
1841
  /** V1 error format. */
1472
- '$.xgafv'?: string;
1842
+ '$.xgafv'?: '1' | '2';
1473
1843
  /** OAuth access token. */
1474
1844
  access_token?: string;
1475
1845
  /** Data format for response. */
1476
- alt?: string;
1846
+ alt?: 'json' | 'media' | 'proto';
1477
1847
  /** JSONP */
1478
1848
  callback?: string;
1479
1849
  /** Selector specifying which fields to include in a partial response. */
@@ -1498,11 +1868,11 @@ declare namespace gapi.client {
1498
1868
  /** Creates a new KeyHandle, triggering the provisioning of a new CryptoKey for CMEK use with the given resource type in the configured key project and the same location. GetOperation should be used to resolve the resulting long-running operation and get the resulting KeyHandle and CryptoKey. */
1499
1869
  create(request: {
1500
1870
  /** V1 error format. */
1501
- '$.xgafv'?: string;
1871
+ '$.xgafv'?: '1' | '2';
1502
1872
  /** OAuth access token. */
1503
1873
  access_token?: string;
1504
1874
  /** Data format for response. */
1505
- alt?: string;
1875
+ alt?: 'json' | 'media' | 'proto';
1506
1876
  /** JSONP */
1507
1877
  callback?: string;
1508
1878
  /** Selector specifying which fields to include in a partial response. */
@@ -1529,11 +1899,11 @@ declare namespace gapi.client {
1529
1899
  create(
1530
1900
  request: {
1531
1901
  /** V1 error format. */
1532
- '$.xgafv'?: string;
1902
+ '$.xgafv'?: '1' | '2';
1533
1903
  /** OAuth access token. */
1534
1904
  access_token?: string;
1535
1905
  /** Data format for response. */
1536
- alt?: string;
1906
+ alt?: 'json' | 'media' | 'proto';
1537
1907
  /** JSONP */
1538
1908
  callback?: string;
1539
1909
  /** Selector specifying which fields to include in a partial response. */
@@ -1560,11 +1930,11 @@ declare namespace gapi.client {
1560
1930
  /** Returns the KeyHandle. */
1561
1931
  get(request?: {
1562
1932
  /** V1 error format. */
1563
- '$.xgafv'?: string;
1933
+ '$.xgafv'?: '1' | '2';
1564
1934
  /** OAuth access token. */
1565
1935
  access_token?: string;
1566
1936
  /** Data format for response. */
1567
- alt?: string;
1937
+ alt?: 'json' | 'media' | 'proto';
1568
1938
  /** JSONP */
1569
1939
  callback?: string;
1570
1940
  /** Selector specifying which fields to include in a partial response. */
@@ -1587,11 +1957,11 @@ declare namespace gapi.client {
1587
1957
  /** Lists KeyHandles. */
1588
1958
  list(request?: {
1589
1959
  /** V1 error format. */
1590
- '$.xgafv'?: string;
1960
+ '$.xgafv'?: '1' | '2';
1591
1961
  /** OAuth access token. */
1592
1962
  access_token?: string;
1593
1963
  /** Data format for response. */
1594
- alt?: string;
1964
+ alt?: 'json' | 'media' | 'proto';
1595
1965
  /** JSONP */
1596
1966
  callback?: string;
1597
1967
  /** Selector specifying which fields to include in a partial response. */
@@ -1622,11 +1992,11 @@ declare namespace gapi.client {
1622
1992
  /** Decrypts data that was encrypted with a public key retrieved from GetPublicKey corresponding to a CryptoKeyVersion with CryptoKey.purpose ASYMMETRIC_DECRYPT. */
1623
1993
  asymmetricDecrypt(request: {
1624
1994
  /** V1 error format. */
1625
- '$.xgafv'?: string;
1995
+ '$.xgafv'?: '1' | '2';
1626
1996
  /** OAuth access token. */
1627
1997
  access_token?: string;
1628
1998
  /** Data format for response. */
1629
- alt?: string;
1999
+ alt?: 'json' | 'media' | 'proto';
1630
2000
  /** JSONP */
1631
2001
  callback?: string;
1632
2002
  /** Selector specifying which fields to include in a partial response. */
@@ -1651,11 +2021,11 @@ declare namespace gapi.client {
1651
2021
  asymmetricDecrypt(
1652
2022
  request: {
1653
2023
  /** V1 error format. */
1654
- '$.xgafv'?: string;
2024
+ '$.xgafv'?: '1' | '2';
1655
2025
  /** OAuth access token. */
1656
2026
  access_token?: string;
1657
2027
  /** Data format for response. */
1658
- alt?: string;
2028
+ alt?: 'json' | 'media' | 'proto';
1659
2029
  /** JSONP */
1660
2030
  callback?: string;
1661
2031
  /** Selector specifying which fields to include in a partial response. */
@@ -1680,11 +2050,11 @@ declare namespace gapi.client {
1680
2050
  /** Signs data using a CryptoKeyVersion with CryptoKey.purpose ASYMMETRIC_SIGN, producing a signature that can be verified with the public key retrieved from GetPublicKey. */
1681
2051
  asymmetricSign(request: {
1682
2052
  /** V1 error format. */
1683
- '$.xgafv'?: string;
2053
+ '$.xgafv'?: '1' | '2';
1684
2054
  /** OAuth access token. */
1685
2055
  access_token?: string;
1686
2056
  /** Data format for response. */
1687
- alt?: string;
2057
+ alt?: 'json' | 'media' | 'proto';
1688
2058
  /** JSONP */
1689
2059
  callback?: string;
1690
2060
  /** Selector specifying which fields to include in a partial response. */
@@ -1709,11 +2079,11 @@ declare namespace gapi.client {
1709
2079
  asymmetricSign(
1710
2080
  request: {
1711
2081
  /** V1 error format. */
1712
- '$.xgafv'?: string;
2082
+ '$.xgafv'?: '1' | '2';
1713
2083
  /** OAuth access token. */
1714
2084
  access_token?: string;
1715
2085
  /** Data format for response. */
1716
- alt?: string;
2086
+ alt?: 'json' | 'media' | 'proto';
1717
2087
  /** JSONP */
1718
2088
  callback?: string;
1719
2089
  /** Selector specifying which fields to include in a partial response. */
@@ -1738,11 +2108,11 @@ declare namespace gapi.client {
1738
2108
  /** Create a new CryptoKeyVersion in a CryptoKey. The server will assign the next sequential id. If unset, state will be set to ENABLED. */
1739
2109
  create(request: {
1740
2110
  /** V1 error format. */
1741
- '$.xgafv'?: string;
2111
+ '$.xgafv'?: '1' | '2';
1742
2112
  /** OAuth access token. */
1743
2113
  access_token?: string;
1744
2114
  /** Data format for response. */
1745
- alt?: string;
2115
+ alt?: 'json' | 'media' | 'proto';
1746
2116
  /** JSONP */
1747
2117
  callback?: string;
1748
2118
  /** Selector specifying which fields to include in a partial response. */
@@ -1767,11 +2137,11 @@ declare namespace gapi.client {
1767
2137
  create(
1768
2138
  request: {
1769
2139
  /** V1 error format. */
1770
- '$.xgafv'?: string;
2140
+ '$.xgafv'?: '1' | '2';
1771
2141
  /** OAuth access token. */
1772
2142
  access_token?: string;
1773
2143
  /** Data format for response. */
1774
- alt?: string;
2144
+ alt?: 'json' | 'media' | 'proto';
1775
2145
  /** JSONP */
1776
2146
  callback?: string;
1777
2147
  /** Selector specifying which fields to include in a partial response. */
@@ -1796,11 +2166,11 @@ declare namespace gapi.client {
1796
2166
  /** Decapsulates data that was encapsulated with a public key retrieved from GetPublicKey corresponding to a CryptoKeyVersion with CryptoKey.purpose KEY_ENCAPSULATION. */
1797
2167
  decapsulate(request: {
1798
2168
  /** V1 error format. */
1799
- '$.xgafv'?: string;
2169
+ '$.xgafv'?: '1' | '2';
1800
2170
  /** OAuth access token. */
1801
2171
  access_token?: string;
1802
2172
  /** Data format for response. */
1803
- alt?: string;
2173
+ alt?: 'json' | 'media' | 'proto';
1804
2174
  /** JSONP */
1805
2175
  callback?: string;
1806
2176
  /** Selector specifying which fields to include in a partial response. */
@@ -1825,11 +2195,11 @@ declare namespace gapi.client {
1825
2195
  decapsulate(
1826
2196
  request: {
1827
2197
  /** V1 error format. */
1828
- '$.xgafv'?: string;
2198
+ '$.xgafv'?: '1' | '2';
1829
2199
  /** OAuth access token. */
1830
2200
  access_token?: string;
1831
2201
  /** Data format for response. */
1832
- alt?: string;
2202
+ alt?: 'json' | 'media' | 'proto';
1833
2203
  /** JSONP */
1834
2204
  callback?: string;
1835
2205
  /** Selector specifying which fields to include in a partial response. */
@@ -1854,11 +2224,11 @@ declare namespace gapi.client {
1854
2224
  /** Permanently deletes the given CryptoKeyVersion. Only possible if the version has not been previously imported and if its state is one of DESTROYED, IMPORT_FAILED, or GENERATION_FAILED. Successfully imported CryptoKeyVersions cannot be deleted at this time. The specified version will be immediately and permanently deleted upon calling this method. This action cannot be undone. */
1855
2225
  delete(request?: {
1856
2226
  /** V1 error format. */
1857
- '$.xgafv'?: string;
2227
+ '$.xgafv'?: '1' | '2';
1858
2228
  /** OAuth access token. */
1859
2229
  access_token?: string;
1860
2230
  /** Data format for response. */
1861
- alt?: string;
2231
+ alt?: 'json' | 'media' | 'proto';
1862
2232
  /** JSONP */
1863
2233
  callback?: string;
1864
2234
  /** Selector specifying which fields to include in a partial response. */
@@ -1881,11 +2251,11 @@ declare namespace gapi.client {
1881
2251
  /** Schedule a CryptoKeyVersion for destruction. Upon calling this method, CryptoKeyVersion.state will be set to DESTROY_SCHEDULED, and destroy_time will be set to the time destroy_scheduled_duration in the future. At that time, the state will automatically change to DESTROYED, and the key material will be irrevocably destroyed. Before the destroy_time is reached, RestoreCryptoKeyVersion may be called to reverse the process. */
1882
2252
  destroy(request: {
1883
2253
  /** V1 error format. */
1884
- '$.xgafv'?: string;
2254
+ '$.xgafv'?: '1' | '2';
1885
2255
  /** OAuth access token. */
1886
2256
  access_token?: string;
1887
2257
  /** Data format for response. */
1888
- alt?: string;
2258
+ alt?: 'json' | 'media' | 'proto';
1889
2259
  /** JSONP */
1890
2260
  callback?: string;
1891
2261
  /** Selector specifying which fields to include in a partial response. */
@@ -1910,11 +2280,11 @@ declare namespace gapi.client {
1910
2280
  destroy(
1911
2281
  request: {
1912
2282
  /** V1 error format. */
1913
- '$.xgafv'?: string;
2283
+ '$.xgafv'?: '1' | '2';
1914
2284
  /** OAuth access token. */
1915
2285
  access_token?: string;
1916
2286
  /** Data format for response. */
1917
- alt?: string;
2287
+ alt?: 'json' | 'media' | 'proto';
1918
2288
  /** JSONP */
1919
2289
  callback?: string;
1920
2290
  /** Selector specifying which fields to include in a partial response. */
@@ -1939,11 +2309,11 @@ declare namespace gapi.client {
1939
2309
  /** Returns metadata for a given CryptoKeyVersion. */
1940
2310
  get(request?: {
1941
2311
  /** V1 error format. */
1942
- '$.xgafv'?: string;
2312
+ '$.xgafv'?: '1' | '2';
1943
2313
  /** OAuth access token. */
1944
2314
  access_token?: string;
1945
2315
  /** Data format for response. */
1946
- alt?: string;
2316
+ alt?: 'json' | 'media' | 'proto';
1947
2317
  /** JSONP */
1948
2318
  callback?: string;
1949
2319
  /** Selector specifying which fields to include in a partial response. */
@@ -1966,11 +2336,11 @@ declare namespace gapi.client {
1966
2336
  /** Returns the public key for the given CryptoKeyVersion. The CryptoKey.purpose must be ASYMMETRIC_SIGN or ASYMMETRIC_DECRYPT. */
1967
2337
  getPublicKey(request?: {
1968
2338
  /** V1 error format. */
1969
- '$.xgafv'?: string;
2339
+ '$.xgafv'?: '1' | '2';
1970
2340
  /** OAuth access token. */
1971
2341
  access_token?: string;
1972
2342
  /** Data format for response. */
1973
- alt?: string;
2343
+ alt?: 'json' | 'media' | 'proto';
1974
2344
  /** JSONP */
1975
2345
  callback?: string;
1976
2346
  /** Selector specifying which fields to include in a partial response. */
@@ -1984,7 +2354,12 @@ declare namespace gapi.client {
1984
2354
  /** Returns response with indentations and line breaks. */
1985
2355
  prettyPrint?: boolean;
1986
2356
  /** Optional. The PublicKey format specified by the user. This field is required for PQC algorithms. If specified, the public key will be exported through the public_key field in the requested format. Otherwise, the pem field will be populated for non-PQC algorithms, and an error will be returned for PQC algorithms. */
1987
- publicKeyFormat?: string;
2357
+ publicKeyFormat?:
2358
+ | 'PUBLIC_KEY_FORMAT_UNSPECIFIED'
2359
+ | 'PEM'
2360
+ | 'DER'
2361
+ | 'NIST_PQC'
2362
+ | 'XWING_RAW_BYTES';
1988
2363
  /** 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. */
1989
2364
  quotaUser?: string;
1990
2365
  /** Upload protocol for media (e.g. "raw", "multipart"). */
@@ -1995,11 +2370,11 @@ declare namespace gapi.client {
1995
2370
  /** Import wrapped key material into a CryptoKeyVersion. All requests must specify a CryptoKey. If a CryptoKeyVersion is additionally specified in the request, key material will be reimported into that version. Otherwise, a new version will be created, and will be assigned the next sequential id within the CryptoKey. */
1996
2371
  import(request: {
1997
2372
  /** V1 error format. */
1998
- '$.xgafv'?: string;
2373
+ '$.xgafv'?: '1' | '2';
1999
2374
  /** OAuth access token. */
2000
2375
  access_token?: string;
2001
2376
  /** Data format for response. */
2002
- alt?: string;
2377
+ alt?: 'json' | 'media' | 'proto';
2003
2378
  /** JSONP */
2004
2379
  callback?: string;
2005
2380
  /** Selector specifying which fields to include in a partial response. */
@@ -2024,11 +2399,11 @@ declare namespace gapi.client {
2024
2399
  import(
2025
2400
  request: {
2026
2401
  /** V1 error format. */
2027
- '$.xgafv'?: string;
2402
+ '$.xgafv'?: '1' | '2';
2028
2403
  /** OAuth access token. */
2029
2404
  access_token?: string;
2030
2405
  /** Data format for response. */
2031
- alt?: string;
2406
+ alt?: 'json' | 'media' | 'proto';
2032
2407
  /** JSONP */
2033
2408
  callback?: string;
2034
2409
  /** Selector specifying which fields to include in a partial response. */
@@ -2053,11 +2428,11 @@ declare namespace gapi.client {
2053
2428
  /** Lists CryptoKeyVersions. */
2054
2429
  list(request?: {
2055
2430
  /** V1 error format. */
2056
- '$.xgafv'?: string;
2431
+ '$.xgafv'?: '1' | '2';
2057
2432
  /** OAuth access token. */
2058
2433
  access_token?: string;
2059
2434
  /** Data format for response. */
2060
- alt?: string;
2435
+ alt?: 'json' | 'media' | 'proto';
2061
2436
  /** JSONP */
2062
2437
  callback?: string;
2063
2438
  /** Selector specifying which fields to include in a partial response. */
@@ -2085,16 +2460,16 @@ declare namespace gapi.client {
2085
2460
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
2086
2461
  uploadType?: string;
2087
2462
  /** The fields to include in the response. */
2088
- view?: string;
2463
+ view?: 'CRYPTO_KEY_VERSION_VIEW_UNSPECIFIED' | 'FULL';
2089
2464
  }): Request<ListCryptoKeyVersionsResponse>;
2090
2465
  /** Signs data using a CryptoKeyVersion with CryptoKey.purpose MAC, producing a tag that can be verified by another source with the same key. */
2091
2466
  macSign(request: {
2092
2467
  /** V1 error format. */
2093
- '$.xgafv'?: string;
2468
+ '$.xgafv'?: '1' | '2';
2094
2469
  /** OAuth access token. */
2095
2470
  access_token?: string;
2096
2471
  /** Data format for response. */
2097
- alt?: string;
2472
+ alt?: 'json' | 'media' | 'proto';
2098
2473
  /** JSONP */
2099
2474
  callback?: string;
2100
2475
  /** Selector specifying which fields to include in a partial response. */
@@ -2119,11 +2494,11 @@ declare namespace gapi.client {
2119
2494
  macSign(
2120
2495
  request: {
2121
2496
  /** V1 error format. */
2122
- '$.xgafv'?: string;
2497
+ '$.xgafv'?: '1' | '2';
2123
2498
  /** OAuth access token. */
2124
2499
  access_token?: string;
2125
2500
  /** Data format for response. */
2126
- alt?: string;
2501
+ alt?: 'json' | 'media' | 'proto';
2127
2502
  /** JSONP */
2128
2503
  callback?: string;
2129
2504
  /** Selector specifying which fields to include in a partial response. */
@@ -2148,11 +2523,11 @@ declare namespace gapi.client {
2148
2523
  /** Verifies MAC tag using a CryptoKeyVersion with CryptoKey.purpose MAC, and returns a response that indicates whether or not the verification was successful. */
2149
2524
  macVerify(request: {
2150
2525
  /** V1 error format. */
2151
- '$.xgafv'?: string;
2526
+ '$.xgafv'?: '1' | '2';
2152
2527
  /** OAuth access token. */
2153
2528
  access_token?: string;
2154
2529
  /** Data format for response. */
2155
- alt?: string;
2530
+ alt?: 'json' | 'media' | 'proto';
2156
2531
  /** JSONP */
2157
2532
  callback?: string;
2158
2533
  /** Selector specifying which fields to include in a partial response. */
@@ -2177,11 +2552,11 @@ declare namespace gapi.client {
2177
2552
  macVerify(
2178
2553
  request: {
2179
2554
  /** V1 error format. */
2180
- '$.xgafv'?: string;
2555
+ '$.xgafv'?: '1' | '2';
2181
2556
  /** OAuth access token. */
2182
2557
  access_token?: string;
2183
2558
  /** Data format for response. */
2184
- alt?: string;
2559
+ alt?: 'json' | 'media' | 'proto';
2185
2560
  /** JSONP */
2186
2561
  callback?: string;
2187
2562
  /** Selector specifying which fields to include in a partial response. */
@@ -2206,11 +2581,11 @@ declare namespace gapi.client {
2206
2581
  /** Update a CryptoKeyVersion's metadata. state may be changed between ENABLED and DISABLED using this method. See DestroyCryptoKeyVersion and RestoreCryptoKeyVersion to move between other states. */
2207
2582
  patch(request: {
2208
2583
  /** V1 error format. */
2209
- '$.xgafv'?: string;
2584
+ '$.xgafv'?: '1' | '2';
2210
2585
  /** OAuth access token. */
2211
2586
  access_token?: string;
2212
2587
  /** Data format for response. */
2213
- alt?: string;
2588
+ alt?: 'json' | 'media' | 'proto';
2214
2589
  /** JSONP */
2215
2590
  callback?: string;
2216
2591
  /** Selector specifying which fields to include in a partial response. */
@@ -2237,11 +2612,11 @@ declare namespace gapi.client {
2237
2612
  patch(
2238
2613
  request: {
2239
2614
  /** V1 error format. */
2240
- '$.xgafv'?: string;
2615
+ '$.xgafv'?: '1' | '2';
2241
2616
  /** OAuth access token. */
2242
2617
  access_token?: string;
2243
2618
  /** Data format for response. */
2244
- alt?: string;
2619
+ alt?: 'json' | 'media' | 'proto';
2245
2620
  /** JSONP */
2246
2621
  callback?: string;
2247
2622
  /** Selector specifying which fields to include in a partial response. */
@@ -2268,11 +2643,11 @@ declare namespace gapi.client {
2268
2643
  /** Decrypts data that was originally encrypted using a raw cryptographic mechanism. The CryptoKey.purpose must be RAW_ENCRYPT_DECRYPT. */
2269
2644
  rawDecrypt(request: {
2270
2645
  /** V1 error format. */
2271
- '$.xgafv'?: string;
2646
+ '$.xgafv'?: '1' | '2';
2272
2647
  /** OAuth access token. */
2273
2648
  access_token?: string;
2274
2649
  /** Data format for response. */
2275
- alt?: string;
2650
+ alt?: 'json' | 'media' | 'proto';
2276
2651
  /** JSONP */
2277
2652
  callback?: string;
2278
2653
  /** Selector specifying which fields to include in a partial response. */
@@ -2297,11 +2672,11 @@ declare namespace gapi.client {
2297
2672
  rawDecrypt(
2298
2673
  request: {
2299
2674
  /** V1 error format. */
2300
- '$.xgafv'?: string;
2675
+ '$.xgafv'?: '1' | '2';
2301
2676
  /** OAuth access token. */
2302
2677
  access_token?: string;
2303
2678
  /** Data format for response. */
2304
- alt?: string;
2679
+ alt?: 'json' | 'media' | 'proto';
2305
2680
  /** JSONP */
2306
2681
  callback?: string;
2307
2682
  /** Selector specifying which fields to include in a partial response. */
@@ -2326,11 +2701,11 @@ declare namespace gapi.client {
2326
2701
  /** Encrypts data using portable cryptographic primitives. Most users should choose Encrypt and Decrypt rather than their raw counterparts. The CryptoKey.purpose must be RAW_ENCRYPT_DECRYPT. */
2327
2702
  rawEncrypt(request: {
2328
2703
  /** V1 error format. */
2329
- '$.xgafv'?: string;
2704
+ '$.xgafv'?: '1' | '2';
2330
2705
  /** OAuth access token. */
2331
2706
  access_token?: string;
2332
2707
  /** Data format for response. */
2333
- alt?: string;
2708
+ alt?: 'json' | 'media' | 'proto';
2334
2709
  /** JSONP */
2335
2710
  callback?: string;
2336
2711
  /** Selector specifying which fields to include in a partial response. */
@@ -2355,11 +2730,11 @@ declare namespace gapi.client {
2355
2730
  rawEncrypt(
2356
2731
  request: {
2357
2732
  /** V1 error format. */
2358
- '$.xgafv'?: string;
2733
+ '$.xgafv'?: '1' | '2';
2359
2734
  /** OAuth access token. */
2360
2735
  access_token?: string;
2361
2736
  /** Data format for response. */
2362
- alt?: string;
2737
+ alt?: 'json' | 'media' | 'proto';
2363
2738
  /** JSONP */
2364
2739
  callback?: string;
2365
2740
  /** Selector specifying which fields to include in a partial response. */
@@ -2384,11 +2759,11 @@ declare namespace gapi.client {
2384
2759
  /** Restore a CryptoKeyVersion in the DESTROY_SCHEDULED state. Upon restoration of the CryptoKeyVersion, state will be set to DISABLED, and destroy_time will be cleared. */
2385
2760
  restore(request: {
2386
2761
  /** V1 error format. */
2387
- '$.xgafv'?: string;
2762
+ '$.xgafv'?: '1' | '2';
2388
2763
  /** OAuth access token. */
2389
2764
  access_token?: string;
2390
2765
  /** Data format for response. */
2391
- alt?: string;
2766
+ alt?: 'json' | 'media' | 'proto';
2392
2767
  /** JSONP */
2393
2768
  callback?: string;
2394
2769
  /** Selector specifying which fields to include in a partial response. */
@@ -2413,11 +2788,11 @@ declare namespace gapi.client {
2413
2788
  restore(
2414
2789
  request: {
2415
2790
  /** V1 error format. */
2416
- '$.xgafv'?: string;
2791
+ '$.xgafv'?: '1' | '2';
2417
2792
  /** OAuth access token. */
2418
2793
  access_token?: string;
2419
2794
  /** Data format for response. */
2420
- alt?: string;
2795
+ alt?: 'json' | 'media' | 'proto';
2421
2796
  /** JSONP */
2422
2797
  callback?: string;
2423
2798
  /** Selector specifying which fields to include in a partial response. */
@@ -2444,11 +2819,11 @@ declare namespace gapi.client {
2444
2819
  /** Create a new CryptoKey within a KeyRing. CryptoKey.purpose and CryptoKey.version_template.algorithm are required. */
2445
2820
  create(request: {
2446
2821
  /** V1 error format. */
2447
- '$.xgafv'?: string;
2822
+ '$.xgafv'?: '1' | '2';
2448
2823
  /** OAuth access token. */
2449
2824
  access_token?: string;
2450
2825
  /** Data format for response. */
2451
- alt?: string;
2826
+ alt?: 'json' | 'media' | 'proto';
2452
2827
  /** JSONP */
2453
2828
  callback?: string;
2454
2829
  /** Required. It must be unique within a KeyRing and match the regular expression `[a-zA-Z0-9_-]{1,63}` */
@@ -2477,11 +2852,11 @@ declare namespace gapi.client {
2477
2852
  create(
2478
2853
  request: {
2479
2854
  /** V1 error format. */
2480
- '$.xgafv'?: string;
2855
+ '$.xgafv'?: '1' | '2';
2481
2856
  /** OAuth access token. */
2482
2857
  access_token?: string;
2483
2858
  /** Data format for response. */
2484
- alt?: string;
2859
+ alt?: 'json' | 'media' | 'proto';
2485
2860
  /** JSONP */
2486
2861
  callback?: string;
2487
2862
  /** Required. It must be unique within a KeyRing and match the regular expression `[a-zA-Z0-9_-]{1,63}` */
@@ -2510,11 +2885,11 @@ declare namespace gapi.client {
2510
2885
  /** Decrypts data that was protected by Encrypt. The CryptoKey.purpose must be ENCRYPT_DECRYPT. */
2511
2886
  decrypt(request: {
2512
2887
  /** V1 error format. */
2513
- '$.xgafv'?: string;
2888
+ '$.xgafv'?: '1' | '2';
2514
2889
  /** OAuth access token. */
2515
2890
  access_token?: string;
2516
2891
  /** Data format for response. */
2517
- alt?: string;
2892
+ alt?: 'json' | 'media' | 'proto';
2518
2893
  /** JSONP */
2519
2894
  callback?: string;
2520
2895
  /** Selector specifying which fields to include in a partial response. */
@@ -2539,11 +2914,11 @@ declare namespace gapi.client {
2539
2914
  decrypt(
2540
2915
  request: {
2541
2916
  /** V1 error format. */
2542
- '$.xgafv'?: string;
2917
+ '$.xgafv'?: '1' | '2';
2543
2918
  /** OAuth access token. */
2544
2919
  access_token?: string;
2545
2920
  /** Data format for response. */
2546
- alt?: string;
2921
+ alt?: 'json' | 'media' | 'proto';
2547
2922
  /** JSONP */
2548
2923
  callback?: string;
2549
2924
  /** Selector specifying which fields to include in a partial response. */
@@ -2568,11 +2943,11 @@ declare namespace gapi.client {
2568
2943
  /** Permanently deletes the given CryptoKey. All child CryptoKeyVersions must have been previously deleted using KeyManagementService.DeleteCryptoKeyVersion. The specified crypto key will be immediately and permanently deleted upon calling this method. This action cannot be undone. */
2569
2944
  delete(request?: {
2570
2945
  /** V1 error format. */
2571
- '$.xgafv'?: string;
2946
+ '$.xgafv'?: '1' | '2';
2572
2947
  /** OAuth access token. */
2573
2948
  access_token?: string;
2574
2949
  /** Data format for response. */
2575
- alt?: string;
2950
+ alt?: 'json' | 'media' | 'proto';
2576
2951
  /** JSONP */
2577
2952
  callback?: string;
2578
2953
  /** Selector specifying which fields to include in a partial response. */
@@ -2595,11 +2970,11 @@ declare namespace gapi.client {
2595
2970
  /** Encrypts data, so that it can only be recovered by a call to Decrypt. The CryptoKey.purpose must be ENCRYPT_DECRYPT. */
2596
2971
  encrypt(request: {
2597
2972
  /** V1 error format. */
2598
- '$.xgafv'?: string;
2973
+ '$.xgafv'?: '1' | '2';
2599
2974
  /** OAuth access token. */
2600
2975
  access_token?: string;
2601
2976
  /** Data format for response. */
2602
- alt?: string;
2977
+ alt?: 'json' | 'media' | 'proto';
2603
2978
  /** JSONP */
2604
2979
  callback?: string;
2605
2980
  /** Selector specifying which fields to include in a partial response. */
@@ -2624,11 +2999,11 @@ declare namespace gapi.client {
2624
2999
  encrypt(
2625
3000
  request: {
2626
3001
  /** V1 error format. */
2627
- '$.xgafv'?: string;
3002
+ '$.xgafv'?: '1' | '2';
2628
3003
  /** OAuth access token. */
2629
3004
  access_token?: string;
2630
3005
  /** Data format for response. */
2631
- alt?: string;
3006
+ alt?: 'json' | 'media' | 'proto';
2632
3007
  /** JSONP */
2633
3008
  callback?: string;
2634
3009
  /** Selector specifying which fields to include in a partial response. */
@@ -2653,11 +3028,11 @@ declare namespace gapi.client {
2653
3028
  /** Returns metadata for a given CryptoKey, as well as its primary CryptoKeyVersion. */
2654
3029
  get(request?: {
2655
3030
  /** V1 error format. */
2656
- '$.xgafv'?: string;
3031
+ '$.xgafv'?: '1' | '2';
2657
3032
  /** OAuth access token. */
2658
3033
  access_token?: string;
2659
3034
  /** Data format for response. */
2660
- alt?: string;
3035
+ alt?: 'json' | 'media' | 'proto';
2661
3036
  /** JSONP */
2662
3037
  callback?: string;
2663
3038
  /** Selector specifying which fields to include in a partial response. */
@@ -2680,11 +3055,11 @@ declare namespace gapi.client {
2680
3055
  /** Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set. */
2681
3056
  getIamPolicy(request?: {
2682
3057
  /** V1 error format. */
2683
- '$.xgafv'?: string;
3058
+ '$.xgafv'?: '1' | '2';
2684
3059
  /** OAuth access token. */
2685
3060
  access_token?: string;
2686
3061
  /** Data format for response. */
2687
- alt?: string;
3062
+ alt?: 'json' | 'media' | 'proto';
2688
3063
  /** JSONP */
2689
3064
  callback?: string;
2690
3065
  /** Selector specifying which fields to include in a partial response. */
@@ -2709,11 +3084,11 @@ declare namespace gapi.client {
2709
3084
  /** Lists CryptoKeys. */
2710
3085
  list(request?: {
2711
3086
  /** V1 error format. */
2712
- '$.xgafv'?: string;
3087
+ '$.xgafv'?: '1' | '2';
2713
3088
  /** OAuth access token. */
2714
3089
  access_token?: string;
2715
3090
  /** Data format for response. */
2716
- alt?: string;
3091
+ alt?: 'json' | 'media' | 'proto';
2717
3092
  /** JSONP */
2718
3093
  callback?: string;
2719
3094
  /** Selector specifying which fields to include in a partial response. */
@@ -2741,16 +3116,16 @@ declare namespace gapi.client {
2741
3116
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
2742
3117
  uploadType?: string;
2743
3118
  /** The fields of the primary version to include in the response. */
2744
- versionView?: string;
3119
+ versionView?: 'CRYPTO_KEY_VERSION_VIEW_UNSPECIFIED' | 'FULL';
2745
3120
  }): Request<ListCryptoKeysResponse>;
2746
3121
  /** Update a CryptoKey. */
2747
3122
  patch(request: {
2748
3123
  /** V1 error format. */
2749
- '$.xgafv'?: string;
3124
+ '$.xgafv'?: '1' | '2';
2750
3125
  /** OAuth access token. */
2751
3126
  access_token?: string;
2752
3127
  /** Data format for response. */
2753
- alt?: string;
3128
+ alt?: 'json' | 'media' | 'proto';
2754
3129
  /** JSONP */
2755
3130
  callback?: string;
2756
3131
  /** Selector specifying which fields to include in a partial response. */
@@ -2777,11 +3152,11 @@ declare namespace gapi.client {
2777
3152
  patch(
2778
3153
  request: {
2779
3154
  /** V1 error format. */
2780
- '$.xgafv'?: string;
3155
+ '$.xgafv'?: '1' | '2';
2781
3156
  /** OAuth access token. */
2782
3157
  access_token?: string;
2783
3158
  /** Data format for response. */
2784
- alt?: string;
3159
+ alt?: 'json' | 'media' | 'proto';
2785
3160
  /** JSONP */
2786
3161
  callback?: string;
2787
3162
  /** Selector specifying which fields to include in a partial response. */
@@ -2809,11 +3184,11 @@ declare namespace gapi.client {
2809
3184
  setIamPolicy(
2810
3185
  request: {
2811
3186
  /** V1 error format. */
2812
- '$.xgafv'?: string;
3187
+ '$.xgafv'?: '1' | '2';
2813
3188
  /** OAuth access token. */
2814
3189
  access_token?: string;
2815
3190
  /** Data format for response. */
2816
- alt?: string;
3191
+ alt?: 'json' | 'media' | 'proto';
2817
3192
  /** JSONP */
2818
3193
  callback?: string;
2819
3194
  /** Selector specifying which fields to include in a partial response. */
@@ -2839,11 +3214,11 @@ declare namespace gapi.client {
2839
3214
  testIamPermissions(
2840
3215
  request: {
2841
3216
  /** V1 error format. */
2842
- '$.xgafv'?: string;
3217
+ '$.xgafv'?: '1' | '2';
2843
3218
  /** OAuth access token. */
2844
3219
  access_token?: string;
2845
3220
  /** Data format for response. */
2846
- alt?: string;
3221
+ alt?: 'json' | 'media' | 'proto';
2847
3222
  /** JSONP */
2848
3223
  callback?: string;
2849
3224
  /** Selector specifying which fields to include in a partial response. */
@@ -2868,11 +3243,11 @@ declare namespace gapi.client {
2868
3243
  /** Update the version of a CryptoKey that will be used in Encrypt. Returns an error if called on a key whose purpose is not ENCRYPT_DECRYPT. */
2869
3244
  updatePrimaryVersion(request: {
2870
3245
  /** V1 error format. */
2871
- '$.xgafv'?: string;
3246
+ '$.xgafv'?: '1' | '2';
2872
3247
  /** OAuth access token. */
2873
3248
  access_token?: string;
2874
3249
  /** Data format for response. */
2875
- alt?: string;
3250
+ alt?: 'json' | 'media' | 'proto';
2876
3251
  /** JSONP */
2877
3252
  callback?: string;
2878
3253
  /** Selector specifying which fields to include in a partial response. */
@@ -2897,11 +3272,11 @@ declare namespace gapi.client {
2897
3272
  updatePrimaryVersion(
2898
3273
  request: {
2899
3274
  /** V1 error format. */
2900
- '$.xgafv'?: string;
3275
+ '$.xgafv'?: '1' | '2';
2901
3276
  /** OAuth access token. */
2902
3277
  access_token?: string;
2903
3278
  /** Data format for response. */
2904
- alt?: string;
3279
+ alt?: 'json' | 'media' | 'proto';
2905
3280
  /** JSONP */
2906
3281
  callback?: string;
2907
3282
  /** Selector specifying which fields to include in a partial response. */
@@ -2929,11 +3304,11 @@ declare namespace gapi.client {
2929
3304
  /** Create a new ImportJob within a KeyRing. ImportJob.import_method is required. */
2930
3305
  create(request: {
2931
3306
  /** V1 error format. */
2932
- '$.xgafv'?: string;
3307
+ '$.xgafv'?: '1' | '2';
2933
3308
  /** OAuth access token. */
2934
3309
  access_token?: string;
2935
3310
  /** Data format for response. */
2936
- alt?: string;
3311
+ alt?: 'json' | 'media' | 'proto';
2937
3312
  /** JSONP */
2938
3313
  callback?: string;
2939
3314
  /** Selector specifying which fields to include in a partial response. */
@@ -2960,11 +3335,11 @@ declare namespace gapi.client {
2960
3335
  create(
2961
3336
  request: {
2962
3337
  /** V1 error format. */
2963
- '$.xgafv'?: string;
3338
+ '$.xgafv'?: '1' | '2';
2964
3339
  /** OAuth access token. */
2965
3340
  access_token?: string;
2966
3341
  /** Data format for response. */
2967
- alt?: string;
3342
+ alt?: 'json' | 'media' | 'proto';
2968
3343
  /** JSONP */
2969
3344
  callback?: string;
2970
3345
  /** Selector specifying which fields to include in a partial response. */
@@ -2991,11 +3366,11 @@ declare namespace gapi.client {
2991
3366
  /** Returns metadata for a given ImportJob. */
2992
3367
  get(request?: {
2993
3368
  /** V1 error format. */
2994
- '$.xgafv'?: string;
3369
+ '$.xgafv'?: '1' | '2';
2995
3370
  /** OAuth access token. */
2996
3371
  access_token?: string;
2997
3372
  /** Data format for response. */
2998
- alt?: string;
3373
+ alt?: 'json' | 'media' | 'proto';
2999
3374
  /** JSONP */
3000
3375
  callback?: string;
3001
3376
  /** Selector specifying which fields to include in a partial response. */
@@ -3008,6 +3383,13 @@ declare namespace gapi.client {
3008
3383
  oauth_token?: string;
3009
3384
  /** Returns response with indentations and line breaks. */
3010
3385
  prettyPrint?: boolean;
3386
+ /** Optional. Specifies the WrappingPublicKey format. If not specified: * For RSA-based import methods, the wrapping key will be returned in PEM format * For pure ML-KEM-based import methods, the wrapping key will be returned in the raw bytes format specified in FIPS-203 * For X-Wing-based import methods, the wrapping key will be returned in the raw bytes format specified in https://datatracker.ietf.org/doc/draft-connolly-cfrg-xwing-kem. */
3387
+ publicKeyFormat?:
3388
+ | 'PUBLIC_KEY_FORMAT_UNSPECIFIED'
3389
+ | 'PEM'
3390
+ | 'DER'
3391
+ | 'NIST_PQC'
3392
+ | 'XWING_RAW_BYTES';
3011
3393
  /** 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. */
3012
3394
  quotaUser?: string;
3013
3395
  /** Upload protocol for media (e.g. "raw", "multipart"). */
@@ -3018,11 +3400,11 @@ declare namespace gapi.client {
3018
3400
  /** Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set. */
3019
3401
  getIamPolicy(request?: {
3020
3402
  /** V1 error format. */
3021
- '$.xgafv'?: string;
3403
+ '$.xgafv'?: '1' | '2';
3022
3404
  /** OAuth access token. */
3023
3405
  access_token?: string;
3024
3406
  /** Data format for response. */
3025
- alt?: string;
3407
+ alt?: 'json' | 'media' | 'proto';
3026
3408
  /** JSONP */
3027
3409
  callback?: string;
3028
3410
  /** Selector specifying which fields to include in a partial response. */
@@ -3047,11 +3429,11 @@ declare namespace gapi.client {
3047
3429
  /** Lists ImportJobs. */
3048
3430
  list(request?: {
3049
3431
  /** V1 error format. */
3050
- '$.xgafv'?: string;
3432
+ '$.xgafv'?: '1' | '2';
3051
3433
  /** OAuth access token. */
3052
3434
  access_token?: string;
3053
3435
  /** Data format for response. */
3054
- alt?: string;
3436
+ alt?: 'json' | 'media' | 'proto';
3055
3437
  /** JSONP */
3056
3438
  callback?: string;
3057
3439
  /** Selector specifying which fields to include in a partial response. */
@@ -3083,11 +3465,11 @@ declare namespace gapi.client {
3083
3465
  setIamPolicy(
3084
3466
  request: {
3085
3467
  /** V1 error format. */
3086
- '$.xgafv'?: string;
3468
+ '$.xgafv'?: '1' | '2';
3087
3469
  /** OAuth access token. */
3088
3470
  access_token?: string;
3089
3471
  /** Data format for response. */
3090
- alt?: string;
3472
+ alt?: 'json' | 'media' | 'proto';
3091
3473
  /** JSONP */
3092
3474
  callback?: string;
3093
3475
  /** Selector specifying which fields to include in a partial response. */
@@ -3113,11 +3495,11 @@ declare namespace gapi.client {
3113
3495
  testIamPermissions(
3114
3496
  request: {
3115
3497
  /** V1 error format. */
3116
- '$.xgafv'?: string;
3498
+ '$.xgafv'?: '1' | '2';
3117
3499
  /** OAuth access token. */
3118
3500
  access_token?: string;
3119
3501
  /** Data format for response. */
3120
- alt?: string;
3502
+ alt?: 'json' | 'media' | 'proto';
3121
3503
  /** JSONP */
3122
3504
  callback?: string;
3123
3505
  /** Selector specifying which fields to include in a partial response. */
@@ -3144,11 +3526,11 @@ declare namespace gapi.client {
3144
3526
  /** Create a new KeyRing in a given Project and Location. */
3145
3527
  create(request: {
3146
3528
  /** V1 error format. */
3147
- '$.xgafv'?: string;
3529
+ '$.xgafv'?: '1' | '2';
3148
3530
  /** OAuth access token. */
3149
3531
  access_token?: string;
3150
3532
  /** Data format for response. */
3151
- alt?: string;
3533
+ alt?: 'json' | 'media' | 'proto';
3152
3534
  /** JSONP */
3153
3535
  callback?: string;
3154
3536
  /** Selector specifying which fields to include in a partial response. */
@@ -3175,11 +3557,11 @@ declare namespace gapi.client {
3175
3557
  create(
3176
3558
  request: {
3177
3559
  /** V1 error format. */
3178
- '$.xgafv'?: string;
3560
+ '$.xgafv'?: '1' | '2';
3179
3561
  /** OAuth access token. */
3180
3562
  access_token?: string;
3181
3563
  /** Data format for response. */
3182
- alt?: string;
3564
+ alt?: 'json' | 'media' | 'proto';
3183
3565
  /** JSONP */
3184
3566
  callback?: string;
3185
3567
  /** Selector specifying which fields to include in a partial response. */
@@ -3206,11 +3588,11 @@ declare namespace gapi.client {
3206
3588
  /** Returns metadata for a given KeyRing. */
3207
3589
  get(request?: {
3208
3590
  /** V1 error format. */
3209
- '$.xgafv'?: string;
3591
+ '$.xgafv'?: '1' | '2';
3210
3592
  /** OAuth access token. */
3211
3593
  access_token?: string;
3212
3594
  /** Data format for response. */
3213
- alt?: string;
3595
+ alt?: 'json' | 'media' | 'proto';
3214
3596
  /** JSONP */
3215
3597
  callback?: string;
3216
3598
  /** Selector specifying which fields to include in a partial response. */
@@ -3233,11 +3615,11 @@ declare namespace gapi.client {
3233
3615
  /** Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set. */
3234
3616
  getIamPolicy(request?: {
3235
3617
  /** V1 error format. */
3236
- '$.xgafv'?: string;
3618
+ '$.xgafv'?: '1' | '2';
3237
3619
  /** OAuth access token. */
3238
3620
  access_token?: string;
3239
3621
  /** Data format for response. */
3240
- alt?: string;
3622
+ alt?: 'json' | 'media' | 'proto';
3241
3623
  /** JSONP */
3242
3624
  callback?: string;
3243
3625
  /** Selector specifying which fields to include in a partial response. */
@@ -3262,11 +3644,11 @@ declare namespace gapi.client {
3262
3644
  /** Lists KeyRings. */
3263
3645
  list(request?: {
3264
3646
  /** V1 error format. */
3265
- '$.xgafv'?: string;
3647
+ '$.xgafv'?: '1' | '2';
3266
3648
  /** OAuth access token. */
3267
3649
  access_token?: string;
3268
3650
  /** Data format for response. */
3269
- alt?: string;
3651
+ alt?: 'json' | 'media' | 'proto';
3270
3652
  /** JSONP */
3271
3653
  callback?: string;
3272
3654
  /** Selector specifying which fields to include in a partial response. */
@@ -3298,11 +3680,11 @@ declare namespace gapi.client {
3298
3680
  setIamPolicy(
3299
3681
  request: {
3300
3682
  /** V1 error format. */
3301
- '$.xgafv'?: string;
3683
+ '$.xgafv'?: '1' | '2';
3302
3684
  /** OAuth access token. */
3303
3685
  access_token?: string;
3304
3686
  /** Data format for response. */
3305
- alt?: string;
3687
+ alt?: 'json' | 'media' | 'proto';
3306
3688
  /** JSONP */
3307
3689
  callback?: string;
3308
3690
  /** Selector specifying which fields to include in a partial response. */
@@ -3328,11 +3710,11 @@ declare namespace gapi.client {
3328
3710
  testIamPermissions(
3329
3711
  request: {
3330
3712
  /** V1 error format. */
3331
- '$.xgafv'?: string;
3713
+ '$.xgafv'?: '1' | '2';
3332
3714
  /** OAuth access token. */
3333
3715
  access_token?: string;
3334
3716
  /** Data format for response. */
3335
- alt?: string;
3717
+ alt?: 'json' | 'media' | 'proto';
3336
3718
  /** JSONP */
3337
3719
  callback?: string;
3338
3720
  /** Selector specifying which fields to include in a partial response. */
@@ -3361,11 +3743,11 @@ declare namespace gapi.client {
3361
3743
  /** Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service. */
3362
3744
  get(request?: {
3363
3745
  /** V1 error format. */
3364
- '$.xgafv'?: string;
3746
+ '$.xgafv'?: '1' | '2';
3365
3747
  /** OAuth access token. */
3366
3748
  access_token?: string;
3367
3749
  /** Data format for response. */
3368
- alt?: string;
3750
+ alt?: 'json' | 'media' | 'proto';
3369
3751
  /** JSONP */
3370
3752
  callback?: string;
3371
3753
  /** Selector specifying which fields to include in a partial response. */
@@ -3390,11 +3772,11 @@ declare namespace gapi.client {
3390
3772
  /** Retrieves a specific RetiredResource resource, which represents the record of a deleted CryptoKey. */
3391
3773
  get(request?: {
3392
3774
  /** V1 error format. */
3393
- '$.xgafv'?: string;
3775
+ '$.xgafv'?: '1' | '2';
3394
3776
  /** OAuth access token. */
3395
3777
  access_token?: string;
3396
3778
  /** Data format for response. */
3397
- alt?: string;
3779
+ alt?: 'json' | 'media' | 'proto';
3398
3780
  /** JSONP */
3399
3781
  callback?: string;
3400
3782
  /** Selector specifying which fields to include in a partial response. */
@@ -3417,11 +3799,11 @@ declare namespace gapi.client {
3417
3799
  /** Lists the RetiredResources which are the records of deleted CryptoKeys. RetiredResources prevent the reuse of these resource names after deletion. */
3418
3800
  list(request?: {
3419
3801
  /** V1 error format. */
3420
- '$.xgafv'?: string;
3802
+ '$.xgafv'?: '1' | '2';
3421
3803
  /** OAuth access token. */
3422
3804
  access_token?: string;
3423
3805
  /** Data format for response. */
3424
- alt?: string;
3806
+ alt?: 'json' | 'media' | 'proto';
3425
3807
  /** JSONP */
3426
3808
  callback?: string;
3427
3809
  /** Selector specifying which fields to include in a partial response. */
@@ -3450,11 +3832,11 @@ declare namespace gapi.client {
3450
3832
  /** Approves a SingleTenantHsmInstanceProposal for a given SingleTenantHsmInstance. The proposal must be in the PENDING state. */
3451
3833
  approve(request: {
3452
3834
  /** V1 error format. */
3453
- '$.xgafv'?: string;
3835
+ '$.xgafv'?: '1' | '2';
3454
3836
  /** OAuth access token. */
3455
3837
  access_token?: string;
3456
3838
  /** Data format for response. */
3457
- alt?: string;
3839
+ alt?: 'json' | 'media' | 'proto';
3458
3840
  /** JSONP */
3459
3841
  callback?: string;
3460
3842
  /** Selector specifying which fields to include in a partial response. */
@@ -3479,11 +3861,11 @@ declare namespace gapi.client {
3479
3861
  approve(
3480
3862
  request: {
3481
3863
  /** V1 error format. */
3482
- '$.xgafv'?: string;
3864
+ '$.xgafv'?: '1' | '2';
3483
3865
  /** OAuth access token. */
3484
3866
  access_token?: string;
3485
3867
  /** Data format for response. */
3486
- alt?: string;
3868
+ alt?: 'json' | 'media' | 'proto';
3487
3869
  /** JSONP */
3488
3870
  callback?: string;
3489
3871
  /** Selector specifying which fields to include in a partial response. */
@@ -3508,11 +3890,11 @@ declare namespace gapi.client {
3508
3890
  /** Creates a new SingleTenantHsmInstanceProposal for a given SingleTenantHsmInstance. */
3509
3891
  create(request: {
3510
3892
  /** V1 error format. */
3511
- '$.xgafv'?: string;
3893
+ '$.xgafv'?: '1' | '2';
3512
3894
  /** OAuth access token. */
3513
3895
  access_token?: string;
3514
3896
  /** Data format for response. */
3515
- alt?: string;
3897
+ alt?: 'json' | 'media' | 'proto';
3516
3898
  /** JSONP */
3517
3899
  callback?: string;
3518
3900
  /** Selector specifying which fields to include in a partial response. */
@@ -3539,11 +3921,11 @@ declare namespace gapi.client {
3539
3921
  create(
3540
3922
  request: {
3541
3923
  /** V1 error format. */
3542
- '$.xgafv'?: string;
3924
+ '$.xgafv'?: '1' | '2';
3543
3925
  /** OAuth access token. */
3544
3926
  access_token?: string;
3545
3927
  /** Data format for response. */
3546
- alt?: string;
3928
+ alt?: 'json' | 'media' | 'proto';
3547
3929
  /** JSONP */
3548
3930
  callback?: string;
3549
3931
  /** Selector specifying which fields to include in a partial response. */
@@ -3570,11 +3952,11 @@ declare namespace gapi.client {
3570
3952
  /** Deletes a SingleTenantHsmInstanceProposal. */
3571
3953
  delete(request?: {
3572
3954
  /** V1 error format. */
3573
- '$.xgafv'?: string;
3955
+ '$.xgafv'?: '1' | '2';
3574
3956
  /** OAuth access token. */
3575
3957
  access_token?: string;
3576
3958
  /** Data format for response. */
3577
- alt?: string;
3959
+ alt?: 'json' | 'media' | 'proto';
3578
3960
  /** JSONP */
3579
3961
  callback?: string;
3580
3962
  /** Selector specifying which fields to include in a partial response. */
@@ -3597,11 +3979,11 @@ declare namespace gapi.client {
3597
3979
  /** Executes a SingleTenantHsmInstanceProposal for a given SingleTenantHsmInstance. The proposal must be in the APPROVED state. */
3598
3980
  execute(request: {
3599
3981
  /** V1 error format. */
3600
- '$.xgafv'?: string;
3982
+ '$.xgafv'?: '1' | '2';
3601
3983
  /** OAuth access token. */
3602
3984
  access_token?: string;
3603
3985
  /** Data format for response. */
3604
- alt?: string;
3986
+ alt?: 'json' | 'media' | 'proto';
3605
3987
  /** JSONP */
3606
3988
  callback?: string;
3607
3989
  /** Selector specifying which fields to include in a partial response. */
@@ -3626,11 +4008,11 @@ declare namespace gapi.client {
3626
4008
  execute(
3627
4009
  request: {
3628
4010
  /** V1 error format. */
3629
- '$.xgafv'?: string;
4011
+ '$.xgafv'?: '1' | '2';
3630
4012
  /** OAuth access token. */
3631
4013
  access_token?: string;
3632
4014
  /** Data format for response. */
3633
- alt?: string;
4015
+ alt?: 'json' | 'media' | 'proto';
3634
4016
  /** JSONP */
3635
4017
  callback?: string;
3636
4018
  /** Selector specifying which fields to include in a partial response. */
@@ -3655,11 +4037,11 @@ declare namespace gapi.client {
3655
4037
  /** Returns metadata for a given SingleTenantHsmInstanceProposal. */
3656
4038
  get(request?: {
3657
4039
  /** V1 error format. */
3658
- '$.xgafv'?: string;
4040
+ '$.xgafv'?: '1' | '2';
3659
4041
  /** OAuth access token. */
3660
4042
  access_token?: string;
3661
4043
  /** Data format for response. */
3662
- alt?: string;
4044
+ alt?: 'json' | 'media' | 'proto';
3663
4045
  /** JSONP */
3664
4046
  callback?: string;
3665
4047
  /** Selector specifying which fields to include in a partial response. */
@@ -3682,11 +4064,11 @@ declare namespace gapi.client {
3682
4064
  /** Lists SingleTenantHsmInstanceProposals. */
3683
4065
  list(request?: {
3684
4066
  /** V1 error format. */
3685
- '$.xgafv'?: string;
4067
+ '$.xgafv'?: '1' | '2';
3686
4068
  /** OAuth access token. */
3687
4069
  access_token?: string;
3688
4070
  /** Data format for response. */
3689
- alt?: string;
4071
+ alt?: 'json' | 'media' | 'proto';
3690
4072
  /** JSONP */
3691
4073
  callback?: string;
3692
4074
  /** Selector specifying which fields to include in a partial response. */
@@ -3721,11 +4103,11 @@ declare namespace gapi.client {
3721
4103
  /** Creates a new SingleTenantHsmInstance in a given Project and Location. User must create a RegisterTwoFactorAuthKeys proposal with this single-tenant HSM instance to finish setup of the instance. */
3722
4104
  create(request: {
3723
4105
  /** V1 error format. */
3724
- '$.xgafv'?: string;
4106
+ '$.xgafv'?: '1' | '2';
3725
4107
  /** OAuth access token. */
3726
4108
  access_token?: string;
3727
4109
  /** Data format for response. */
3728
- alt?: string;
4110
+ alt?: 'json' | 'media' | 'proto';
3729
4111
  /** JSONP */
3730
4112
  callback?: string;
3731
4113
  /** Selector specifying which fields to include in a partial response. */
@@ -3752,11 +4134,11 @@ declare namespace gapi.client {
3752
4134
  create(
3753
4135
  request: {
3754
4136
  /** V1 error format. */
3755
- '$.xgafv'?: string;
4137
+ '$.xgafv'?: '1' | '2';
3756
4138
  /** OAuth access token. */
3757
4139
  access_token?: string;
3758
4140
  /** Data format for response. */
3759
- alt?: string;
4141
+ alt?: 'json' | 'media' | 'proto';
3760
4142
  /** JSONP */
3761
4143
  callback?: string;
3762
4144
  /** Selector specifying which fields to include in a partial response. */
@@ -3783,11 +4165,11 @@ declare namespace gapi.client {
3783
4165
  /** Returns metadata for a given SingleTenantHsmInstance. */
3784
4166
  get(request?: {
3785
4167
  /** V1 error format. */
3786
- '$.xgafv'?: string;
4168
+ '$.xgafv'?: '1' | '2';
3787
4169
  /** OAuth access token. */
3788
4170
  access_token?: string;
3789
4171
  /** Data format for response. */
3790
- alt?: string;
4172
+ alt?: 'json' | 'media' | 'proto';
3791
4173
  /** JSONP */
3792
4174
  callback?: string;
3793
4175
  /** Selector specifying which fields to include in a partial response. */
@@ -3810,11 +4192,11 @@ declare namespace gapi.client {
3810
4192
  /** Lists SingleTenantHsmInstances. */
3811
4193
  list(request?: {
3812
4194
  /** V1 error format. */
3813
- '$.xgafv'?: string;
4195
+ '$.xgafv'?: '1' | '2';
3814
4196
  /** OAuth access token. */
3815
4197
  access_token?: string;
3816
4198
  /** Data format for response. */
3817
- alt?: string;
4199
+ alt?: 'json' | 'media' | 'proto';
3818
4200
  /** JSONP */
3819
4201
  callback?: string;
3820
4202
  /** Selector specifying which fields to include in a partial response. */
@@ -3850,11 +4232,11 @@ declare namespace gapi.client {
3850
4232
  /** Generate random bytes using the Cloud KMS randomness source in the provided location. */
3851
4233
  generateRandomBytes(request: {
3852
4234
  /** V1 error format. */
3853
- '$.xgafv'?: string;
4235
+ '$.xgafv'?: '1' | '2';
3854
4236
  /** OAuth access token. */
3855
4237
  access_token?: string;
3856
4238
  /** Data format for response. */
3857
- alt?: string;
4239
+ alt?: 'json' | 'media' | 'proto';
3858
4240
  /** JSONP */
3859
4241
  callback?: string;
3860
4242
  /** Selector specifying which fields to include in a partial response. */
@@ -3879,11 +4261,11 @@ declare namespace gapi.client {
3879
4261
  generateRandomBytes(
3880
4262
  request: {
3881
4263
  /** V1 error format. */
3882
- '$.xgafv'?: string;
4264
+ '$.xgafv'?: '1' | '2';
3883
4265
  /** OAuth access token. */
3884
4266
  access_token?: string;
3885
4267
  /** Data format for response. */
3886
- alt?: string;
4268
+ alt?: 'json' | 'media' | 'proto';
3887
4269
  /** JSONP */
3888
4270
  callback?: string;
3889
4271
  /** Selector specifying which fields to include in a partial response. */
@@ -3908,11 +4290,11 @@ declare namespace gapi.client {
3908
4290
  /** Gets information about a location. */
3909
4291
  get(request?: {
3910
4292
  /** V1 error format. */
3911
- '$.xgafv'?: string;
4293
+ '$.xgafv'?: '1' | '2';
3912
4294
  /** OAuth access token. */
3913
4295
  access_token?: string;
3914
4296
  /** Data format for response. */
3915
- alt?: string;
4297
+ alt?: 'json' | 'media' | 'proto';
3916
4298
  /** JSONP */
3917
4299
  callback?: string;
3918
4300
  /** Selector specifying which fields to include in a partial response. */
@@ -3935,11 +4317,11 @@ declare namespace gapi.client {
3935
4317
  /** Returns the EkmConfig singleton resource for a given project and location. */
3936
4318
  getEkmConfig(request?: {
3937
4319
  /** V1 error format. */
3938
- '$.xgafv'?: string;
4320
+ '$.xgafv'?: '1' | '2';
3939
4321
  /** OAuth access token. */
3940
4322
  access_token?: string;
3941
4323
  /** Data format for response. */
3942
- alt?: string;
4324
+ alt?: 'json' | 'media' | 'proto';
3943
4325
  /** JSONP */
3944
4326
  callback?: string;
3945
4327
  /** Selector specifying which fields to include in a partial response. */
@@ -3959,17 +4341,17 @@ declare namespace gapi.client {
3959
4341
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
3960
4342
  uploadType?: string;
3961
4343
  }): Request<EkmConfig>;
3962
- /** Lists information about the supported locations for this service. This method can be called in two ways: * **List all public locations:** Use the path `GET /v1/locations`. * **List project-visible locations:** Use the path `GET /v1/projects/{project_id}/locations`. This may include public locations as well as private or other locations specifically visible to the project. */
4344
+ /** Lists information about the supported locations for this service. This method lists locations based on the resource scope provided in the ListLocationsRequest.name field: * **Global locations**: If `name` is empty, the method lists the public locations available to all projects. * **Project-specific locations**: If `name` follows the format `projects/{project}`, the method lists locations visible to that specific project. This includes public, private, or other project-specific locations enabled for the project. For gRPC and client library implementations, the resource name is passed as the `name` field. For direct service calls, the resource name is incorporated into the request path based on the specific service implementation and version. */
3963
4345
  list(request?: {
3964
4346
  /** V1 error format. */
3965
- '$.xgafv'?: string;
4347
+ '$.xgafv'?: '1' | '2';
3966
4348
  /** OAuth access token. */
3967
4349
  access_token?: string;
3968
4350
  /** Data format for response. */
3969
- alt?: string;
4351
+ alt?: 'json' | 'media' | 'proto';
3970
4352
  /** JSONP */
3971
4353
  callback?: string;
3972
- /** Optional. Do not use this field. It is unsupported and is ignored unless explicitly documented otherwise. This is primarily for internal usage. */
4354
+ /** Optional. Do not use this field unless explicitly documented otherwise. This is primarily for internal usage. */
3973
4355
  extraLocationTypes?: string | string[];
3974
4356
  /** Selector specifying which fields to include in a partial response. */
3975
4357
  fields?: string;
@@ -3997,11 +4379,11 @@ declare namespace gapi.client {
3997
4379
  /** Updates the EkmConfig singleton resource for a given project and location. */
3998
4380
  updateEkmConfig(request: {
3999
4381
  /** V1 error format. */
4000
- '$.xgafv'?: string;
4382
+ '$.xgafv'?: '1' | '2';
4001
4383
  /** OAuth access token. */
4002
4384
  access_token?: string;
4003
4385
  /** Data format for response. */
4004
- alt?: string;
4386
+ alt?: 'json' | 'media' | 'proto';
4005
4387
  /** JSONP */
4006
4388
  callback?: string;
4007
4389
  /** Selector specifying which fields to include in a partial response. */
@@ -4028,11 +4410,11 @@ declare namespace gapi.client {
4028
4410
  updateEkmConfig(
4029
4411
  request: {
4030
4412
  /** V1 error format. */
4031
- '$.xgafv'?: string;
4413
+ '$.xgafv'?: '1' | '2';
4032
4414
  /** OAuth access token. */
4033
4415
  access_token?: string;
4034
4416
  /** Data format for response. */
4035
- alt?: string;
4417
+ alt?: 'json' | 'media' | 'proto';
4036
4418
  /** JSONP */
4037
4419
  callback?: string;
4038
4420
  /** Selector specifying which fields to include in a partial response. */
@@ -4068,18 +4450,18 @@ declare namespace gapi.client {
4068
4450
  /** Returns the AutokeyConfig for a folder or project. */
4069
4451
  getAutokeyConfig(request?: {
4070
4452
  /** V1 error format. */
4071
- '$.xgafv'?: string;
4453
+ '$.xgafv'?: '1' | '2';
4072
4454
  /** OAuth access token. */
4073
4455
  access_token?: string;
4074
4456
  /** Data format for response. */
4075
- alt?: string;
4457
+ alt?: 'json' | 'media' | 'proto';
4076
4458
  /** JSONP */
4077
4459
  callback?: string;
4078
4460
  /** Selector specifying which fields to include in a partial response. */
4079
4461
  fields?: string;
4080
4462
  /** 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. */
4081
4463
  key?: string;
4082
- /** Required. Name of the AutokeyConfig resource, e.g. `folders/{FOLDER_NUMBER}/autokeyConfig` or `projects/{PROJECT_NUMBER}/autokeyConfig`. */
4464
+ /** Required. Name of the AutokeyConfig resource, e.g. `folders/{FOLDER_NUMBER}/autokeyConfig`, `projects/{PROJECT_NUMBER}/autokeyConfig`, or `projects/{PROJECT_ID}/autokeyConfig`. */
4083
4465
  name: string;
4084
4466
  /** OAuth 2.0 token for the current user. */
4085
4467
  oauth_token?: string;
@@ -4095,18 +4477,18 @@ declare namespace gapi.client {
4095
4477
  /** Gets the KeyAccessJustificationsPolicyConfig for a given organization, folder, or project. */
4096
4478
  getKajPolicyConfig(request?: {
4097
4479
  /** V1 error format. */
4098
- '$.xgafv'?: string;
4480
+ '$.xgafv'?: '1' | '2';
4099
4481
  /** OAuth access token. */
4100
4482
  access_token?: string;
4101
4483
  /** Data format for response. */
4102
- alt?: string;
4484
+ alt?: 'json' | 'media' | 'proto';
4103
4485
  /** JSONP */
4104
4486
  callback?: string;
4105
4487
  /** Selector specifying which fields to include in a partial response. */
4106
4488
  fields?: string;
4107
4489
  /** 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. */
4108
4490
  key?: string;
4109
- /** Required. The name of the KeyAccessJustificationsPolicyConfig to get. */
4491
+ /** Required. Specifies the name of the KeyAccessJustificationsPolicyConfig to get. */
4110
4492
  name: string;
4111
4493
  /** OAuth 2.0 token for the current user. */
4112
4494
  oauth_token?: string;
@@ -4122,11 +4504,11 @@ declare namespace gapi.client {
4122
4504
  /** Returns the effective Cloud KMS Autokey configuration for a given project. */
4123
4505
  showEffectiveAutokeyConfig(request?: {
4124
4506
  /** V1 error format. */
4125
- '$.xgafv'?: string;
4507
+ '$.xgafv'?: '1' | '2';
4126
4508
  /** OAuth access token. */
4127
4509
  access_token?: string;
4128
4510
  /** Data format for response. */
4129
- alt?: string;
4511
+ alt?: 'json' | 'media' | 'proto';
4130
4512
  /** JSONP */
4131
4513
  callback?: string;
4132
4514
  /** Selector specifying which fields to include in a partial response. */
@@ -4149,11 +4531,11 @@ declare namespace gapi.client {
4149
4531
  /** Returns the KeyAccessJustificationsEnrollmentConfig of the resource closest to the given project in hierarchy. */
4150
4532
  showEffectiveKeyAccessJustificationsEnrollmentConfig(request?: {
4151
4533
  /** V1 error format. */
4152
- '$.xgafv'?: string;
4534
+ '$.xgafv'?: '1' | '2';
4153
4535
  /** OAuth access token. */
4154
4536
  access_token?: string;
4155
4537
  /** Data format for response. */
4156
- alt?: string;
4538
+ alt?: 'json' | 'media' | 'proto';
4157
4539
  /** JSONP */
4158
4540
  callback?: string;
4159
4541
  /** Selector specifying which fields to include in a partial response. */
@@ -4164,7 +4546,7 @@ declare namespace gapi.client {
4164
4546
  oauth_token?: string;
4165
4547
  /** Returns response with indentations and line breaks. */
4166
4548
  prettyPrint?: boolean;
4167
- /** Required. The number or id of the project to get the effective KeyAccessJustificationsEnrollmentConfig for. */
4549
+ /** Required. Specifies the number or id of the project to get the effective KeyAccessJustificationsEnrollmentConfig for. */
4168
4550
  project: string;
4169
4551
  /** 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. */
4170
4552
  quotaUser?: string;
@@ -4176,11 +4558,11 @@ declare namespace gapi.client {
4176
4558
  /** Returns the KeyAccessJustificationsPolicyConfig of the resource closest to the given project in hierarchy. */
4177
4559
  showEffectiveKeyAccessJustificationsPolicyConfig(request?: {
4178
4560
  /** V1 error format. */
4179
- '$.xgafv'?: string;
4561
+ '$.xgafv'?: '1' | '2';
4180
4562
  /** OAuth access token. */
4181
4563
  access_token?: string;
4182
4564
  /** Data format for response. */
4183
- alt?: string;
4565
+ alt?: 'json' | 'media' | 'proto';
4184
4566
  /** JSONP */
4185
4567
  callback?: string;
4186
4568
  /** Selector specifying which fields to include in a partial response. */
@@ -4191,7 +4573,7 @@ declare namespace gapi.client {
4191
4573
  oauth_token?: string;
4192
4574
  /** Returns response with indentations and line breaks. */
4193
4575
  prettyPrint?: boolean;
4194
- /** Required. The number or id of the project to get the effective KeyAccessJustificationsPolicyConfig. In the format of "projects/{|}" */
4576
+ /** Required. Specifies the number or id of the project to get the effective KeyAccessJustificationsPolicyConfig. In the format of "projects/{|}" */
4195
4577
  project: string;
4196
4578
  /** 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. */
4197
4579
  quotaUser?: string;
@@ -4203,18 +4585,18 @@ declare namespace gapi.client {
4203
4585
  /** Updates the AutokeyConfig for a folder or a project. 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. */
4204
4586
  updateAutokeyConfig(request: {
4205
4587
  /** V1 error format. */
4206
- '$.xgafv'?: string;
4588
+ '$.xgafv'?: '1' | '2';
4207
4589
  /** OAuth access token. */
4208
4590
  access_token?: string;
4209
4591
  /** Data format for response. */
4210
- alt?: string;
4592
+ alt?: 'json' | 'media' | 'proto';
4211
4593
  /** JSONP */
4212
4594
  callback?: string;
4213
4595
  /** Selector specifying which fields to include in a partial response. */
4214
4596
  fields?: string;
4215
4597
  /** 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. */
4216
4598
  key?: string;
4217
- /** Identifier. Name of the AutokeyConfig resource, e.g. `folders/{FOLDER_NUMBER}/autokeyConfig` or `projects/{PROJECT_NUMBER}/autokeyConfig`. */
4599
+ /** Identifier. Name of the AutokeyConfig resource, e.g. `folders/{FOLDER_NUMBER}/autokeyConfig`, `projects/{PROJECT_NUMBER}/autokeyConfig`, or `projects/{PROJECT_ID}/autokeyConfig`. */
4218
4600
  name: string;
4219
4601
  /** OAuth 2.0 token for the current user. */
4220
4602
  oauth_token?: string;
@@ -4234,18 +4616,18 @@ declare namespace gapi.client {
4234
4616
  updateAutokeyConfig(
4235
4617
  request: {
4236
4618
  /** V1 error format. */
4237
- '$.xgafv'?: string;
4619
+ '$.xgafv'?: '1' | '2';
4238
4620
  /** OAuth access token. */
4239
4621
  access_token?: string;
4240
4622
  /** Data format for response. */
4241
- alt?: string;
4623
+ alt?: 'json' | 'media' | 'proto';
4242
4624
  /** JSONP */
4243
4625
  callback?: string;
4244
4626
  /** Selector specifying which fields to include in a partial response. */
4245
4627
  fields?: string;
4246
4628
  /** 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. */
4247
4629
  key?: string;
4248
- /** Identifier. Name of the AutokeyConfig resource, e.g. `folders/{FOLDER_NUMBER}/autokeyConfig` or `projects/{PROJECT_NUMBER}/autokeyConfig`. */
4630
+ /** Identifier. Name of the AutokeyConfig resource, e.g. `folders/{FOLDER_NUMBER}/autokeyConfig`, `projects/{PROJECT_NUMBER}/autokeyConfig`, or `projects/{PROJECT_ID}/autokeyConfig`. */
4249
4631
  name: string;
4250
4632
  /** OAuth 2.0 token for the current user. */
4251
4633
  oauth_token?: string;
@@ -4265,18 +4647,18 @@ declare namespace gapi.client {
4265
4647
  /** Updates the KeyAccessJustificationsPolicyConfig for a given organization, folder, or project. */
4266
4648
  updateKajPolicyConfig(request: {
4267
4649
  /** V1 error format. */
4268
- '$.xgafv'?: string;
4650
+ '$.xgafv'?: '1' | '2';
4269
4651
  /** OAuth access token. */
4270
4652
  access_token?: string;
4271
4653
  /** Data format for response. */
4272
- alt?: string;
4654
+ alt?: 'json' | 'media' | 'proto';
4273
4655
  /** JSONP */
4274
4656
  callback?: string;
4275
4657
  /** Selector specifying which fields to include in a partial response. */
4276
4658
  fields?: string;
4277
4659
  /** 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. */
4278
4660
  key?: string;
4279
- /** Identifier. The resource name for this KeyAccessJustificationsPolicyConfig in the format of "{organizations|folders|projects}/*‍/kajPolicyConfig". */
4661
+ /** Identifier. Represents the resource name for this KeyAccessJustificationsPolicyConfig in the format of "{organizations|folders|projects}/*‍/kajPolicyConfig". */
4280
4662
  name: string;
4281
4663
  /** OAuth 2.0 token for the current user. */
4282
4664
  oauth_token?: string;
@@ -4284,7 +4666,7 @@ declare namespace gapi.client {
4284
4666
  prettyPrint?: boolean;
4285
4667
  /** 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. */
4286
4668
  quotaUser?: string;
4287
- /** Optional. The list of fields to update. */
4669
+ /** Optional. Specifies the list of fields to update. */
4288
4670
  updateMask?: string;
4289
4671
  /** Upload protocol for media (e.g. "raw", "multipart"). */
4290
4672
  upload_protocol?: string;
@@ -4296,18 +4678,18 @@ declare namespace gapi.client {
4296
4678
  updateKajPolicyConfig(
4297
4679
  request: {
4298
4680
  /** V1 error format. */
4299
- '$.xgafv'?: string;
4681
+ '$.xgafv'?: '1' | '2';
4300
4682
  /** OAuth access token. */
4301
4683
  access_token?: string;
4302
4684
  /** Data format for response. */
4303
- alt?: string;
4685
+ alt?: 'json' | 'media' | 'proto';
4304
4686
  /** JSONP */
4305
4687
  callback?: string;
4306
4688
  /** Selector specifying which fields to include in a partial response. */
4307
4689
  fields?: string;
4308
4690
  /** 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. */
4309
4691
  key?: string;
4310
- /** Identifier. The resource name for this KeyAccessJustificationsPolicyConfig in the format of "{organizations|folders|projects}/*‍/kajPolicyConfig". */
4692
+ /** Identifier. Represents the resource name for this KeyAccessJustificationsPolicyConfig in the format of "{organizations|folders|projects}/*‍/kajPolicyConfig". */
4311
4693
  name: string;
4312
4694
  /** OAuth 2.0 token for the current user. */
4313
4695
  oauth_token?: string;
@@ -4315,7 +4697,7 @@ declare namespace gapi.client {
4315
4697
  prettyPrint?: boolean;
4316
4698
  /** 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. */
4317
4699
  quotaUser?: string;
4318
- /** Optional. The list of fields to update. */
4700
+ /** Optional. Specifies the list of fields to update. */
4319
4701
  updateMask?: string;
4320
4702
  /** Upload protocol for media (e.g. "raw", "multipart"). */
4321
4703
  upload_protocol?: string;