Represents a KeyManagementService
Inheritance
$protobuf.rpc.Service > protos.google.cloud.kms.v1.KeyManagementServicePackage
@google-cloud/kms!Constructors
(constructor)(rpcImpl, requestDelimited, responseDelimited)
constructor(rpcImpl: $protobuf.RPCImpl, requestDelimited?: boolean, responseDelimited?: boolean);
Constructs a new KeyManagementService service.
Type | Name | Description |
---|---|---|
$protobuf.RPCImpl | rpcImpl |
RPC implementation |
boolean | requestDelimited |
Whether requests are length-delimited |
boolean | responseDelimited |
Whether responses are length-delimited |
Methods
asymmetricDecrypt(request, callback)
public asymmetricDecrypt(request: google.cloud.kms.v1.IAsymmetricDecryptRequest, callback: google.cloud.kms.v1.KeyManagementService.AsymmetricDecryptCallback): void;
Calls AsymmetricDecrypt.
Type | Name | Description |
---|---|---|
IAsymmetricDecryptRequest | request |
AsymmetricDecryptRequest message or plain object |
google.cloud.kms.v1.KeyManagementService.AsymmetricDecryptCallback | callback |
Node-style callback called with the error, if any, and AsymmetricDecryptResponse |
Type | Description |
---|---|
void |
asymmetricDecrypt(request)
public asymmetricDecrypt(request: google.cloud.kms.v1.IAsymmetricDecryptRequest): Promise<google.cloud.kms.v1.AsymmetricDecryptResponse>;
Calls AsymmetricDecrypt.
Type | Name | Description |
---|---|---|
IAsymmetricDecryptRequest | request |
AsymmetricDecryptRequest message or plain object |
Type | Description |
---|---|
Promise<google.cloud.kms.v1.AsymmetricDecryptResponse> | Promise |
asymmetricSign(request, callback)
public asymmetricSign(request: google.cloud.kms.v1.IAsymmetricSignRequest, callback: google.cloud.kms.v1.KeyManagementService.AsymmetricSignCallback): void;
Calls AsymmetricSign.
Type | Name | Description |
---|---|---|
google.cloud.kms.v1.IAsymmetricSignRequest | request |
AsymmetricSignRequest message or plain object |
google.cloud.kms.v1.KeyManagementService.AsymmetricSignCallback | callback |
Node-style callback called with the error, if any, and AsymmetricSignResponse |
Type | Description |
---|---|
void |
asymmetricSign(request)
public asymmetricSign(request: google.cloud.kms.v1.IAsymmetricSignRequest): Promise<google.cloud.kms.v1.AsymmetricSignResponse>;
Calls AsymmetricSign.
Type | Name | Description |
---|---|---|
google.cloud.kms.v1.IAsymmetricSignRequest | request |
AsymmetricSignRequest message or plain object |
Type | Description |
---|---|
Promise<google.cloud.kms.v1.AsymmetricSignResponse> | Promise |
create(rpcImpl, requestDelimited, responseDelimited)
public static create(rpcImpl: $protobuf.RPCImpl, requestDelimited?: boolean, responseDelimited?: boolean): KeyManagementService;
Creates new KeyManagementService service using the specified rpc implementation.
Type | Name | Description |
---|---|---|
$protobuf.RPCImpl | rpcImpl |
RPC implementation |
boolean | requestDelimited |
Whether requests are length-delimited |
boolean | responseDelimited |
Whether responses are length-delimited |
Type | Description |
---|---|
KeyManagementService | RPC service. Useful where requests and/or responses are streamed. |
createCryptoKey(request, callback)
public createCryptoKey(request: google.cloud.kms.v1.ICreateCryptoKeyRequest, callback: google.cloud.kms.v1.KeyManagementService.CreateCryptoKeyCallback): void;
Calls CreateCryptoKey.
Type | Name | Description |
---|---|---|
ICreateCryptoKeyRequest | request |
CreateCryptoKeyRequest message or plain object |
google.cloud.kms.v1.KeyManagementService.CreateCryptoKeyCallback | callback |
Node-style callback called with the error, if any, and CryptoKey |
Type | Description |
---|---|
void |
createCryptoKey(request)
public createCryptoKey(request: google.cloud.kms.v1.ICreateCryptoKeyRequest): Promise<google.cloud.kms.v1.CryptoKey>;
Calls CreateCryptoKey.
Type | Name | Description |
---|---|---|
ICreateCryptoKeyRequest | request |
CreateCryptoKeyRequest message or plain object |
Type | Description |
---|---|
Promise<google.cloud.kms.v1.CryptoKey> | Promise |
createCryptoKeyVersion(request, callback)
public createCryptoKeyVersion(request: google.cloud.kms.v1.ICreateCryptoKeyVersionRequest, callback: google.cloud.kms.v1.KeyManagementService.CreateCryptoKeyVersionCallback): void;
Calls CreateCryptoKeyVersion.
Type | Name | Description |
---|---|---|
google.cloud.kms.v1.ICreateCryptoKeyVersionRequest | request |
CreateCryptoKeyVersionRequest message or plain object |
google.cloud.kms.v1.KeyManagementService.CreateCryptoKeyVersionCallback | callback |
Node-style callback called with the error, if any, and CryptoKeyVersion |
Type | Description |
---|---|
void |
createCryptoKeyVersion(request)
public createCryptoKeyVersion(request: google.cloud.kms.v1.ICreateCryptoKeyVersionRequest): Promise<google.cloud.kms.v1.CryptoKeyVersion>;
Calls CreateCryptoKeyVersion.
Type | Name | Description |
---|---|---|
google.cloud.kms.v1.ICreateCryptoKeyVersionRequest | request |
CreateCryptoKeyVersionRequest message or plain object |
Type | Description |
---|---|
Promise<google.cloud.kms.v1.CryptoKeyVersion> | Promise |
createImportJob(request, callback)
public createImportJob(request: google.cloud.kms.v1.ICreateImportJobRequest, callback: google.cloud.kms.v1.KeyManagementService.CreateImportJobCallback): void;
Calls CreateImportJob.
Type | Name | Description |
---|---|---|
google.cloud.kms.v1.ICreateImportJobRequest | request |
CreateImportJobRequest message or plain object |
google.cloud.kms.v1.KeyManagementService.CreateImportJobCallback | callback |
Node-style callback called with the error, if any, and ImportJob |
Type | Description |
---|---|
void |
createImportJob(request)
public createImportJob(request: google.cloud.kms.v1.ICreateImportJobRequest): Promise<google.cloud.kms.v1.ImportJob>;
Calls CreateImportJob.
Type | Name | Description |
---|---|---|
google.cloud.kms.v1.ICreateImportJobRequest | request |
CreateImportJobRequest message or plain object |
Type | Description |
---|---|
Promise<google.cloud.kms.v1.ImportJob> | Promise |
createKeyRing(request, callback)
public createKeyRing(request: google.cloud.kms.v1.ICreateKeyRingRequest, callback: google.cloud.kms.v1.KeyManagementService.CreateKeyRingCallback): void;
Calls CreateKeyRing.
Type | Name | Description |
---|---|---|
google.cloud.kms.v1.ICreateKeyRingRequest | request |
CreateKeyRingRequest message or plain object |
google.cloud.kms.v1.KeyManagementService.CreateKeyRingCallback | callback |
Node-style callback called with the error, if any, and KeyRing |
Type | Description |
---|---|
void |
createKeyRing(request)
public createKeyRing(request: google.cloud.kms.v1.ICreateKeyRingRequest): Promise<google.cloud.kms.v1.KeyRing>;
Calls CreateKeyRing.
Type | Name | Description |
---|---|---|
google.cloud.kms.v1.ICreateKeyRingRequest | request |
CreateKeyRingRequest message or plain object |
Type | Description |
---|---|
Promise<google.cloud.kms.v1.KeyRing> | Promise |
decrypt(request, callback)
public decrypt(request: google.cloud.kms.v1.IDecryptRequest, callback: google.cloud.kms.v1.KeyManagementService.DecryptCallback): void;
Calls Decrypt.
Type | Name | Description |
---|---|---|
google.cloud.kms.v1.IDecryptRequest | request |
DecryptRequest message or plain object |
google.cloud.kms.v1.KeyManagementService.DecryptCallback | callback |
Node-style callback called with the error, if any, and DecryptResponse |
Type | Description |
---|---|
void |
decrypt(request)
public decrypt(request: google.cloud.kms.v1.IDecryptRequest): Promise<google.cloud.kms.v1.DecryptResponse>;
Calls Decrypt.
Type | Name | Description |
---|---|---|
google.cloud.kms.v1.IDecryptRequest | request |
DecryptRequest message or plain object |
Type | Description |
---|---|
Promise<google.cloud.kms.v1.DecryptResponse> | Promise |
destroyCryptoKeyVersion(request, callback)
public destroyCryptoKeyVersion(request: google.cloud.kms.v1.IDestroyCryptoKeyVersionRequest, callback: google.cloud.kms.v1.KeyManagementService.DestroyCryptoKeyVersionCallback): void;
Calls DestroyCryptoKeyVersion.
Type | Name | Description |
---|---|---|
google.cloud.kms.v1.IDestroyCryptoKeyVersionRequest | request |
DestroyCryptoKeyVersionRequest message or plain object |
google.cloud.kms.v1.KeyManagementService.DestroyCryptoKeyVersionCallback | callback |
Node-style callback called with the error, if any, and CryptoKeyVersion |
Type | Description |
---|---|
void |
destroyCryptoKeyVersion(request)
public destroyCryptoKeyVersion(request: google.cloud.kms.v1.IDestroyCryptoKeyVersionRequest): Promise<google.cloud.kms.v1.CryptoKeyVersion>;
Calls DestroyCryptoKeyVersion.
Type | Name | Description |
---|---|---|
google.cloud.kms.v1.IDestroyCryptoKeyVersionRequest | request |
DestroyCryptoKeyVersionRequest message or plain object |
Type | Description |
---|---|
Promise<google.cloud.kms.v1.CryptoKeyVersion> | Promise |
encrypt(request, callback)
public encrypt(request: google.cloud.kms.v1.IEncryptRequest, callback: google.cloud.kms.v1.KeyManagementService.EncryptCallback): void;
Calls Encrypt.
Type | Name | Description |
---|---|---|
google.cloud.kms.v1.IEncryptRequest | request |
EncryptRequest message or plain object |
google.cloud.kms.v1.KeyManagementService.EncryptCallback | callback |
Node-style callback called with the error, if any, and EncryptResponse |
Type | Description |
---|---|
void |
encrypt(request)
public encrypt(request: google.cloud.kms.v1.IEncryptRequest): Promise<google.cloud.kms.v1.EncryptResponse>;
Calls Encrypt.
Type | Name | Description |
---|---|---|
google.cloud.kms.v1.IEncryptRequest | request |
EncryptRequest message or plain object |
Type | Description |
---|---|
Promise<google.cloud.kms.v1.EncryptResponse> | Promise |
generateRandomBytes(request, callback)
public generateRandomBytes(request: google.cloud.kms.v1.IGenerateRandomBytesRequest, callback: google.cloud.kms.v1.KeyManagementService.GenerateRandomBytesCallback): void;
Calls GenerateRandomBytes.
Type | Name | Description |
---|---|---|
IGenerateRandomBytesRequest | request |
GenerateRandomBytesRequest message or plain object |
google.cloud.kms.v1.KeyManagementService.GenerateRandomBytesCallback | callback |
Node-style callback called with the error, if any, and GenerateRandomBytesResponse |
Type | Description |
---|---|
void |
generateRandomBytes(request)
public generateRandomBytes(request: google.cloud.kms.v1.IGenerateRandomBytesRequest): Promise<google.cloud.kms.v1.GenerateRandomBytesResponse>;
Calls GenerateRandomBytes.
Type | Name | Description |
---|---|---|
IGenerateRandomBytesRequest | request |
GenerateRandomBytesRequest message or plain object |
Type | Description |
---|---|
Promise<google.cloud.kms.v1.GenerateRandomBytesResponse> | Promise |
getCryptoKey(request, callback)
public getCryptoKey(request: google.cloud.kms.v1.IGetCryptoKeyRequest, callback: google.cloud.kms.v1.KeyManagementService.GetCryptoKeyCallback): void;
Calls GetCryptoKey.
Type | Name | Description |
---|---|---|
IGetCryptoKeyRequest | request |
GetCryptoKeyRequest message or plain object |
google.cloud.kms.v1.KeyManagementService.GetCryptoKeyCallback | callback |
Node-style callback called with the error, if any, and CryptoKey |
Type | Description |
---|---|
void |
getCryptoKey(request)
public getCryptoKey(request: google.cloud.kms.v1.IGetCryptoKeyRequest): Promise<google.cloud.kms.v1.CryptoKey>;
Calls GetCryptoKey.
Type | Name | Description |
---|---|---|
IGetCryptoKeyRequest | request |
GetCryptoKeyRequest message or plain object |
Type | Description |
---|---|
Promise<google.cloud.kms.v1.CryptoKey> | Promise |
getCryptoKeyVersion(request, callback)
public getCryptoKeyVersion(request: google.cloud.kms.v1.IGetCryptoKeyVersionRequest, callback: google.cloud.kms.v1.KeyManagementService.GetCryptoKeyVersionCallback): void;
Calls GetCryptoKeyVersion.
Type | Name | Description |
---|---|---|
IGetCryptoKeyVersionRequest | request |
GetCryptoKeyVersionRequest message or plain object |
google.cloud.kms.v1.KeyManagementService.GetCryptoKeyVersionCallback | callback |
Node-style callback called with the error, if any, and CryptoKeyVersion |
Type | Description |
---|---|
void |
getCryptoKeyVersion(request)
public getCryptoKeyVersion(request: google.cloud.kms.v1.IGetCryptoKeyVersionRequest): Promise<google.cloud.kms.v1.CryptoKeyVersion>;
Calls GetCryptoKeyVersion.
Type | Name | Description |
---|---|---|
IGetCryptoKeyVersionRequest | request |
GetCryptoKeyVersionRequest message or plain object |
Type | Description |
---|---|
Promise<google.cloud.kms.v1.CryptoKeyVersion> | Promise |
getImportJob(request, callback)
public getImportJob(request: google.cloud.kms.v1.IGetImportJobRequest, callback: google.cloud.kms.v1.KeyManagementService.GetImportJobCallback): void;
Calls GetImportJob.
Type | Name | Description |
---|---|---|
google.cloud.kms.v1.IGetImportJobRequest | request |
GetImportJobRequest message or plain object |
google.cloud.kms.v1.KeyManagementService.GetImportJobCallback | callback |
Node-style callback called with the error, if any, and ImportJob |
Type | Description |
---|---|
void |
getImportJob(request)
public getImportJob(request: google.cloud.kms.v1.IGetImportJobRequest): Promise<google.cloud.kms.v1.ImportJob>;
Calls GetImportJob.
Type | Name | Description |
---|---|---|
google.cloud.kms.v1.IGetImportJobRequest | request |
GetImportJobRequest message or plain object |
Type | Description |
---|---|
Promise<google.cloud.kms.v1.ImportJob> | Promise |
getKeyRing(request, callback)
public getKeyRing(request: google.cloud.kms.v1.IGetKeyRingRequest, callback: google.cloud.kms.v1.KeyManagementService.GetKeyRingCallback): void;
Calls GetKeyRing.
Type | Name | Description |
---|---|---|
google.cloud.kms.v1.IGetKeyRingRequest | request |
GetKeyRingRequest message or plain object |
google.cloud.kms.v1.KeyManagementService.GetKeyRingCallback | callback |
Node-style callback called with the error, if any, and KeyRing |
Type | Description |
---|---|
void |
getKeyRing(request)
public getKeyRing(request: google.cloud.kms.v1.IGetKeyRingRequest): Promise<google.cloud.kms.v1.KeyRing>;
Calls GetKeyRing.
Type | Name | Description |
---|---|---|
google.cloud.kms.v1.IGetKeyRingRequest | request |
GetKeyRingRequest message or plain object |
Type | Description |
---|---|
Promise<google.cloud.kms.v1.KeyRing> | Promise |
getPublicKey(request, callback)
public getPublicKey(request: google.cloud.kms.v1.IGetPublicKeyRequest, callback: google.cloud.kms.v1.KeyManagementService.GetPublicKeyCallback): void;
Calls GetPublicKey.
Type | Name | Description |
---|---|---|
google.cloud.kms.v1.IGetPublicKeyRequest | request |
GetPublicKeyRequest message or plain object |
google.cloud.kms.v1.KeyManagementService.GetPublicKeyCallback | callback |
Node-style callback called with the error, if any, and PublicKey |
Type | Description |
---|---|
void |
getPublicKey(request)
public getPublicKey(request: google.cloud.kms.v1.IGetPublicKeyRequest): Promise<google.cloud.kms.v1.PublicKey>;
Calls GetPublicKey.
Type | Name | Description |
---|---|---|
google.cloud.kms.v1.IGetPublicKeyRequest | request |
GetPublicKeyRequest message or plain object |
Type | Description |
---|---|
Promise<google.cloud.kms.v1.PublicKey> | Promise |
importCryptoKeyVersion(request, callback)
public importCryptoKeyVersion(request: google.cloud.kms.v1.IImportCryptoKeyVersionRequest, callback: google.cloud.kms.v1.KeyManagementService.ImportCryptoKeyVersionCallback): void;
Calls ImportCryptoKeyVersion.
Type | Name | Description |
---|---|---|
google.cloud.kms.v1.IImportCryptoKeyVersionRequest | request |
ImportCryptoKeyVersionRequest message or plain object |
google.cloud.kms.v1.KeyManagementService.ImportCryptoKeyVersionCallback | callback |
Node-style callback called with the error, if any, and CryptoKeyVersion |
Type | Description |
---|---|
void |
importCryptoKeyVersion(request)
public importCryptoKeyVersion(request: google.cloud.kms.v1.IImportCryptoKeyVersionRequest): Promise<google.cloud.kms.v1.CryptoKeyVersion>;
Calls ImportCryptoKeyVersion.
Type | Name | Description |
---|---|---|
google.cloud.kms.v1.IImportCryptoKeyVersionRequest | request |
ImportCryptoKeyVersionRequest message or plain object |
Type | Description |
---|---|
Promise<google.cloud.kms.v1.CryptoKeyVersion> | Promise |
listCryptoKeys(request, callback)
public listCryptoKeys(request: google.cloud.kms.v1.IListCryptoKeysRequest, callback: google.cloud.kms.v1.KeyManagementService.ListCryptoKeysCallback): void;
Calls ListCryptoKeys.
Type | Name | Description |
---|---|---|
google.cloud.kms.v1.IListCryptoKeysRequest | request |
ListCryptoKeysRequest message or plain object |
google.cloud.kms.v1.KeyManagementService.ListCryptoKeysCallback | callback |
Node-style callback called with the error, if any, and ListCryptoKeysResponse |
Type | Description |
---|---|
void |
listCryptoKeys(request)
public listCryptoKeys(request: google.cloud.kms.v1.IListCryptoKeysRequest): Promise<google.cloud.kms.v1.ListCryptoKeysResponse>;
Calls ListCryptoKeys.
Type | Name | Description |
---|---|---|
google.cloud.kms.v1.IListCryptoKeysRequest | request |
ListCryptoKeysRequest message or plain object |
Type | Description |
---|---|
Promise<google.cloud.kms.v1.ListCryptoKeysResponse> | Promise |
listCryptoKeyVersions(request, callback)
public listCryptoKeyVersions(request: google.cloud.kms.v1.IListCryptoKeyVersionsRequest, callback: google.cloud.kms.v1.KeyManagementService.ListCryptoKeyVersionsCallback): void;
Calls ListCryptoKeyVersions.
Type | Name | Description |
---|---|---|
IListCryptoKeyVersionsRequest | request |
ListCryptoKeyVersionsRequest message or plain object |
google.cloud.kms.v1.KeyManagementService.ListCryptoKeyVersionsCallback | callback |
Node-style callback called with the error, if any, and ListCryptoKeyVersionsResponse |
Type | Description |
---|---|
void |
listCryptoKeyVersions(request)
public listCryptoKeyVersions(request: google.cloud.kms.v1.IListCryptoKeyVersionsRequest): Promise<google.cloud.kms.v1.ListCryptoKeyVersionsResponse>;
Calls ListCryptoKeyVersions.
Type | Name | Description |
---|---|---|
IListCryptoKeyVersionsRequest | request |
ListCryptoKeyVersionsRequest message or plain object |
Type | Description |
---|---|
Promise<google.cloud.kms.v1.ListCryptoKeyVersionsResponse> | Promise |
listImportJobs(request, callback)
public listImportJobs(request: google.cloud.kms.v1.IListImportJobsRequest, callback: google.cloud.kms.v1.KeyManagementService.ListImportJobsCallback): void;
Calls ListImportJobs.
Type | Name | Description |
---|---|---|
google.cloud.kms.v1.IListImportJobsRequest | request |
ListImportJobsRequest message or plain object |
google.cloud.kms.v1.KeyManagementService.ListImportJobsCallback | callback |
Node-style callback called with the error, if any, and ListImportJobsResponse |
Type | Description |
---|---|
void |
listImportJobs(request)
public listImportJobs(request: google.cloud.kms.v1.IListImportJobsRequest): Promise<google.cloud.kms.v1.ListImportJobsResponse>;
Calls ListImportJobs.
Type | Name | Description |
---|---|---|
google.cloud.kms.v1.IListImportJobsRequest | request |
ListImportJobsRequest message or plain object |
Type | Description |
---|---|
Promise<google.cloud.kms.v1.ListImportJobsResponse> | Promise |
listKeyRings(request, callback)
public listKeyRings(request: google.cloud.kms.v1.IListKeyRingsRequest, callback: google.cloud.kms.v1.KeyManagementService.ListKeyRingsCallback): void;
Calls ListKeyRings.
Type | Name | Description |
---|---|---|
google.cloud.kms.v1.IListKeyRingsRequest | request |
ListKeyRingsRequest message or plain object |
google.cloud.kms.v1.KeyManagementService.ListKeyRingsCallback | callback |
Node-style callback called with the error, if any, and ListKeyRingsResponse |
Type | Description |
---|---|
void |
listKeyRings(request)
public listKeyRings(request: google.cloud.kms.v1.IListKeyRingsRequest): Promise<google.cloud.kms.v1.ListKeyRingsResponse>;
Calls ListKeyRings.
Type | Name | Description |
---|---|---|
google.cloud.kms.v1.IListKeyRingsRequest | request |
ListKeyRingsRequest message or plain object |
Type | Description |
---|---|
Promise<google.cloud.kms.v1.ListKeyRingsResponse> | Promise |
macSign(request, callback)
public macSign(request: google.cloud.kms.v1.IMacSignRequest, callback: google.cloud.kms.v1.KeyManagementService.MacSignCallback): void;
Calls MacSign.
Type | Name | Description |
---|---|---|
IMacSignRequest | request |
MacSignRequest message or plain object |
google.cloud.kms.v1.KeyManagementService.MacSignCallback | callback |
Node-style callback called with the error, if any, and MacSignResponse |
Type | Description |
---|---|
void |
macSign(request)
public macSign(request: google.cloud.kms.v1.IMacSignRequest): Promise<google.cloud.kms.v1.MacSignResponse>;
Calls MacSign.
Type | Name | Description |
---|---|---|
IMacSignRequest | request |
MacSignRequest message or plain object |
Type | Description |
---|---|
Promise<google.cloud.kms.v1.MacSignResponse> | Promise |
macVerify(request, callback)
public macVerify(request: google.cloud.kms.v1.IMacVerifyRequest, callback: google.cloud.kms.v1.KeyManagementService.MacVerifyCallback): void;
Calls MacVerify.
Type | Name | Description |
---|---|---|
IMacVerifyRequest | request |
MacVerifyRequest message or plain object |
google.cloud.kms.v1.KeyManagementService.MacVerifyCallback | callback |
Node-style callback called with the error, if any, and MacVerifyResponse |
Type | Description |
---|---|
void |
macVerify(request)
public macVerify(request: google.cloud.kms.v1.IMacVerifyRequest): Promise<google.cloud.kms.v1.MacVerifyResponse>;
Calls MacVerify.
Type | Name | Description |
---|---|---|
IMacVerifyRequest | request |
MacVerifyRequest message or plain object |
Type | Description |
---|---|
Promise<google.cloud.kms.v1.MacVerifyResponse> | Promise |
restoreCryptoKeyVersion(request, callback)
public restoreCryptoKeyVersion(request: google.cloud.kms.v1.IRestoreCryptoKeyVersionRequest, callback: google.cloud.kms.v1.KeyManagementService.RestoreCryptoKeyVersionCallback): void;
Calls RestoreCryptoKeyVersion.
Type | Name | Description |
---|---|---|
google.cloud.kms.v1.IRestoreCryptoKeyVersionRequest | request |
RestoreCryptoKeyVersionRequest message or plain object |
google.cloud.kms.v1.KeyManagementService.RestoreCryptoKeyVersionCallback | callback |
Node-style callback called with the error, if any, and CryptoKeyVersion |
Type | Description |
---|---|
void |
restoreCryptoKeyVersion(request)
public restoreCryptoKeyVersion(request: google.cloud.kms.v1.IRestoreCryptoKeyVersionRequest): Promise<google.cloud.kms.v1.CryptoKeyVersion>;
Calls RestoreCryptoKeyVersion.
Type | Name | Description |
---|---|---|
google.cloud.kms.v1.IRestoreCryptoKeyVersionRequest | request |
RestoreCryptoKeyVersionRequest message or plain object |
Type | Description |
---|---|
Promise<google.cloud.kms.v1.CryptoKeyVersion> | Promise |
updateCryptoKey(request, callback)
public updateCryptoKey(request: google.cloud.kms.v1.IUpdateCryptoKeyRequest, callback: google.cloud.kms.v1.KeyManagementService.UpdateCryptoKeyCallback): void;
Calls UpdateCryptoKey.
Type | Name | Description |
---|---|---|
IUpdateCryptoKeyRequest | request |
UpdateCryptoKeyRequest message or plain object |
google.cloud.kms.v1.KeyManagementService.UpdateCryptoKeyCallback | callback |
Node-style callback called with the error, if any, and CryptoKey |
Type | Description |
---|---|
void |
updateCryptoKey(request)
public updateCryptoKey(request: google.cloud.kms.v1.IUpdateCryptoKeyRequest): Promise<google.cloud.kms.v1.CryptoKey>;
Calls UpdateCryptoKey.
Type | Name | Description |
---|---|---|
IUpdateCryptoKeyRequest | request |
UpdateCryptoKeyRequest message or plain object |
Type | Description |
---|---|
Promise<google.cloud.kms.v1.CryptoKey> | Promise |
updateCryptoKeyPrimaryVersion(request, callback)
public updateCryptoKeyPrimaryVersion(request: google.cloud.kms.v1.IUpdateCryptoKeyPrimaryVersionRequest, callback: google.cloud.kms.v1.KeyManagementService.UpdateCryptoKeyPrimaryVersionCallback): void;
Calls UpdateCryptoKeyPrimaryVersion.
Type | Name | Description |
---|---|---|
IUpdateCryptoKeyPrimaryVersionRequest | request |
UpdateCryptoKeyPrimaryVersionRequest message or plain object |
google.cloud.kms.v1.KeyManagementService.UpdateCryptoKeyPrimaryVersionCallback | callback |
Node-style callback called with the error, if any, and CryptoKey |
Type | Description |
---|---|
void |
updateCryptoKeyPrimaryVersion(request)
public updateCryptoKeyPrimaryVersion(request: google.cloud.kms.v1.IUpdateCryptoKeyPrimaryVersionRequest): Promise<google.cloud.kms.v1.CryptoKey>;
Calls UpdateCryptoKeyPrimaryVersion.
Type | Name | Description |
---|---|---|
IUpdateCryptoKeyPrimaryVersionRequest | request |
UpdateCryptoKeyPrimaryVersionRequest message or plain object |
Type | Description |
---|---|
Promise<google.cloud.kms.v1.CryptoKey> | Promise |
updateCryptoKeyVersion(request, callback)
public updateCryptoKeyVersion(request: google.cloud.kms.v1.IUpdateCryptoKeyVersionRequest, callback: google.cloud.kms.v1.KeyManagementService.UpdateCryptoKeyVersionCallback): void;
Calls UpdateCryptoKeyVersion.
Type | Name | Description |
---|---|---|
IUpdateCryptoKeyVersionRequest | request |
UpdateCryptoKeyVersionRequest message or plain object |
google.cloud.kms.v1.KeyManagementService.UpdateCryptoKeyVersionCallback | callback |
Node-style callback called with the error, if any, and CryptoKeyVersion |
Type | Description |
---|---|
void |
updateCryptoKeyVersion(request)
public updateCryptoKeyVersion(request: google.cloud.kms.v1.IUpdateCryptoKeyVersionRequest): Promise<google.cloud.kms.v1.CryptoKeyVersion>;
Calls UpdateCryptoKeyVersion.
Type | Name | Description |
---|---|---|
IUpdateCryptoKeyVersionRequest | request |
UpdateCryptoKeyVersionRequest message or plain object |
Type | Description |
---|---|
Promise<google.cloud.kms.v1.CryptoKeyVersion> | Promise |