public class CloudKMS.Projects.Locations.KeyRings.CryptoKeys.CryptoKeyVersions extends Object
| Constructor and Description |
|---|
CryptoKeyVersions() |
public CloudKMS.Projects.Locations.KeyRings.CryptoKeys.CryptoKeyVersions.AsymmetricDecrypt asymmetricDecrypt(String name, AsymmetricDecryptRequest content) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.name - Required. The resource name of the CryptoKeyVersion to use for decryption.content - the AsymmetricDecryptRequestIOExceptionpublic CloudKMS.Projects.Locations.KeyRings.CryptoKeys.CryptoKeyVersions.AsymmetricSign asymmetricSign(String name, AsymmetricSignRequest content) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.name - Required. The resource name of the CryptoKeyVersion to use for signing.content - the AsymmetricSignRequestIOExceptionpublic CloudKMS.Projects.Locations.KeyRings.CryptoKeys.CryptoKeyVersions.Create create(String parent, CryptoKeyVersion content) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.parent - Required. The name of the CryptoKey associated with the CryptoKeyVersions.content - the CryptoKeyVersionIOExceptionpublic CloudKMS.Projects.Locations.KeyRings.CryptoKeys.CryptoKeyVersions.Destroy destroy(String name, DestroyCryptoKeyVersionRequest content) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.name - Required. The resource name of the CryptoKeyVersion to destroy.content - the DestroyCryptoKeyVersionRequestIOExceptionpublic CloudKMS.Projects.Locations.KeyRings.CryptoKeys.CryptoKeyVersions.Get get(String name) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.name - Required. The name of the CryptoKeyVersion to get.IOExceptionpublic CloudKMS.Projects.Locations.KeyRings.CryptoKeys.CryptoKeyVersions.GetPublicKey getPublicKey(String name) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.name - Required. The name of the CryptoKeyVersion public key to get.IOExceptionpublic CloudKMS.Projects.Locations.KeyRings.CryptoKeys.CryptoKeyVersions.CloudKMSImport cloudkmsImport(String parent, ImportCryptoKeyVersionRequest content) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.parent - Required. The name of the CryptoKey to be imported into. The create permission is only required on
this key when creating a new CryptoKeyVersion.content - the ImportCryptoKeyVersionRequestIOExceptionpublic CloudKMS.Projects.Locations.KeyRings.CryptoKeys.CryptoKeyVersions.List list(String parent) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.parent - Required. The resource name of the CryptoKey to list, in the format
`projects/locations/keyRings/cryptoKeys`.IOExceptionpublic CloudKMS.Projects.Locations.KeyRings.CryptoKeys.CryptoKeyVersions.MacSign macSign(String name, MacSignRequest content) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.name - Required. The resource name of the CryptoKeyVersion to use for signing.content - the MacSignRequestIOExceptionpublic CloudKMS.Projects.Locations.KeyRings.CryptoKeys.CryptoKeyVersions.MacVerify macVerify(String name, MacVerifyRequest content) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.name - Required. The resource name of the CryptoKeyVersion to use for verification.content - the MacVerifyRequestIOExceptionpublic CloudKMS.Projects.Locations.KeyRings.CryptoKeys.CryptoKeyVersions.Patch patch(String name, CryptoKeyVersion content) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.name - Output only. The resource name for this CryptoKeyVersion in the format
`projects/locations/keyRings/cryptoKeys/cryptoKeyVersions`.content - the CryptoKeyVersionIOExceptionpublic CloudKMS.Projects.Locations.KeyRings.CryptoKeys.CryptoKeyVersions.Restore restore(String name, RestoreCryptoKeyVersionRequest content) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.name - Required. The resource name of the CryptoKeyVersion to restore.content - the RestoreCryptoKeyVersionRequestIOExceptionCopyright © 2011–2022 Google. All rights reserved.