Service Client: Google::Cloud::Discoveryengine::V1alpha::DataStoreService::DataStoreServiceClient

Client stub representing the remote DataStoreService 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::V1alpha::DataStoreService - Compiled Protocol Buffers messages for google/cloud/discoveryengine/v1alpha/data_store_service.proto

SYNOPSIS

use Google::Cloud::Discoveryengine::V1alpha::DataStoreService;

my $msg = Google::Cloud::Discoveryengine::V1alpha::DataStoreService::CreateDataStoreRequest->new({
    parent => $parent,
    data_store => $data_store,
    data_store_id => $data_store_id,
    create_advanced_site_search => $create_advanced_site_search,
});

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

# Binary wire-format roundtrip
my $bytes   = $msg->serialize();
my $decoded = Google::Cloud::Discoveryengine::V1alpha::DataStoreService::CreateDataStoreRequest->parse($bytes);

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

DESCRIPTION

Auto-generated Protobuf message classes compiled from google/cloud/discoveryengine/v1alpha/data_store_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::V1alpha::DataStoreService::CreateDataStoreRequest

Request for [DataStoreService.CreateDataStore][google.cloud.discoveryengine.v1alpha.DataStoreService.CreateDataStore] method.

Inherits from Protobuf::Message.

Accessors

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

    Type: String

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

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

    Type: Message (Google::Cloud::Discoveryengine::V1alpha::DataStore::DataStore)

    Required. The [DataStore][google.cloud.discoveryengine.v1alpha.DataStore] to create.

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

    Type: String

    Required. The ID to use for the [DataStore][google.cloud.discoveryengine.v1alpha.DataStore], which will become the final component of the [DataStore][google.cloud.discoveryengine.v1alpha.DataStore]'s resource name.

    This field must conform to [RFC-1034](https://tools.ietf.org/html/rfc1034) standard with a length limit of 63 characters. Otherwise, an INVALID_ARGUMENT error is returned.

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

    Type: Bool

    A boolean flag indicating whether user want to directly create an advanced data store for site search. If the data store is not configured as site search (GENERIC vertical and PUBLIC_WEBSITE content_config), this flag will be ignored.

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

    Type: Bool

    A boolean flag indicating whether to skip the default schema creation for the data store. Only enable this flag if you are certain that the default schema is incompatible with your use case.

    If set to true, you must manually create a schema for the data store before any documents can be ingested.

    This flag cannot be specified if `data_store.starting_schema` is specified.

Google::Cloud::Discoveryengine::V1alpha::DataStoreService::GetDataStoreRequest

Request message for [DataStoreService.GetDataStore][google.cloud.discoveryengine.v1alpha.DataStoreService.GetDataStore] method.

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Required. Full resource name of [DataStore][google.cloud.discoveryengine.v1alpha.DataStore], such as `projects/{project}/locations/{location}/collections/{collection_id}/dataStores/{data_store_id}`.

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

    If the requested [DataStore][google.cloud.discoveryengine.v1alpha.DataStore] does not exist, a NOT_FOUND error is returned.

Google::Cloud::Discoveryengine::V1alpha::DataStoreService::CreateDataStoreMetadata

Metadata related to the progress of the [DataStoreService.CreateDataStore][google.cloud.discoveryengine.v1alpha.DataStoreService.CreateDataStore] operation. This will be returned by the google.longrunning.Operation.metadata field.

Inherits from Protobuf::Message.

Accessors

Google::Cloud::Discoveryengine::V1alpha::DataStoreService::ListDataStoresRequest

Request message for [DataStoreService.ListDataStores][google.cloud.discoveryengine.v1alpha.DataStoreService.ListDataStores] method.

Inherits from Protobuf::Message.

Accessors

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

    Type: String

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

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

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

    Type: Int32

    Maximum number of [DataStore][google.cloud.discoveryengine.v1alpha.DataStore]s to return. If unspecified, defaults to 10. The maximum allowed value is 50. Values above 50 will be coerced to 50.

    If this field is negative, an INVALID_ARGUMENT is returned.

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

    Type: String

    A page token [ListDataStoresResponse.next_page_token][google.cloud.discoveryengine.v1alpha.ListDataStoresResponse.next_page_token], received from a previous [DataStoreService.ListDataStores][google.cloud.discoveryengine.v1alpha.DataStoreService.ListDataStores] call. Provide this to retrieve the subsequent page.

    When paginating, all other parameters provided to [DataStoreService.ListDataStores][google.cloud.discoveryengine.v1alpha.DataStoreService.ListDataStores] must match the call that provided the page token. Otherwise, an INVALID_ARGUMENT error is returned.

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

    Type: String

    Filter by solution type . For example: `filter = 'solution_type:SOLUTION_TYPE_SEARCH'`

Google::Cloud::Discoveryengine::V1alpha::DataStoreService::ListDataStoresResponse

Response message for [DataStoreService.ListDataStores][google.cloud.discoveryengine.v1alpha.DataStoreService.ListDataStores] method.

Inherits from Protobuf::Message.

Accessors

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

    Type: Message (Google::Cloud::Discoveryengine::V1alpha::DataStore::DataStore)

    All the customer's [DataStore][google.cloud.discoveryengine.v1alpha.DataStore]s.

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

    Type: String

    A token that can be sent as [ListDataStoresRequest.page_token][google.cloud.discoveryengine.v1alpha.ListDataStoresRequest.page_token] to retrieve the next page. If this field is omitted, there are no subsequent pages.

Google::Cloud::Discoveryengine::V1alpha::DataStoreService::DeleteDataStoreRequest

Request message for [DataStoreService.DeleteDataStore][google.cloud.discoveryengine.v1alpha.DataStoreService.DeleteDataStore] method.

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Required. Full resource name of [DataStore][google.cloud.discoveryengine.v1alpha.DataStore], such as `projects/{project}/locations/{location}/collections/{collection_id}/dataStores/{data_store_id}`.

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

    If the [DataStore][google.cloud.discoveryengine.v1alpha.DataStore] to delete does not exist, a NOT_FOUND error is returned.

Google::Cloud::Discoveryengine::V1alpha::DataStoreService::UpdateDataStoreRequest

Request message for [DataStoreService.UpdateDataStore][google.cloud.discoveryengine.v1alpha.DataStoreService.UpdateDataStore] method.

Inherits from Protobuf::Message.

Accessors

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

    Type: Message (Google::Cloud::Discoveryengine::V1alpha::DataStore::DataStore)

    Required. The [DataStore][google.cloud.discoveryengine.v1alpha.DataStore] to update.

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

    If the [DataStore][google.cloud.discoveryengine.v1alpha.DataStore] to update does not exist, a NOT_FOUND error is returned.

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

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

    Indicates which fields in the provided [DataStore][google.cloud.discoveryengine.v1alpha.DataStore] to update.

    If an unsupported or unknown field is provided, an INVALID_ARGUMENT error is returned.

Google::Cloud::Discoveryengine::V1alpha::DataStoreService::DeleteDataStoreMetadata

Metadata related to the progress of the [DataStoreService.DeleteDataStore][google.cloud.discoveryengine.v1alpha.DataStoreService.DeleteDataStore] operation. This will be returned by the google.longrunning.Operation.metadata field.

Inherits from Protobuf::Message.

Accessors

Google::Cloud::Discoveryengine::V1alpha::DataStoreService::GetDocumentProcessingConfigRequest

Request for [DataStoreService.GetDocumentProcessingConfig][google.cloud.discoveryengine.v1alpha.DataStoreService.GetDocumentProcessingConfig] method.

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Required. Full DocumentProcessingConfig resource name. Format: `projects/{project_number}/locations/{location_id}/collections/{collection_id}/dataStores/{data_store_id}/documentProcessingConfig`

Google::Cloud::Discoveryengine::V1alpha::DataStoreService::UpdateDocumentProcessingConfigRequest

Request for [DataStoreService.UpdateDocumentProcessingConfig][google.cloud.discoveryengine.v1alpha.DataStoreService.UpdateDocumentProcessingConfig] method.

Inherits from Protobuf::Message.

Accessors

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

    Type: Message (Google::Cloud::Discoveryengine::V1alpha::DocumentProcessingConfig::DocumentProcessingConfig)

    Required. The [DocumentProcessingConfig][google.cloud.discoveryengine.v1alpha.DocumentProcessingConfig] to update.

    If the caller does not have permission to update the [DocumentProcessingConfig][google.cloud.discoveryengine.v1alpha.DocumentProcessingConfig], then a PERMISSION_DENIED error is returned.

    If the [DocumentProcessingConfig][google.cloud.discoveryengine.v1alpha.DocumentProcessingConfig] to update does not exist, a NOT_FOUND error is returned.

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

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

    Indicates which fields in the provided [DocumentProcessingConfig][google.cloud.discoveryengine.v1alpha.DocumentProcessingConfig] to update. The following are the only supported fields:

    * [DocumentProcessingConfig.ocr_config][google.cloud.discoveryengine.v1alpha.DocumentProcessingConfig.ocr_config]

    If not set, all supported fields are updated.

SEE ALSO

Protobuf, Protobuf::Message, Google::Cloud::Discoveryengine::V1alpha::DataStoreService::Types, https://protobuf.dev/

LICENSE AND COPYRIGHT

Copyright (C) 2026 Google LLC

This program is released under the Apache 2.0 license.