Service Client: Google::Cloud::Discoveryengine::V1::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::V1::CmekConfigService - Compiled Protocol Buffers messages for google/cloud/discoveryengine/v1/cmek_config_service.proto
SYNOPSIS
use Google::Cloud::Discoveryengine::V1::CmekConfigService;
my $msg = Google::Cloud::Discoveryengine::V1::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::V1::CmekConfigService::UpdateCmekConfigRequest->parse($bytes);
# Canonical ProtoJSON
my $json = $msg->to_json();
DESCRIPTION
Auto-generated Protobuf message classes compiled from google/cloud/discoveryengine/v1/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::V1::CmekConfigService::UpdateCmekConfigRequest
Request message for UpdateCmekConfig method. rpc.
Inherits from Protobuf::Message.
Accessors
$msg->config()/$msg->config($value)Type:
Message(Google::Cloud::Discoveryengine::V1::CmekConfigService::CmekConfig)Required. The CmekConfig resource.
$msg->set_default()/$msg->set_default($value)Type:
BoolSet the following CmekConfig as the default to be used for child resources if one is not specified.
Google::Cloud::Discoveryengine::V1::CmekConfigService::GetCmekConfigRequest
Request message for GetCmekConfigRequest method.
Inherits from Protobuf::Message.
Accessors
$msg->name()/$msg->name($value)Type:
StringRequired. Resource name of [CmekConfig][google.cloud.discoveryengine.v1.CmekConfig], such as `projects/*/locations/*/cmekConfig` or `projects/*/locations/*/cmekConfigs/*`.
If the caller does not have permission to access the [CmekConfig][google.cloud.discoveryengine.v1.CmekConfig], regardless of whether or not it exists, a PERMISSION_DENIED error is returned.
Google::Cloud::Discoveryengine::V1::CmekConfigService::SingleRegionKey
Metadata for single-regional CMEKs.
Inherits from Protobuf::Message.
Accessors
$msg->kms_key()/$msg->kms_key($value)Type:
StringRequired. Single-regional kms key resource name which will be used to encrypt resources `projects/{project}/locations/{location}/keyRings/{keyRing}/cryptoKeys/{keyId}`.
Google::Cloud::Discoveryengine::V1::CmekConfigService::CmekConfig
Configurations used to enable CMEK data encryption with Cloud KMS keys.
Inherits from Protobuf::Message.
Accessors
$msg->name()/$msg->name($value)Type:
StringRequired. 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:
StringRequired. 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:
StringOutput 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::V1::CmekConfig::State)Output only. The states of the CmekConfig.
$msg->is_default()/$msg->is_default($value)Type:
BoolOutput only. The default CmekConfig for the Customer.
$msg->last_rotation_timestamp_micros()/$msg->last_rotation_timestamp_micros($value)Type:
Int64Output only. The timestamp of the last key rotation.
$msg->single_region_keys()/$msg->single_region_keys($value)Type:
Message(Google::Cloud::Discoveryengine::V1::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::V1::CmekConfig::NotebookLMState)Output only. Whether the NotebookLM Corpus is ready to be used.
Enum: CmekConfig::State
STATE_UNSPECIFIED=>0CREATING=>1ACTIVE=>2KEY_ISSUE=>3DELETING=>4DELETE_FAILED=>7UNUSABLE=>5ACTIVE_ROTATING=>6DELETED=>8EXPIRED=>9
Enum: CmekConfig::NotebookLMState
NOTEBOOK_LM_STATE_UNSPECIFIED=>0NOTEBOOK_LM_NOT_READY=>1NOTEBOOK_LM_READY=>2NOTEBOOK_LM_NOT_ENABLED=>3
Google::Cloud::Discoveryengine::V1::CmekConfigService::UpdateCmekConfigMetadata
Metadata related to the progress of the [CmekConfigService.UpdateCmekConfig][google.cloud.discoveryengine.v1.CmekConfigService.UpdateCmekConfig] operation. This will be returned by the google.longrunning.Operation.metadata field.
Inherits from Protobuf::Message.
Accessors
$msg->create_time()/$msg->create_time($value)Type:
Message(Google::Protobuf::Timestamp::Timestamp)Operation create time.
$msg->update_time()/$msg->update_time($value)Type:
Message(Google::Protobuf::Timestamp::Timestamp)Operation last update time. If the operation is done, this is also the finish time.
Google::Cloud::Discoveryengine::V1::CmekConfigService::ListCmekConfigsRequest
Request message for [CmekConfigService.ListCmekConfigs][google.cloud.discoveryengine.v1.CmekConfigService.ListCmekConfigs] method.
Inherits from Protobuf::Message.
Accessors
$msg->parent()/$msg->parent($value)Type:
StringRequired. The parent location resource name, such as `projects/{project}/locations/{location}`.
If the caller does not have permission to list [CmekConfig][google.cloud.discoveryengine.v1.CmekConfig]s under this location, regardless of whether or not a CmekConfig exists, a PERMISSION_DENIED error is returned.
Google::Cloud::Discoveryengine::V1::CmekConfigService::ListCmekConfigsResponse
Response message for [CmekConfigService.ListCmekConfigs][google.cloud.discoveryengine.v1.CmekConfigService.ListCmekConfigs] method.
Inherits from Protobuf::Message.
Accessors
$msg->cmek_configs()/$msg->cmek_configs($value)Type:
Message(Google::Cloud::Discoveryengine::V1::CmekConfigService::CmekConfig)All the customer's [CmekConfig][google.cloud.discoveryengine.v1.CmekConfig]s.
Google::Cloud::Discoveryengine::V1::CmekConfigService::DeleteCmekConfigRequest
Request message for [CmekConfigService.DeleteCmekConfig][google.cloud.discoveryengine.v1.CmekConfigService.DeleteCmekConfig] method.
Inherits from Protobuf::Message.
Accessors
$msg->name()/$msg->name($value)Type:
StringRequired. The resource name of the [CmekConfig][google.cloud.discoveryengine.v1.CmekConfig] to delete, such as `projects/{project}/locations/{location}/cmekConfigs/{cmek_config}`.
Google::Cloud::Discoveryengine::V1::CmekConfigService::DeleteCmekConfigMetadata
Metadata related to the progress of the [CmekConfigService.DeleteCmekConfig][google.cloud.discoveryengine.v1.CmekConfigService.DeleteCmekConfig] operation. This will be returned by the google.longrunning.Operation.metadata field.
Inherits from Protobuf::Message.
Accessors
$msg->create_time()/$msg->create_time($value)Type:
Message(Google::Protobuf::Timestamp::Timestamp)Operation create time.
$msg->update_time()/$msg->update_time($value)Type:
Message(Google::Protobuf::Timestamp::Timestamp)Operation last update time. If the operation is done, this is also the finish time.
SEE ALSO
Protobuf, Protobuf::Message, Google::Cloud::Discoveryengine::V1::CmekConfigService::Types, https://protobuf.dev/
LICENSE AND COPYRIGHT
Copyright (C) 2026 Google LLC
This program is released under the Apache 2.0 license.