Service Client: Google::Cloud::Dialogflow::V2beta1::EncryptionSpec::EncryptionSpecServiceClient

Client stub representing the remote EncryptionSpecService gRPC service. Delegates call dispatching to Google::gRPC::Client.

target

The endpoint target address. Defaults to dialogflow.googleapis.com:443.

credentials

The authentication credentials provider. Defaults to application default credentials via Google::Auth.

NAME

Google::Cloud::Dialogflow::V2beta1::EncryptionSpec - Compiled Protocol Buffers messages for google/cloud/dialogflow/v2beta1/encryption_spec.proto

SYNOPSIS

use Google::Cloud::Dialogflow::V2beta1::EncryptionSpec;

my $msg = Google::Cloud::Dialogflow::V2beta1::EncryptionSpec::GetEncryptionSpecRequest->new({
    name => $name,
});

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

# Binary wire-format roundtrip
my $bytes   = $msg->serialize();
my $decoded = Google::Cloud::Dialogflow::V2beta1::EncryptionSpec::GetEncryptionSpecRequest->parse($bytes);

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

DESCRIPTION

Auto-generated Protobuf message classes compiled from google/cloud/dialogflow/v2beta1/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::Dialogflow::V2beta1::EncryptionSpec::GetEncryptionSpecRequest

The request to get location-level encryption specification.

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Required. The name of the encryption spec resource to get.

Google::Cloud::Dialogflow::V2beta1::EncryptionSpec::EncryptionSpec

A customer-managed encryption key specification that can be applied to all created resources (e.g. Conversation).

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Immutable. The resource name of the encryption key specification resource. Format: projects/{project}/locations/{location}/encryptionSpec

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

    Type: String

    Required. The name of customer-managed encryption key that is used to secure a resource and its sub-resources. If empty, the resource is secured by the default Google encryption key. Only the key in the same location as this resource is allowed to be used for encryption. Format: `projects/{project}/locations/{location}/keyRings/{keyRing}/cryptoKeys/{key}`

Google::Cloud::Dialogflow::V2beta1::EncryptionSpec::InitializeEncryptionSpecRequest

The request to initialize a location-level encryption specification.

Inherits from Protobuf::Message.

Accessors

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

    Type: Message (Google::Cloud::Dialogflow::V2beta1::EncryptionSpec::EncryptionSpec)

    Required. The encryption spec used for CMEK encryption. It is required that the kms key is in the same region as the endpoint. The same key will be used for all provisioned resources, if encryption is available. If the kms_key_name is left empty, no encryption will be enforced.

Google::Cloud::Dialogflow::V2beta1::EncryptionSpec::InitializeEncryptionSpecResponse

The response to initialize a location-level encryption specification.

Inherits from Protobuf::Message.

Google::Cloud::Dialogflow::V2beta1::EncryptionSpec::InitializeEncryptionSpecMetadata

Metadata for initializing a location-level encryption specification.

Inherits from Protobuf::Message.

Accessors

SEE ALSO

Protobuf, Protobuf::Message, Google::Cloud::Dialogflow::V2beta1::EncryptionSpec::Types, https://protobuf.dev/

LICENSE AND COPYRIGHT

Copyright (C) 2026 Google LLC

This program is released under the Apache 2.0 license.