Service Client: Google::Cloud::Discoveryengine::V1beta::ControlService::ControlServiceClient

Client stub representing the remote ControlService 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::ControlService - Compiled Protocol Buffers messages for google/cloud/discoveryengine/v1beta/control_service.proto

SYNOPSIS

use Google::Cloud::Discoveryengine::V1beta::ControlService;

my $msg = Google::Cloud::Discoveryengine::V1beta::ControlService::CreateControlRequest->new({
    parent => $parent,
    control => $control,
    control_id => $control_id,
});

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

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

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

DESCRIPTION

Auto-generated Protobuf message classes compiled from google/cloud/discoveryengine/v1beta/control_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::ControlService::CreateControlRequest

Request for CreateControl method.

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Required. Full resource name of parent data store. Format: `projects/{project}/locations/{location}/collections/{collection_id}/dataStores/{data_store_id}` or `projects/{project}/locations/{location}/collections/{collection_id}/engines/{engine_id}`.

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

    Type: Message (Google::Cloud::Discoveryengine::V1beta::Control::Control)

    Required. The Control to create.

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

    Type: String

    Required. The ID to use for the Control, which will become the final component of the Control's resource name.

    This value must be within 1-63 characters. Valid characters are /[a-z][0-9]-_/.

Google::Cloud::Discoveryengine::V1beta::ControlService::UpdateControlRequest

Request for UpdateControl method.

Inherits from Protobuf::Message.

Accessors

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

    Type: Message (Google::Cloud::Discoveryengine::V1beta::Control::Control)

    Required. The Control to update.

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

    Type: Message (Google::Protobuf::FieldMask::FieldMask)

    Optional. Indicates which fields in the provided [Control][google.cloud.discoveryengine.v1beta.Control] to update. The following are NOT supported:

    * [Control.name][google.cloud.discoveryengine.v1beta.Control.name] * [Control.solution_type][google.cloud.discoveryengine.v1beta.Control.solution_type]

    If not set or empty, all supported fields are updated.

Google::Cloud::Discoveryengine::V1beta::ControlService::DeleteControlRequest

Request for DeleteControl method.

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Required. The resource name of the Control to delete. Format: `projects/{project}/locations/{location}/collections/{collection_id}/dataStores/{data_store_id}/controls/{control_id}`

Google::Cloud::Discoveryengine::V1beta::ControlService::GetControlRequest

Request for GetControl method.

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Required. The resource name of the Control to get. Format: `projects/{project}/locations/{location}/collections/{collection_id}/dataStores/{data_store_id}/controls/{control_id}`

Google::Cloud::Discoveryengine::V1beta::ControlService::ListControlsRequest

Request for ListControls method.

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Required. The data store resource name. Format: `projects/{project}/locations/{location}/collections/{collection_id}/dataStores/{data_store_id}` or `projects/{project}/locations/{location}/collections/{collection_id}/engines/{engine_id}`.

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

    Type: Int32

    Optional. Maximum number of results to return. If unspecified, defaults to 50. Max allowed value is 1000.

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

    Type: String

    Optional. A page token, received from a previous `ListControls` call. Provide this to retrieve the subsequent page.

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

    Type: String

    Optional. A filter to apply on the list results. Supported features:

    * List all the products under the parent branch if [filter][google.cloud.discoveryengine.v1beta.ListControlsRequest.filter] is unset. Currently this field is unsupported.

Google::Cloud::Discoveryengine::V1beta::ControlService::ListControlsResponse

Response for ListControls method.

Inherits from Protobuf::Message.

Accessors

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

    Type: Message (Google::Cloud::Discoveryengine::V1beta::Control::Control)

    All the Controls for a given data store.

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

    Type: String

    Pagination token, if not returned indicates the last page.

SEE ALSO

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

LICENSE AND COPYRIGHT

Copyright (C) 2026 Google LLC

This program is released under the Apache 2.0 license.