@@ -5798,6 +5798,9 @@ export namespace google {
5798
5798
5799
5799
/** CryptoKeyVersion importFailureReason */
5800
5800
importFailureReason ?: ( string | null ) ;
5801
+
5802
+ /** CryptoKeyVersion externalProtectionLevelOptions */
5803
+ externalProtectionLevelOptions ?: ( google . cloud . kms . v1 . IExternalProtectionLevelOptions | null ) ;
5801
5804
}
5802
5805
5803
5806
/** Represents a CryptoKeyVersion. */
@@ -5845,6 +5848,9 @@ export namespace google {
5845
5848
/** CryptoKeyVersion importFailureReason. */
5846
5849
public importFailureReason : string ;
5847
5850
5851
+ /** CryptoKeyVersion externalProtectionLevelOptions. */
5852
+ public externalProtectionLevelOptions ?: ( google . cloud . kms . v1 . IExternalProtectionLevelOptions | null ) ;
5853
+
5848
5854
/**
5849
5855
* Creates a new CryptoKeyVersion instance using the specified properties.
5850
5856
* @param [properties] Properties to set
@@ -5935,7 +5941,8 @@ export namespace google {
5935
5941
RSA_DECRYPT_OAEP_4096_SHA256 = 10 ,
5936
5942
RSA_DECRYPT_OAEP_4096_SHA512 = 17 ,
5937
5943
EC_SIGN_P256_SHA256 = 12 ,
5938
- EC_SIGN_P384_SHA384 = 13
5944
+ EC_SIGN_P384_SHA384 = 13 ,
5945
+ EXTERNAL_SYMMETRIC_ENCRYPTION = 18
5939
5946
}
5940
5947
5941
5948
/** CryptoKeyVersionState enum. */
@@ -6313,6 +6320,96 @@ export namespace google {
6313
6320
EXTERNAL = 3
6314
6321
}
6315
6322
6323
+ /** Properties of an ExternalProtectionLevelOptions. */
6324
+ interface IExternalProtectionLevelOptions {
6325
+
6326
+ /** ExternalProtectionLevelOptions externalKeyUri */
6327
+ externalKeyUri ?: ( string | null ) ;
6328
+ }
6329
+
6330
+ /** Represents an ExternalProtectionLevelOptions. */
6331
+ class ExternalProtectionLevelOptions implements IExternalProtectionLevelOptions {
6332
+
6333
+ /**
6334
+ * Constructs a new ExternalProtectionLevelOptions.
6335
+ * @param [properties] Properties to set
6336
+ */
6337
+ constructor ( properties ?: google . cloud . kms . v1 . IExternalProtectionLevelOptions ) ;
6338
+
6339
+ /** ExternalProtectionLevelOptions externalKeyUri. */
6340
+ public externalKeyUri : string ;
6341
+
6342
+ /**
6343
+ * Creates a new ExternalProtectionLevelOptions instance using the specified properties.
6344
+ * @param [properties] Properties to set
6345
+ * @returns ExternalProtectionLevelOptions instance
6346
+ */
6347
+ public static create ( properties ?: google . cloud . kms . v1 . IExternalProtectionLevelOptions ) : google . cloud . kms . v1 . ExternalProtectionLevelOptions ;
6348
+
6349
+ /**
6350
+ * Encodes the specified ExternalProtectionLevelOptions message. Does not implicitly {@link google.cloud.kms.v1.ExternalProtectionLevelOptions.verify|verify} messages.
6351
+ * @param message ExternalProtectionLevelOptions message or plain object to encode
6352
+ * @param [writer] Writer to encode to
6353
+ * @returns Writer
6354
+ */
6355
+ public static encode ( message : google . cloud . kms . v1 . IExternalProtectionLevelOptions , writer ?: $protobuf . Writer ) : $protobuf . Writer ;
6356
+
6357
+ /**
6358
+ * Encodes the specified ExternalProtectionLevelOptions message, length delimited. Does not implicitly {@link google.cloud.kms.v1.ExternalProtectionLevelOptions.verify|verify} messages.
6359
+ * @param message ExternalProtectionLevelOptions message or plain object to encode
6360
+ * @param [writer] Writer to encode to
6361
+ * @returns Writer
6362
+ */
6363
+ public static encodeDelimited ( message : google . cloud . kms . v1 . IExternalProtectionLevelOptions , writer ?: $protobuf . Writer ) : $protobuf . Writer ;
6364
+
6365
+ /**
6366
+ * Decodes an ExternalProtectionLevelOptions message from the specified reader or buffer.
6367
+ * @param reader Reader or buffer to decode from
6368
+ * @param [length] Message length if known beforehand
6369
+ * @returns ExternalProtectionLevelOptions
6370
+ * @throws {Error } If the payload is not a reader or valid buffer
6371
+ * @throws {$protobuf.util.ProtocolError } If required fields are missing
6372
+ */
6373
+ public static decode ( reader : ( $protobuf . Reader | Uint8Array ) , length ?: number ) : google . cloud . kms . v1 . ExternalProtectionLevelOptions ;
6374
+
6375
+ /**
6376
+ * Decodes an ExternalProtectionLevelOptions message from the specified reader or buffer, length delimited.
6377
+ * @param reader Reader or buffer to decode from
6378
+ * @returns ExternalProtectionLevelOptions
6379
+ * @throws {Error } If the payload is not a reader or valid buffer
6380
+ * @throws {$protobuf.util.ProtocolError } If required fields are missing
6381
+ */
6382
+ public static decodeDelimited ( reader : ( $protobuf . Reader | Uint8Array ) ) : google . cloud . kms . v1 . ExternalProtectionLevelOptions ;
6383
+
6384
+ /**
6385
+ * Verifies an ExternalProtectionLevelOptions message.
6386
+ * @param message Plain object to verify
6387
+ * @returns `null` if valid, otherwise the reason why it is not
6388
+ */
6389
+ public static verify ( message : { [ k : string ] : any } ) : ( string | null ) ;
6390
+
6391
+ /**
6392
+ * Creates an ExternalProtectionLevelOptions message from a plain object. Also converts values to their respective internal types.
6393
+ * @param object Plain object
6394
+ * @returns ExternalProtectionLevelOptions
6395
+ */
6396
+ public static fromObject ( object : { [ k : string ] : any } ) : google . cloud . kms . v1 . ExternalProtectionLevelOptions ;
6397
+
6398
+ /**
6399
+ * Creates a plain object from an ExternalProtectionLevelOptions message. Also converts values to other types if specified.
6400
+ * @param message ExternalProtectionLevelOptions
6401
+ * @param [options] Conversion options
6402
+ * @returns Plain object
6403
+ */
6404
+ public static toObject ( message : google . cloud . kms . v1 . ExternalProtectionLevelOptions , options ?: $protobuf . IConversionOptions ) : { [ k : string ] : any } ;
6405
+
6406
+ /**
6407
+ * Converts this ExternalProtectionLevelOptions to JSON.
6408
+ * @returns JSON object
6409
+ */
6410
+ public toJSON ( ) : { [ k : string ] : any } ;
6411
+ }
6412
+
6316
6413
/** Represents a KeyManagementService */
6317
6414
class KeyManagementService extends $protobuf . rpc . Service {
6318
6415
@@ -10005,6 +10102,9 @@ export namespace google {
10005
10102
10006
10103
/** LocationMetadata hsmAvailable */
10007
10104
hsmAvailable ?: ( boolean | null ) ;
10105
+
10106
+ /** LocationMetadata ekmAvailable */
10107
+ ekmAvailable ?: ( boolean | null ) ;
10008
10108
}
10009
10109
10010
10110
/** Represents a LocationMetadata. */
@@ -10019,6 +10119,9 @@ export namespace google {
10019
10119
/** LocationMetadata hsmAvailable. */
10020
10120
public hsmAvailable : boolean ;
10021
10121
10122
+ /** LocationMetadata ekmAvailable. */
10123
+ public ekmAvailable : boolean ;
10124
+
10022
10125
/**
10023
10126
* Creates a new LocationMetadata instance using the specified properties.
10024
10127
* @param [properties] Properties to set
0 commit comments