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.Decapsulate decapsulate(String name, DecapsulateRequest content) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.name - Required. The resource name of the CryptoKeyVersion to use for decapsulation.content - the DecapsulateRequestIOExceptionpublic CloudKMS.Projects.Locations.KeyRings.CryptoKeys.CryptoKeyVersions.Delete delete(String name) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.name - Required. The name of the CryptoKeyVersion to delete.IOExceptionpublic 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.ExportTrustedKeyWrappedCryptoKeyVersion exportTrustedKeyWrappedCryptoKeyVersion(String name) throws IOException
AbstractGoogleClientRequest.execute() method to invoke
the remote operation.name - Required. The name of the CryptoKeyVersion to export. The CryptoKeyVersion must have
trusted_wrapping_enabled set to true.IOExceptionpublic 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.ImportTrustedKeyWrappedCryptoKeyVersion importTrustedKeyWrappedCryptoKeyVersion(String parent, ImportTrustedKeyWrappedCryptoKeyVersionRequest content) throws IOException
AbstractGoogleClientRequest.execute() method to invoke
the remote operation.parent - Required. The name of the CryptoKey to be imported into.content - the ImportTrustedKeyWrappedCryptoKeyVersionRequestIOExceptionpublic 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.RawDecrypt rawDecrypt(String name, RawDecryptRequest 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 RawDecryptRequestIOExceptionpublic CloudKMS.Projects.Locations.KeyRings.CryptoKeys.CryptoKeyVersions.RawEncrypt rawEncrypt(String name, RawEncryptRequest content) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.name - Required. The resource name of the CryptoKeyVersion to use for encryption.content - the RawEncryptRequestIOExceptionpublic 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–2026 Google. All rights reserved.