NAME

Google::Cloud::Discoveryengine::V1alpha::DataStore - Compiled Protocol Buffers messages for google/cloud/discoveryengine/v1alpha/data_store.proto

SYNOPSIS

use Google::Cloud::Discoveryengine::V1alpha::DataStore;

my $msg = Google::Cloud::Discoveryengine::V1alpha::DataStore::DataStore->new({
    name => $name,
    display_name => $display_name,
    industry_vertical => $industry_vertical,
    solution_types => $solution_types,
});

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

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

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

DESCRIPTION

Auto-generated Protobuf message classes compiled from google/cloud/discoveryengine/v1alpha/data_store.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::DataStore::DataStore

DataStore captures global settings and configs at the DataStore level.

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Immutable. The full resource name of the data store. Format: `projects/{project}/locations/{location}/collections/{collection_id}/dataStores/{data_store_id}`.

    This field must be a UTF-8 encoded string with a length limit of 1024 characters.

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

    Type: String

    Required. The data store display name.

    This field must be a UTF-8 encoded string with a length limit of 128 characters. Otherwise, an INVALID_ARGUMENT error is returned.

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

    Type: Enum (Google::Cloud::Discoveryengine::V1alpha::IndustryVertical)

    Immutable. The industry vertical that the data store registers.

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

    Type: Enum (Google::Cloud::Discoveryengine::V1alpha::SolutionType)

    The solutions that the data store enrolls. Available solutions for each [industry_vertical][google.cloud.discoveryengine.v1alpha.DataStore.industry_vertical]:

    * `MEDIA`: `SOLUTION_TYPE_RECOMMENDATION` and `SOLUTION_TYPE_SEARCH`. * `SITE_SEARCH`: `SOLUTION_TYPE_SEARCH` is automatically enrolled. Other solutions cannot be enrolled.

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

    Type: String

    Output only. The id of the default [Schema][google.cloud.discoveryengine.v1alpha.Schema] asscociated to this data store.

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

    Type: Enum (Google::Cloud::Discoveryengine::V1alpha::DataStore::ContentConfig)

    Immutable. The content config of the data store. If this field is unset, the server behavior defaults to [ContentConfig.NO_CONTENT][google.cloud.discoveryengine.v1alpha.DataStore.ContentConfig.NO_CONTENT].

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

    Type: Message (Google::Protobuf::Timestamp::Timestamp)

    Output only. Timestamp the [DataStore][google.cloud.discoveryengine.v1alpha.DataStore] was created at.

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

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

    Language info for DataStore.

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

    Type: Message (Google::Cloud::Discoveryengine::V1alpha::Common::IdpConfig)

    Output only. Data store level identity provider config.

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

    Type: Bool

    Immutable. Whether data in the [DataStore][google.cloud.discoveryengine.v1alpha.DataStore] has ACL information. If set to `true`, the source data must have ACL. ACL will be ingested when data is ingested by [DocumentService.ImportDocuments][google.cloud.discoveryengine.v1alpha.DocumentService.ImportDocuments] methods.

    When ACL is enabled for the [DataStore][google.cloud.discoveryengine.v1alpha.DataStore], [Document][google.cloud.discoveryengine.v1alpha.Document] can't be accessed by calling [DocumentService.GetDocument][google.cloud.discoveryengine.v1alpha.DocumentService.GetDocument] or [DocumentService.ListDocuments][google.cloud.discoveryengine.v1alpha.DocumentService.ListDocuments].

    Currently ACL is only supported in `GENERIC` industry vertical with non-`PUBLIC_WEBSITE` content config.

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

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

    Config to store data store type configuration for workspace data. This must be set when [DataStore.content_config][google.cloud.discoveryengine.v1alpha.DataStore.content_config] is set as [DataStore.ContentConfig.GOOGLE_WORKSPACE][google.cloud.discoveryengine.v1alpha.DataStore.ContentConfig.GOOGLE_WORKSPACE].

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

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

    Configuration for Document understanding and enrichment.

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

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

    The start schema to use for this [DataStore][google.cloud.discoveryengine.v1alpha.DataStore] when provisioning it. If unset, a default vertical specialized schema will be used.

    This field is only used by [CreateDataStore][] API, and will be ignored if used in other APIs. This field will be omitted from all API responses including [CreateDataStore][] API. To retrieve a schema of a [DataStore][google.cloud.discoveryengine.v1alpha.DataStore], use [SchemaService.GetSchema][google.cloud.discoveryengine.v1alpha.SchemaService.GetSchema] API instead.

    The provided schema will be validated against certain rules on schema. Learn more from [this doc](https://cloud.google.com/generative-ai-app-builder/docs/provide-schema).

Enum: DataStore::ContentConfig

  • CONTENT_CONFIG_UNSPECIFIED => 0

  • NO_CONTENT => 1

  • CONTENT_REQUIRED => 2

  • PUBLIC_WEBSITE => 3

  • GOOGLE_WORKSPACE => 4

Google::Cloud::Discoveryengine::V1alpha::DataStore::LanguageInfo

Language info for DataStore.

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    The language code for the DataStore.

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

    Type: String

    Output only. This is the normalized form of language_code. E.g.: language_code of `en-GB`, `en_GB`, `en-UK` or `en-gb` will have normalized_language_code of `en-GB`.

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

    Type: String

    Output only. Language part of normalized_language_code. E.g.: `en-US` -> `en`, `zh-Hans-HK` -> `zh`, `en` -> `en`.

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

    Type: String

    Output only. Region part of normalized_language_code, if present. E.g.: `en-US` -> `US`, `zh-Hans-HK` -> `HK`, `en` -> ``.

Google::Cloud::Discoveryengine::V1alpha::DataStore::WorkspaceConfig

Config to store data store type configuration for workspace data

Inherits from Protobuf::Message.

Accessors

Enum: WorkspaceConfig::Type

  • TYPE_UNSPECIFIED => 0

  • GOOGLE_DRIVE => 1

  • GOOGLE_MAIL => 2

  • GOOGLE_SITES => 3

  • GOOGLE_CALENDAR => 4

  • GOOGLE_CHAT => 5

  • GOOGLE_GROUPS => 6

  • GOOGLE_KEEP => 7

SEE ALSO

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

LICENSE AND COPYRIGHT

Copyright (C) 2026 Google LLC

This program is released under the Apache 2.0 license.