NAME
Google::Cloud::Vectorsearch::V1beta::EncryptionSpec - Compiled Protocol Buffers messages for google/cloud/vectorsearch/v1beta/encryption_spec.proto
SYNOPSIS
use Google::Cloud::Vectorsearch::V1beta::EncryptionSpec;
my $msg = Google::Cloud::Vectorsearch::V1beta::EncryptionSpec::EncryptionSpec->new({
crypto_key_name => $crypto_key_name,
});
# Read or update a field
my $val = $msg->crypto_key_name();
# Binary wire-format roundtrip
my $bytes = $msg->serialize();
my $decoded = Google::Cloud::Vectorsearch::V1beta::EncryptionSpec::EncryptionSpec->parse($bytes);
# Canonical ProtoJSON
my $json = $msg->to_json();
DESCRIPTION
Auto-generated Protobuf message classes compiled from google/cloud/vectorsearch/v1beta/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::Vectorsearch::V1beta::EncryptionSpec::EncryptionSpec
Represents a customer-managed encryption key specification that can be applied to a Vector Search collection.
Inherits from Protobuf::Message.
Accessors
$msg->crypto_key_name()/$msg->crypto_key_name($value)Type:
StringRequired. Resource name of the Cloud KMS key used to protect the resource.
The Cloud KMS key must be in the same region as the resource. It must have the format `projects/{project}/locations/{location}/keyRings/{key_ring}/cryptoKeys/{crypto_key}`.
SEE ALSO
Protobuf, Protobuf::Message, Google::Cloud::Vectorsearch::V1beta::EncryptionSpec::Types, https://protobuf.dev/
LICENSE AND COPYRIGHT
Copyright (C) 2026 Google LLC
This program is released under the Apache 2.0 license.