Service Client: Google::Cloud::Discoveryengine::V1beta::CmekConfigService::CmekConfigServiceClient

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

target

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

credentials

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

NAME

Google::Cloud::Discoveryengine::V1beta::CmekConfigService - Compiled Protocol Buffers messages for google/cloud/discoveryengine/v1beta/cmek_config_service.proto

SYNOPSIS

use Google::Cloud::Discoveryengine::V1beta::CmekConfigService;

my $msg = Google::Cloud::Discoveryengine::V1beta::CmekConfigService::UpdateCmekConfigRequest->new({
    config => $config,
    set_default => $set_default,
});

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

# Binary wire-format roundtrip
my $bytes   = $msg->serialize();
my $decoded = Google::Cloud::Discoveryengine::V1beta::CmekConfigService::UpdateCmekConfigRequest->parse($bytes);

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

DESCRIPTION

Auto-generated Protobuf message classes compiled from google/cloud/discoveryengine/v1beta/cmek_config_service.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::Discoveryengine::V1beta::CmekConfigService::UpdateCmekConfigRequest

Request message for UpdateCmekConfig method. rpc.

Inherits from Protobuf::Message.

Accessors

Google::Cloud::Discoveryengine::V1beta::CmekConfigService::GetCmekConfigRequest

Request message for GetCmekConfigRequest method.

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Required. Resource name of [CmekConfig][google.cloud.discoveryengine.v1beta.CmekConfig], such as `projects/*/locations/*/cmekConfig` or `projects/*/locations/*/cmekConfigs/*`.

    If the caller does not have permission to access the [CmekConfig][google.cloud.discoveryengine.v1beta.CmekConfig], regardless of whether or not it exists, a PERMISSION_DENIED error is returned.

Google::Cloud::Discoveryengine::V1beta::CmekConfigService::SingleRegionKey

Metadata for single-regional CMEKs.

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Required. Single-regional kms key resource name which will be used to encrypt resources `projects/{project}/locations/{location}/keyRings/{keyRing}/cryptoKeys/{keyId}`.

Google::Cloud::Discoveryengine::V1beta::CmekConfigService::CmekConfig

Configurations used to enable CMEK data encryption with Cloud KMS keys.

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Required. The name of the CmekConfig of the form `projects/{project}/locations/{location}/cmekConfig` or `projects/{project}/locations/{location}/cmekConfigs/{cmek_config}`.

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

    Type: String

    Required. KMS key resource name which will be used to encrypt resources `projects/{project}/locations/{location}/keyRings/{keyRing}/cryptoKeys/{keyId}`.

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

    Type: String

    Output only. KMS key version resource name which will be used to encrypt resources `<kms_key>/cryptoKeyVersions/{keyVersion}`.

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

    Type: Enum (Google::Cloud::Discoveryengine::V1beta::CmekConfig::State)

    Output only. The states of the CmekConfig.

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

    Type: Bool

    Output only. The default CmekConfig for the Customer.

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

    Type: Int64

    Output only. The timestamp of the last key rotation.

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

    Type: Message (Google::Cloud::Discoveryengine::V1beta::CmekConfigService::SingleRegionKey)

    Optional. Single-regional CMEKs that are required for some VAIS features.

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

    Type: Enum (Google::Cloud::Discoveryengine::V1beta::CmekConfig::NotebookLMState)

    Output only. Whether the NotebookLM Corpus is ready to be used.

Enum: CmekConfig::State

  • STATE_UNSPECIFIED => 0

  • CREATING => 1

  • ACTIVE => 2

  • KEY_ISSUE => 3

  • DELETING => 4

  • DELETE_FAILED => 7

  • UNUSABLE => 5

  • ACTIVE_ROTATING => 6

  • DELETED => 8

  • EXPIRED => 9

Enum: CmekConfig::NotebookLMState

  • NOTEBOOK_LM_STATE_UNSPECIFIED => 0

  • NOTEBOOK_LM_NOT_READY => 1

  • NOTEBOOK_LM_READY => 2

  • NOTEBOOK_LM_NOT_ENABLED => 3

Google::Cloud::Discoveryengine::V1beta::CmekConfigService::UpdateCmekConfigMetadata

Metadata related to the progress of the [CmekConfigService.UpdateCmekConfig][google.cloud.discoveryengine.v1beta.CmekConfigService.UpdateCmekConfig] operation. This will be returned by the google.longrunning.Operation.metadata field.

Inherits from Protobuf::Message.

Accessors

Google::Cloud::Discoveryengine::V1beta::CmekConfigService::ListCmekConfigsRequest

Request message for [CmekConfigService.ListCmekConfigs][google.cloud.discoveryengine.v1beta.CmekConfigService.ListCmekConfigs] method.

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Required. The parent location resource name, such as `projects/{project}/locations/{location}`.

    If the caller does not have permission to list [CmekConfig][google.cloud.discoveryengine.v1beta.CmekConfig]s under this location, regardless of whether or not a CmekConfig exists, a PERMISSION_DENIED error is returned.

Google::Cloud::Discoveryengine::V1beta::CmekConfigService::ListCmekConfigsResponse

Response message for [CmekConfigService.ListCmekConfigs][google.cloud.discoveryengine.v1beta.CmekConfigService.ListCmekConfigs] method.

Inherits from Protobuf::Message.

Accessors

Google::Cloud::Discoveryengine::V1beta::CmekConfigService::DeleteCmekConfigRequest

Request message for [CmekConfigService.DeleteCmekConfig][google.cloud.discoveryengine.v1beta.CmekConfigService.DeleteCmekConfig] method.

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Required. The resource name of the [CmekConfig][google.cloud.discoveryengine.v1beta.CmekConfig] to delete, such as `projects/{project}/locations/{location}/cmekConfigs/{cmek_config}`.

Google::Cloud::Discoveryengine::V1beta::CmekConfigService::DeleteCmekConfigMetadata

Metadata related to the progress of the [CmekConfigService.DeleteCmekConfig][google.cloud.discoveryengine.v1beta.CmekConfigService.DeleteCmekConfig] operation. This will be returned by the google.longrunning.Operation.metadata field.

Inherits from Protobuf::Message.

Accessors

SEE ALSO

Protobuf, Protobuf::Message, Google::Cloud::Discoveryengine::V1beta::CmekConfigService::Types, https://protobuf.dev/

LICENSE AND COPYRIGHT

Copyright (C) 2026 Google LLC

This program is released under the Apache 2.0 license.