NAME
Google::Cloud::Kms::V1::Resources::KeyRing - Compiled Protocol Buffers message class
SYNOPSIS
use Google::Cloud::Kms::V1::Resources;
my $msg = Google::Cloud::Kms::V1::Resources::KeyRing->new(
name => $value,
);
FIELDS
name
Type: String
create_time
Type: Message (.google.protobuf.Timestamp)
NAME
Google::Cloud::Kms::V1::Resources::CryptoKey - Compiled Protocol Buffers message class
SYNOPSIS
use Google::Cloud::Kms::V1::Resources;
my $msg = Google::Cloud::Kms::V1::Resources::CryptoKey->new(
name => $value,
);
FIELDS
name
Type: String
primary
Type: Message (.google.cloud.kms.v1.CryptoKeyVersion)
purpose
Type: Enum (.google.cloud.kms.v1.CryptoKey.CryptoKeyPurpose)
create_time
Type: Message (.google.protobuf.Timestamp)
next_rotation_time
Type: Message (.google.protobuf.Timestamp)
rotation_period
Type: Message (.google.protobuf.Duration)
version_template
Type: Message (.google.cloud.kms.v1.CryptoKeyVersionTemplate)
labels
Type: Message (.google.cloud.kms.v1.CryptoKey.LabelsEntry)
import_only
Type: Bool
destroy_scheduled_duration
Type: Message (.google.protobuf.Duration)
crypto_key_backend
Type: String
key_access_justifications_policy
Type: Message (.google.cloud.kms.v1.KeyAccessJustificationsPolicy)
Enum: CryptoKey::CryptoKeyPurpose
Values:
CRYPTO_KEY_PURPOSE_UNSPECIFIED=> 0ENCRYPT_DECRYPT=> 1ASYMMETRIC_SIGN=> 5ASYMMETRIC_DECRYPT=> 6RAW_ENCRYPT_DECRYPT=> 7MAC=> 9KEY_ENCAPSULATION=> 10AES_WRAPPING=> 11
NAME
Google::Cloud::Kms::V1::Resources::CryptoKeyVersionTemplate - Compiled Protocol Buffers message class
SYNOPSIS
use Google::Cloud::Kms::V1::Resources;
my $msg = Google::Cloud::Kms::V1::Resources::CryptoKeyVersionTemplate->new(
protection_level => $value,
);
FIELDS
protection_level
Type: Enum (.google.cloud.kms.v1.ProtectionLevel)
algorithm
Type: Enum (.google.cloud.kms.v1.CryptoKeyVersion.CryptoKeyVersionAlgorithm)
NAME
Google::Cloud::Kms::V1::Resources::KeyOperationAttestation - Compiled Protocol Buffers message class
SYNOPSIS
use Google::Cloud::Kms::V1::Resources;
my $msg = Google::Cloud::Kms::V1::Resources::KeyOperationAttestation->new(
format => $value,
);
FIELDS
format
Type: Enum (.google.cloud.kms.v1.KeyOperationAttestation.AttestationFormat)
content
Type: Bytes
cert_chains
Type: Message (.google.cloud.kms.v1.KeyOperationAttestation.CertificateChains)
Enum: KeyOperationAttestation::AttestationFormat
Values:
ATTESTATION_FORMAT_UNSPECIFIED=> 0CAVIUM_V1_COMPRESSED=> 3CAVIUM_V2_COMPRESSED=> 4
NAME
Google::Cloud::Kms::V1::Resources::CryptoKeyVersion - Compiled Protocol Buffers message class
SYNOPSIS
use Google::Cloud::Kms::V1::Resources;
my $msg = Google::Cloud::Kms::V1::Resources::CryptoKeyVersion->new(
name => $value,
);
FIELDS
name
Type: String
state
Type: Enum (.google.cloud.kms.v1.CryptoKeyVersion.CryptoKeyVersionState)
protection_level
Type: Enum (.google.cloud.kms.v1.ProtectionLevel)
algorithm
Type: Enum (.google.cloud.kms.v1.CryptoKeyVersion.CryptoKeyVersionAlgorithm)
attestation
Type: Message (.google.cloud.kms.v1.KeyOperationAttestation)
create_time
Type: Message (.google.protobuf.Timestamp)
generate_time
Type: Message (.google.protobuf.Timestamp)
destroy_time
Type: Message (.google.protobuf.Timestamp)
destroy_event_time
Type: Message (.google.protobuf.Timestamp)
import_job
Type: String
import_time
Type: Message (.google.protobuf.Timestamp)
import_failure_reason
Type: String
generation_failure_reason
Type: String
external_destruction_failure_reason
Type: String
external_protection_level_options
Type: Message (.google.cloud.kms.v1.ExternalProtectionLevelOptions)
reimport_eligible
Type: Bool
trusted_wrapping_enabled
Type: Bool
hsm_trusted
Type: Bool
Enum: CryptoKeyVersion::CryptoKeyVersionAlgorithm
Values:
CRYPTO_KEY_VERSION_ALGORITHM_UNSPECIFIED=> 0GOOGLE_SYMMETRIC_ENCRYPTION=> 1AES_128_GCM=> 41AES_256_GCM=> 19AES_128_CBC=> 42AES_256_CBC=> 43AES_128_CTR=> 44AES_256_CTR=> 45RSA_SIGN_PSS_2048_SHA256=> 2RSA_SIGN_PSS_3072_SHA256=> 3RSA_SIGN_PSS_4096_SHA256=> 4RSA_SIGN_PSS_4096_SHA512=> 15RSA_SIGN_PKCS1_2048_SHA256=> 5RSA_SIGN_PKCS1_3072_SHA256=> 6RSA_SIGN_PKCS1_4096_SHA256=> 7RSA_SIGN_PKCS1_4096_SHA512=> 16RSA_SIGN_RAW_PKCS1_2048=> 28RSA_SIGN_RAW_PKCS1_3072=> 29RSA_SIGN_RAW_PKCS1_4096=> 30RSA_DECRYPT_OAEP_2048_SHA256=> 8RSA_DECRYPT_OAEP_3072_SHA256=> 9RSA_DECRYPT_OAEP_4096_SHA256=> 10RSA_DECRYPT_OAEP_4096_SHA512=> 17RSA_DECRYPT_OAEP_2048_SHA1=> 37RSA_DECRYPT_OAEP_3072_SHA1=> 38RSA_DECRYPT_OAEP_4096_SHA1=> 39EC_SIGN_P256_SHA256=> 12EC_SIGN_P384_SHA384=> 13EC_SIGN_SECP256K1_SHA256=> 31EC_SIGN_ED25519=> 40HMAC_SHA256=> 32HMAC_SHA1=> 33HMAC_SHA384=> 34HMAC_SHA512=> 35HMAC_SHA224=> 36EXTERNAL_SYMMETRIC_ENCRYPTION=> 18ML_KEM_768=> 47ML_KEM_1024=> 48KEM_XWING=> 63PQ_SIGN_ML_DSA_44=> 68PQ_SIGN_ML_DSA_65=> 56PQ_SIGN_ML_DSA_87=> 69PQ_SIGN_SLH_DSA_SHA2_128S=> 57PQ_SIGN_HASH_SLH_DSA_SHA2_128S_SHA256=> 60PQ_SIGN_ML_DSA_44_EXTERNAL_MU=> 70PQ_SIGN_ML_DSA_65_EXTERNAL_MU=> 67PQ_SIGN_ML_DSA_87_EXTERNAL_MU=> 71AES_256_KWP=> 73
Enum: CryptoKeyVersion::CryptoKeyVersionState
Values:
CRYPTO_KEY_VERSION_STATE_UNSPECIFIED=> 0PENDING_GENERATION=> 5ENABLED=> 1DISABLED=> 2DESTROYED=> 3DESTROY_SCHEDULED=> 4PENDING_IMPORT=> 6IMPORT_FAILED=> 7GENERATION_FAILED=> 8PENDING_EXTERNAL_DESTRUCTION=> 9EXTERNAL_DESTRUCTION_FAILED=> 10
Enum: CryptoKeyVersion::CryptoKeyVersionView
Values:
CRYPTO_KEY_VERSION_VIEW_UNSPECIFIED=> 0FULL=> 1
NAME
Google::Cloud::Kms::V1::Resources::ChecksummedData - Compiled Protocol Buffers message class
SYNOPSIS
use Google::Cloud::Kms::V1::Resources;
my $msg = Google::Cloud::Kms::V1::Resources::ChecksummedData->new(
data => $value,
);
FIELDS
data
Type: Bytes
crc32c_checksum
Type: Message (.google.protobuf.Int64Value)
NAME
Google::Cloud::Kms::V1::Resources::PublicKey - Compiled Protocol Buffers message class
SYNOPSIS
use Google::Cloud::Kms::V1::Resources;
my $msg = Google::Cloud::Kms::V1::Resources::PublicKey->new(
pem => $value,
);
FIELDS
pem
Type: String
algorithm
Type: Enum (.google.cloud.kms.v1.CryptoKeyVersion.CryptoKeyVersionAlgorithm)
pem_crc32c
Type: Message (.google.protobuf.Int64Value)
name
Type: String
protection_level
Type: Enum (.google.cloud.kms.v1.ProtectionLevel)
public_key_format
Type: Enum (.google.cloud.kms.v1.PublicKey.PublicKeyFormat)
public_key
Type: Message (.google.cloud.kms.v1.ChecksummedData)
Enum: PublicKey::PublicKeyFormat
Values:
PUBLIC_KEY_FORMAT_UNSPECIFIED=> 0PEM=> 1DER=> 2NIST_PQC=> 3XWING_RAW_BYTES=> 4
NAME
Google::Cloud::Kms::V1::Resources::ImportJob - Compiled Protocol Buffers message class
SYNOPSIS
use Google::Cloud::Kms::V1::Resources;
my $msg = Google::Cloud::Kms::V1::Resources::ImportJob->new(
name => $value,
);
FIELDS
name
Type: String
import_method
Type: Enum (.google.cloud.kms.v1.ImportJob.ImportMethod)
protection_level
Type: Enum (.google.cloud.kms.v1.ProtectionLevel)
create_time
Type: Message (.google.protobuf.Timestamp)
generate_time
Type: Message (.google.protobuf.Timestamp)
expire_time
Type: Message (.google.protobuf.Timestamp)
expire_event_time
Type: Message (.google.protobuf.Timestamp)
state
Type: Enum (.google.cloud.kms.v1.ImportJob.ImportJobState)
public_key
Type: Message (.google.cloud.kms.v1.ImportJob.WrappingPublicKey)
public_key_format
Type: Enum (.google.cloud.kms.v1.PublicKey.PublicKeyFormat)
attestation
Type: Message (.google.cloud.kms.v1.KeyOperationAttestation)
crypto_key_backend
Type: String
Enum: ImportJob::ImportMethod
Values:
IMPORT_METHOD_UNSPECIFIED=> 0RSA_OAEP_3072_SHA1_AES_256=> 1RSA_OAEP_4096_SHA1_AES_256=> 2RSA_OAEP_3072_SHA256_AES_256=> 3RSA_OAEP_4096_SHA256_AES_256=> 4RSA_OAEP_3072_SHA256=> 5RSA_OAEP_4096_SHA256=> 6HPKE_KEM_ML_KEM_768_HKDF_SHA256_AES_256_GCM=> 8HPKE_KEM_ML_KEM_1024_HKDF_SHA256_AES_256_GCM=> 9HPKE_KEM_XWING_HKDF_SHA256_AES_256_GCM=> 10
Enum: ImportJob::ImportJobState
Values:
IMPORT_JOB_STATE_UNSPECIFIED=> 0PENDING_GENERATION=> 1ACTIVE=> 2EXPIRED=> 3
NAME
Google::Cloud::Kms::V1::Resources::ExternalProtectionLevelOptions - Compiled Protocol Buffers message class
SYNOPSIS
use Google::Cloud::Kms::V1::Resources;
my $msg = Google::Cloud::Kms::V1::Resources::ExternalProtectionLevelOptions->new(
external_key_uri => $value,
);
FIELDS
external_key_uri
Type: String
ekm_connection_key_path
Type: String
NAME
Google::Cloud::Kms::V1::Resources::KeyAccessJustificationsPolicy - Compiled Protocol Buffers message class
SYNOPSIS
use Google::Cloud::Kms::V1::Resources;
my $msg = Google::Cloud::Kms::V1::Resources::KeyAccessJustificationsPolicy->new(
allowed_access_reasons => $value,
);
FIELDS
allowed_access_reasons
Type: Enum (.google.cloud.kms.v1.AccessReason)
NAME
Google::Cloud::Kms::V1::Resources::RetiredResource - Compiled Protocol Buffers message class
SYNOPSIS
use Google::Cloud::Kms::V1::Resources;
my $msg = Google::Cloud::Kms::V1::Resources::RetiredResource->new(
name => $value,
);
FIELDS
name
Type: String
original_resource
Type: String
resource_type
Type: String
delete_time
Type: Message (.google.protobuf.Timestamp)
NAME
Google::Cloud::Kms::V1::Resources - Protocol Buffers schema definition
DESCRIPTION
Auto-generated Protocol Buffers schema definition class.
LICENSE AND COPYRIGHT
Copyright (C) 2026 Google LLC
This program is released under the Apache 2.0 license.