NAME

Google::Cloud::Agentregistry::V1::SkillEncryptionSpec - Compiled Protocol Buffers messages for google/cloud/agentregistry/v1/skill_encryption_spec.proto

SYNOPSIS

use Google::Cloud::Agentregistry::V1::SkillEncryptionSpec;

my $msg = Google::Cloud::Agentregistry::V1::SkillEncryptionSpec::SkillEncryptionSpec->new({
    name => $name,
    crypto_key_name => $crypto_key_name,
    create_time => $create_time,
    update_time => $update_time,
});

# Read or update a field
my $val = $msg->name();

# Binary wire-format roundtrip
my $bytes   = $msg->serialize();
my $decoded = Google::Cloud::Agentregistry::V1::SkillEncryptionSpec::SkillEncryptionSpec->parse($bytes);

# Canonical ProtoJSON
my $json = $msg->to_json();

DESCRIPTION

Auto-generated Protobuf message classes compiled from google/cloud/agentregistry/v1/skill_encryption_spec.proto. All message classes inherit from Protobuf::Message and support new(), serialize(), parse(), to_json(), from_json(), to_text(), and to_perl().

MESSAGES

Google::Cloud::Agentregistry::V1::SkillEncryptionSpec::SkillEncryptionSpec

Once the SkillEncryptionSpec is configured, new Skill payloads are protected using the provided customer-managed encryption key instead of a Google-managed encryption key.

SkillEncryptionSpec cannot be set if any Skills have already been created in the project and location.

Inherits from Protobuf::Message.

Accessors

  • $msg->name() / $msg->name($value)

    Type: String

    Identifier. Resource name of the SkillEncryptionSpec. Format: `projects/{project}/locations/{location}/skillEncryptionSpec`

  • $msg->crypto_key_name() / $msg->crypto_key_name($value)

    Type: String

    Required. The Cloud KMS CryptoKey resource name used to protect Skill payloads in this project and location. This field can be set or updated only when no Skills exist in the target project and location. Once any Skill exists in the location, updating this field is rejected with `FAILED_PRECONDITION`. Format: `projects/{project}/locations/{location}/keyRings/{keyRing}/cryptoKeys/{cryptoKey}`

  • $msg->create_time() / $msg->create_time($value)

    Type: Message (Google::Protobuf::Timestamp::Timestamp)

    Output only. Creation timestamp.

  • $msg->update_time() / $msg->update_time($value)

    Type: Message (Google::Protobuf::Timestamp::Timestamp)

    Output only. Most recent update timestamp.

SEE ALSO

Protobuf, Protobuf::Message, Google::Cloud::Agentregistry::V1::SkillEncryptionSpec::Types, https://protobuf.dev/

LICENSE AND COPYRIGHT

Copyright (C) 2026 Google LLC

This program is released under the Apache 2.0 license.