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 => 0

  • ENCRYPT_DECRYPT => 1

  • ASYMMETRIC_SIGN => 5

  • ASYMMETRIC_DECRYPT => 6

  • RAW_ENCRYPT_DECRYPT => 7

  • MAC => 9

  • KEY_ENCAPSULATION => 10

  • AES_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 => 0

  • CAVIUM_V1_COMPRESSED => 3

  • CAVIUM_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 => 0

  • GOOGLE_SYMMETRIC_ENCRYPTION => 1

  • AES_128_GCM => 41

  • AES_256_GCM => 19

  • AES_128_CBC => 42

  • AES_256_CBC => 43

  • AES_128_CTR => 44

  • AES_256_CTR => 45

  • RSA_SIGN_PSS_2048_SHA256 => 2

  • RSA_SIGN_PSS_3072_SHA256 => 3

  • RSA_SIGN_PSS_4096_SHA256 => 4

  • RSA_SIGN_PSS_4096_SHA512 => 15

  • RSA_SIGN_PKCS1_2048_SHA256 => 5

  • RSA_SIGN_PKCS1_3072_SHA256 => 6

  • RSA_SIGN_PKCS1_4096_SHA256 => 7

  • RSA_SIGN_PKCS1_4096_SHA512 => 16

  • RSA_SIGN_RAW_PKCS1_2048 => 28

  • RSA_SIGN_RAW_PKCS1_3072 => 29

  • RSA_SIGN_RAW_PKCS1_4096 => 30

  • RSA_DECRYPT_OAEP_2048_SHA256 => 8

  • RSA_DECRYPT_OAEP_3072_SHA256 => 9

  • RSA_DECRYPT_OAEP_4096_SHA256 => 10

  • RSA_DECRYPT_OAEP_4096_SHA512 => 17

  • RSA_DECRYPT_OAEP_2048_SHA1 => 37

  • RSA_DECRYPT_OAEP_3072_SHA1 => 38

  • RSA_DECRYPT_OAEP_4096_SHA1 => 39

  • EC_SIGN_P256_SHA256 => 12

  • EC_SIGN_P384_SHA384 => 13

  • EC_SIGN_SECP256K1_SHA256 => 31

  • EC_SIGN_ED25519 => 40

  • HMAC_SHA256 => 32

  • HMAC_SHA1 => 33

  • HMAC_SHA384 => 34

  • HMAC_SHA512 => 35

  • HMAC_SHA224 => 36

  • EXTERNAL_SYMMETRIC_ENCRYPTION => 18

  • ML_KEM_768 => 47

  • ML_KEM_1024 => 48

  • KEM_XWING => 63

  • PQ_SIGN_ML_DSA_44 => 68

  • PQ_SIGN_ML_DSA_65 => 56

  • PQ_SIGN_ML_DSA_87 => 69

  • PQ_SIGN_SLH_DSA_SHA2_128S => 57

  • PQ_SIGN_HASH_SLH_DSA_SHA2_128S_SHA256 => 60

  • PQ_SIGN_ML_DSA_44_EXTERNAL_MU => 70

  • PQ_SIGN_ML_DSA_65_EXTERNAL_MU => 67

  • PQ_SIGN_ML_DSA_87_EXTERNAL_MU => 71

  • AES_256_KWP => 73

Enum: CryptoKeyVersion::CryptoKeyVersionState

Values:

  • CRYPTO_KEY_VERSION_STATE_UNSPECIFIED => 0

  • PENDING_GENERATION => 5

  • ENABLED => 1

  • DISABLED => 2

  • DESTROYED => 3

  • DESTROY_SCHEDULED => 4

  • PENDING_IMPORT => 6

  • IMPORT_FAILED => 7

  • GENERATION_FAILED => 8

  • PENDING_EXTERNAL_DESTRUCTION => 9

  • EXTERNAL_DESTRUCTION_FAILED => 10

Enum: CryptoKeyVersion::CryptoKeyVersionView

Values:

  • CRYPTO_KEY_VERSION_VIEW_UNSPECIFIED => 0

  • FULL => 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 => 0

  • PEM => 1

  • DER => 2

  • NIST_PQC => 3

  • XWING_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 => 0

  • RSA_OAEP_3072_SHA1_AES_256 => 1

  • RSA_OAEP_4096_SHA1_AES_256 => 2

  • RSA_OAEP_3072_SHA256_AES_256 => 3

  • RSA_OAEP_4096_SHA256_AES_256 => 4

  • RSA_OAEP_3072_SHA256 => 5

  • RSA_OAEP_4096_SHA256 => 6

  • HPKE_KEM_ML_KEM_768_HKDF_SHA256_AES_256_GCM => 8

  • HPKE_KEM_ML_KEM_1024_HKDF_SHA256_AES_256_GCM => 9

  • HPKE_KEM_XWING_HKDF_SHA256_AES_256_GCM => 10

Enum: ImportJob::ImportJobState

Values:

  • IMPORT_JOB_STATE_UNSPECIFIED => 0

  • PENDING_GENERATION => 1

  • ACTIVE => 2

  • EXPIRED => 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.