NAME
Google::Cloud::Discoveryengine::V1alpha::ImportConfig - Compiled Protocol Buffers messages for google/cloud/discoveryengine/v1alpha/import_config.proto
SYNOPSIS
use Google::Cloud::Discoveryengine::V1alpha::ImportConfig;
my $msg = Google::Cloud::Discoveryengine::V1alpha::ImportConfig::GcsSource->new({
input_uris => $input_uris,
data_schema => $data_schema,
});
# Read or update a field
my $val = $msg->input_uris();
# Binary wire-format roundtrip
my $bytes = $msg->serialize();
my $decoded = Google::Cloud::Discoveryengine::V1alpha::ImportConfig::GcsSource->parse($bytes);
# Canonical ProtoJSON
my $json = $msg->to_json();
DESCRIPTION
Auto-generated Protobuf message classes compiled from google/cloud/discoveryengine/v1alpha/import_config.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::ImportConfig::GcsSource
Cloud Storage location for input content.
Inherits from Protobuf::Message.
Accessors
$msg->input_uris()/$msg->input_uris($value)Type:
StringRequired. Cloud Storage URIs to input files. Each URI can be up to 2000 characters long. URIs can match the full object path (for example, `gs://bucket/directory/object.json`) or a pattern matching one or more files, such as `gs://bucket/directory/*.json`.
A request can contain at most 100 files (or 100,000 files if `data_schema` is `content`). Each file can be up to 2 GB (or 100 MB if `data_schema` is `content`).
$msg->data_schema()/$msg->data_schema($value)Type:
StringThe schema to use when parsing the data from the source.
Supported values for document imports:
* `document` (default): One JSON [Document][google.cloud.discoveryengine.v1alpha.Document] per line. Each document must have a valid [Document.id][google.cloud.discoveryengine.v1alpha.Document.id]. * `content`: Unstructured data (e.g. PDF, HTML). Each file matched by `input_uris` becomes a document, with the ID set to the first 128 bits of SHA256(URI) encoded as a hex string. * `custom`: One custom data JSON per row in arbitrary format that conforms to the defined [Schema][google.cloud.discoveryengine.v1alpha.Schema] of the data store. This can only be used by the GENERIC Data Store vertical. * `csv`: A CSV file with header conforming to the defined [Schema][google.cloud.discoveryengine.v1alpha.Schema] of the data store. Each entry after the header is imported as a Document. This can only be used by the GENERIC Data Store vertical.
Supported values for user event imports:
* `user_event` (default): One JSON [UserEvent][google.cloud.discoveryengine.v1alpha.UserEvent] per line.
Google::Cloud::Discoveryengine::V1alpha::ImportConfig::BigQuerySource
BigQuery source import data from.
Inherits from Protobuf::Message.
Accessors
$msg->partition_date()/$msg->partition_date($value)Type:
Message(Google::Type::Date::Date)BigQuery time partitioned table's _PARTITIONDATE in YYYY-MM-DD format.
$msg->project_id()/$msg->project_id($value)Type:
StringThe project ID or the project number that contains the BigQuery source. Has a length limit of 128 characters. If not specified, inherits the project ID from the parent request.
$msg->dataset_id()/$msg->dataset_id($value)Type:
StringRequired. The BigQuery data set to copy the data from with a length limit of 1,024 characters.
$msg->table_id()/$msg->table_id($value)Type:
StringRequired. The BigQuery table to copy the data from with a length limit of 1,024 characters.
$msg->gcs_staging_dir()/$msg->gcs_staging_dir($value)Type:
StringIntermediate Cloud Storage directory used for the import with a length limit of 2,000 characters. Can be specified if one wants to have the BigQuery export to a specific Cloud Storage directory.
$msg->data_schema()/$msg->data_schema($value)Type:
StringThe schema to use when parsing the data from the source.
Supported values for user event imports:
* `user_event` (default): One [UserEvent][google.cloud.discoveryengine.v1alpha.UserEvent] per row.
Supported values for document imports:
* `document` (default): One [Document][google.cloud.discoveryengine.v1alpha.Document] format per row. Each document must have a valid [Document.id][google.cloud.discoveryengine.v1alpha.Document.id] and one of [Document.json_data][google.cloud.discoveryengine.v1alpha.Document.json_data] or [Document.struct_data][google.cloud.discoveryengine.v1alpha.Document.struct_data]. * `custom`: One custom data per row in arbitrary format that conforms to the defined [Schema][google.cloud.discoveryengine.v1alpha.Schema] of the data store. This can only be used by the GENERIC Data Store vertical.
Google::Cloud::Discoveryengine::V1alpha::ImportConfig::SpannerSource
The Spanner source for importing data
Inherits from Protobuf::Message.
Accessors
$msg->project_id()/$msg->project_id($value)Type:
StringThe project ID that contains the Spanner source. Has a length limit of 128 characters. If not specified, inherits the project ID from the parent request.
$msg->instance_id()/$msg->instance_id($value)Type:
StringRequired. The instance ID of the source Spanner table.
$msg->database_id()/$msg->database_id($value)Type:
StringRequired. The database ID of the source Spanner table.
$msg->table_id()/$msg->table_id($value)Type:
StringRequired. The table name of the Spanner database that needs to be imported.
$msg->enable_data_boost()/$msg->enable_data_boost($value)Type:
BoolWhether to apply data boost on Spanner export. Enabling this option will incur additional cost. More info can be found [here](https://cloud.google.com/spanner/docs/databoost/databoost-overview#billing_and_quotas).
Google::Cloud::Discoveryengine::V1alpha::ImportConfig::BigtableOptions
The Bigtable Options object that contains information to support the import.
Inherits from Protobuf::Message.
Accessors
$msg->key_field_name()/$msg->key_field_name($value)Type:
StringThe field name used for saving row key value in the document. The name has to match the pattern `[a-zA-Z0-9][a-zA-Z0-9-_]*`.
$msg->families()/$msg->families($value)Type:
Message(Google::Cloud::Discoveryengine::V1alpha::ImportConfig::BigtableOptions::FamiliesEntry)The mapping from family names to an object that contains column families level information for the given column family. If a family is not present in this map it will be ignored.
Enum: BigtableOptions::Type
TYPE_UNSPECIFIED=>0STRING=>1NUMBER=>2INTEGER=>3VAR_INTEGER=>4BIG_NUMERIC=>5BOOLEAN=>6JSON=>7
Enum: BigtableOptions::Encoding
ENCODING_UNSPECIFIED=>0TEXT=>1BINARY=>2
Google::Cloud::Discoveryengine::V1alpha::ImportConfig::BigtableSource
The Cloud Bigtable source for importing data.
Inherits from Protobuf::Message.
Accessors
$msg->project_id()/$msg->project_id($value)Type:
StringThe project ID that contains the Bigtable source. Has a length limit of 128 characters. If not specified, inherits the project ID from the parent request.
$msg->instance_id()/$msg->instance_id($value)Type:
StringRequired. The instance ID of the Cloud Bigtable that needs to be imported.
$msg->table_id()/$msg->table_id($value)Type:
StringRequired. The table ID of the Cloud Bigtable that needs to be imported.
$msg->bigtable_options()/$msg->bigtable_options($value)Type:
Message(Google::Cloud::Discoveryengine::V1alpha::ImportConfig::BigtableOptions)Required. Bigtable options that contains information needed when parsing data into typed structures. For example, column type annotations.
Google::Cloud::Discoveryengine::V1alpha::ImportConfig::FhirStoreSource
Cloud FhirStore source import data from.
Inherits from Protobuf::Message.
Accessors
$msg->fhir_store()/$msg->fhir_store($value)Type:
StringRequired. The full resource name of the FHIR store to import data from, in the format of `projects/{project}/locations/{location}/datasets/{dataset}/fhirStores/{fhir_store}`.
$msg->gcs_staging_dir()/$msg->gcs_staging_dir($value)Type:
StringIntermediate Cloud Storage directory used for the import with a length limit of 2,000 characters. Can be specified if one wants to have the FhirStore export to a specific Cloud Storage directory.
$msg->resource_types()/$msg->resource_types($value)Type:
StringThe FHIR resource types to import. The resource types should be a subset of all [supported FHIR resource types](https://cloud.google.com/generative-ai-app-builder/docs/fhir-schema-reference#resource-level-specification). Default to all supported FHIR resource types if empty.
Google::Cloud::Discoveryengine::V1alpha::ImportConfig::CloudSqlSource
Cloud SQL source import data from.
Inherits from Protobuf::Message.
Accessors
$msg->project_id()/$msg->project_id($value)Type:
StringThe project ID that contains the Cloud SQL source. Has a length limit of 128 characters. If not specified, inherits the project ID from the parent request.
$msg->instance_id()/$msg->instance_id($value)Type:
StringRequired. The Cloud SQL instance to copy the data from with a length limit of 256 characters.
$msg->database_id()/$msg->database_id($value)Type:
StringRequired. The Cloud SQL database to copy the data from with a length limit of 256 characters.
$msg->table_id()/$msg->table_id($value)Type:
StringRequired. The Cloud SQL table to copy the data from with a length limit of 256 characters.
$msg->gcs_staging_dir()/$msg->gcs_staging_dir($value)Type:
StringIntermediate Cloud Storage directory used for the import with a length limit of 2,000 characters. Can be specified if one wants to have the Cloud SQL export to a specific Cloud Storage directory.
Ensure that the Cloud SQL service account has the necessary Cloud Storage Admin permissions to access the specified Cloud Storage directory.
$msg->offload()/$msg->offload($value)Type:
BoolOption for serverless export. Enabling this option will incur additional cost. More info can be found [here](https://cloud.google.com/sql/pricing#serverless).
Google::Cloud::Discoveryengine::V1alpha::ImportConfig::AlloyDbSource
AlloyDB source import data from.
Inherits from Protobuf::Message.
Accessors
$msg->project_id()/$msg->project_id($value)Type:
StringThe project ID that contains the AlloyDB source. Has a length limit of 128 characters. If not specified, inherits the project ID from the parent request.
$msg->location_id()/$msg->location_id($value)Type:
StringRequired. The AlloyDB location to copy the data from with a length limit of 256 characters.
$msg->cluster_id()/$msg->cluster_id($value)Type:
StringRequired. The AlloyDB cluster to copy the data from with a length limit of 256 characters.
$msg->database_id()/$msg->database_id($value)Type:
StringRequired. The AlloyDB database to copy the data from with a length limit of 256 characters.
$msg->table_id()/$msg->table_id($value)Type:
StringRequired. The AlloyDB table to copy the data from with a length limit of 256 characters.
$msg->gcs_staging_dir()/$msg->gcs_staging_dir($value)Type:
StringIntermediate Cloud Storage directory used for the import with a length limit of 2,000 characters. Can be specified if one wants to have the AlloyDB export to a specific Cloud Storage directory.
Ensure that the AlloyDB service account has the necessary Cloud Storage Admin permissions to access the specified Cloud Storage directory.
Google::Cloud::Discoveryengine::V1alpha::ImportConfig::FirestoreSource
Firestore source import data from.
Inherits from Protobuf::Message.
Accessors
$msg->project_id()/$msg->project_id($value)Type:
StringThe project ID that the Cloud SQL source is in with a length limit of 128 characters. If not specified, inherits the project ID from the parent request.
$msg->database_id()/$msg->database_id($value)Type:
StringRequired. The Firestore database to copy the data from with a length limit of 256 characters.
$msg->collection_id()/$msg->collection_id($value)Type:
StringRequired. The Firestore collection (or entity) to copy the data from with a length limit of 1,500 characters.
$msg->gcs_staging_dir()/$msg->gcs_staging_dir($value)Type:
StringIntermediate Cloud Storage directory used for the import with a length limit of 2,000 characters. Can be specified if one wants to have the Firestore export to a specific Cloud Storage directory.
Ensure that the Firestore service account has the necessary Cloud Storage Admin permissions to access the specified Cloud Storage directory.
Google::Cloud::Discoveryengine::V1alpha::ImportConfig::ImportErrorConfig
Configuration of destination for Import related errors.
Inherits from Protobuf::Message.
Accessors
$msg->gcs_prefix()/$msg->gcs_prefix($value)Type:
StringCloud Storage prefix for import errors. This must be an empty, existing Cloud Storage directory. Import errors are written to sharded files in this directory, one per line, as a JSON-encoded `google.rpc.Status` message.
Google::Cloud::Discoveryengine::V1alpha::ImportConfig::ImportUserEventsRequest
Request message for the ImportUserEvents request.
Inherits from Protobuf::Message.
Accessors
$msg->inline_source()/$msg->inline_source($value)Type:
Message(Google::Cloud::Discoveryengine::V1alpha::ImportConfig::ImportUserEventsRequest::InlineSource)The Inline source for the input content for UserEvents.
$msg->gcs_source()/$msg->gcs_source($value)Type:
Message(Google::Cloud::Discoveryengine::V1alpha::ImportConfig::GcsSource)Cloud Storage location for the input content.
$msg->bigquery_source()/$msg->bigquery_source($value)Type:
Message(Google::Cloud::Discoveryengine::V1alpha::ImportConfig::BigQuerySource)BigQuery input source.
$msg->parent()/$msg->parent($value)Type:
StringRequired. Parent DataStore resource name, of the form `projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}`
$msg->error_config()/$msg->error_config($value)Type:
Message(Google::Cloud::Discoveryengine::V1alpha::ImportConfig::ImportErrorConfig)The desired location of errors incurred during the Import. Cannot be set for inline user event imports.
Google::Cloud::Discoveryengine::V1alpha::ImportConfig::ImportUserEventsResponse
Response of the ImportUserEventsRequest. If the long running operation was successful, then this message is returned by the google.longrunning.Operations.response field if the operation was successful.
Inherits from Protobuf::Message.
Accessors
$msg->error_samples()/$msg->error_samples($value)Type:
Message(Google::Rpc::Status::Status)A sample of errors encountered while processing the request.
$msg->error_config()/$msg->error_config($value)Type:
Message(Google::Cloud::Discoveryengine::V1alpha::ImportConfig::ImportErrorConfig)Echoes the destination for the complete errors if this field was set in the request.
$msg->joined_events_count()/$msg->joined_events_count($value)Type:
Int64Count of user events imported with complete existing Documents.
$msg->unjoined_events_count()/$msg->unjoined_events_count($value)Type:
Int64Count of user events imported, but with Document information not found in the existing Branch.
Google::Cloud::Discoveryengine::V1alpha::ImportConfig::ImportUserEventsMetadata
Metadata related to the progress of the Import operation. This is 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.
$msg->success_count()/$msg->success_count($value)Type:
Int64Count of entries that were processed successfully.
$msg->failure_count()/$msg->failure_count($value)Type:
Int64Count of entries that encountered errors while processing.
Google::Cloud::Discoveryengine::V1alpha::ImportConfig::ImportDocumentsMetadata
Metadata related to the progress of the ImportDocuments operation. This is 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.
$msg->success_count()/$msg->success_count($value)Type:
Int64Count of entries that were processed successfully.
$msg->failure_count()/$msg->failure_count($value)Type:
Int64Count of entries that encountered errors while processing.
$msg->total_count()/$msg->total_count($value)Type:
Int64Total count of entries that were processed.
Google::Cloud::Discoveryengine::V1alpha::ImportConfig::ImportDocumentsRequest
Request message for Import methods.
Inherits from Protobuf::Message.
Accessors
$msg->inline_source()/$msg->inline_source($value)Type:
Message(Google::Cloud::Discoveryengine::V1alpha::ImportConfig::ImportDocumentsRequest::InlineSource)The Inline source for the input content for documents.
$msg->gcs_source()/$msg->gcs_source($value)Type:
Message(Google::Cloud::Discoveryengine::V1alpha::ImportConfig::GcsSource)Cloud Storage location for the input content.
$msg->bigquery_source()/$msg->bigquery_source($value)Type:
Message(Google::Cloud::Discoveryengine::V1alpha::ImportConfig::BigQuerySource)BigQuery input source.
$msg->fhir_store_source()/$msg->fhir_store_source($value)Type:
Message(Google::Cloud::Discoveryengine::V1alpha::ImportConfig::FhirStoreSource)FhirStore input source.
$msg->spanner_source()/$msg->spanner_source($value)Type:
Message(Google::Cloud::Discoveryengine::V1alpha::ImportConfig::SpannerSource)Spanner input source.
$msg->cloud_sql_source()/$msg->cloud_sql_source($value)Type:
Message(Google::Cloud::Discoveryengine::V1alpha::ImportConfig::CloudSqlSource)Cloud SQL input source.
$msg->firestore_source()/$msg->firestore_source($value)Type:
Message(Google::Cloud::Discoveryengine::V1alpha::ImportConfig::FirestoreSource)Firestore input source.
$msg->alloy_db_source()/$msg->alloy_db_source($value)Type:
Message(Google::Cloud::Discoveryengine::V1alpha::ImportConfig::AlloyDbSource)AlloyDB input source.
$msg->bigtable_source()/$msg->bigtable_source($value)Type:
Message(Google::Cloud::Discoveryengine::V1alpha::ImportConfig::BigtableSource)Cloud Bigtable input source.
$msg->parent()/$msg->parent($value)Type:
StringRequired. The parent branch resource name, such as `projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/branches/{branch}`. Requires create/update permission.
$msg->error_config()/$msg->error_config($value)Type:
Message(Google::Cloud::Discoveryengine::V1alpha::ImportConfig::ImportErrorConfig)The desired location of errors incurred during the Import.
$msg->reconciliation_mode()/$msg->reconciliation_mode($value)Type:
Enum(Google::Cloud::Discoveryengine::V1alpha::ImportDocumentsRequest::ReconciliationMode)The mode of reconciliation between existing documents and the documents to be imported. Defaults to [ReconciliationMode.INCREMENTAL][google.cloud.discoveryengine.v1alpha.ImportDocumentsRequest.ReconciliationMode.INCREMENTAL].
$msg->update_mask()/$msg->update_mask($value)Type:
Message(Google::Protobuf::FieldMask::FieldMask)Indicates which fields in the provided imported documents to update. If not set, the default is to update all fields.
$msg->auto_generate_ids()/$msg->auto_generate_ids($value)Type:
BoolWhether to automatically generate IDs for the documents if absent.
If set to `true`, [Document.id][google.cloud.discoveryengine.v1alpha.Document.id]s are automatically generated based on the hash of the payload, where IDs may not be consistent during multiple imports. In which case [ReconciliationMode.FULL][google.cloud.discoveryengine.v1alpha.ImportDocumentsRequest.ReconciliationMode.FULL] is highly recommended to avoid duplicate contents. If unset or set to `false`, [Document.id][google.cloud.discoveryengine.v1alpha.Document.id]s have to be specified using [id_field][google.cloud.discoveryengine.v1alpha.ImportDocumentsRequest.id_field], otherwise, documents without IDs fail to be imported.
Supported data sources:
* [GcsSource][google.cloud.discoveryengine.v1alpha.GcsSource]. [GcsSource.data_schema][google.cloud.discoveryengine.v1alpha.GcsSource.data_schema] must be `custom` or `csv`. Otherwise, an INVALID_ARGUMENT error is thrown. * [BigQuerySource][google.cloud.discoveryengine.v1alpha.BigQuerySource]. [BigQuerySource.data_schema][google.cloud.discoveryengine.v1alpha.BigQuerySource.data_schema] must be `custom` or `csv`. Otherwise, an INVALID_ARGUMENT error is thrown. * [SpannerSource][google.cloud.discoveryengine.v1alpha.SpannerSource]. * [CloudSqlSource][google.cloud.discoveryengine.v1alpha.CloudSqlSource]. * [FirestoreSource][google.cloud.discoveryengine.v1alpha.FirestoreSource]. * [BigtableSource][google.cloud.discoveryengine.v1alpha.BigtableSource].
$msg->id_field()/$msg->id_field($value)Type:
StringThe field indicates the ID field or column to be used as unique IDs of the documents.
For [GcsSource][google.cloud.discoveryengine.v1alpha.GcsSource] it is the key of the JSON field. For instance, `my_id` for JSON `{"my_id": "some_uuid"}`. For others, it may be the column name of the table where the unique ids are stored.
The values of the JSON field or the table column are used as the [Document.id][google.cloud.discoveryengine.v1alpha.Document.id]s. The JSON field or the table column must be of string type, and the values must be set as valid strings conform to [RFC-1034](https://tools.ietf.org/html/rfc1034) with 1-63 characters. Otherwise, documents without valid IDs fail to be imported.
Only set this field when [auto_generate_ids][google.cloud.discoveryengine.v1alpha.ImportDocumentsRequest.auto_generate_ids] is unset or set as `false`. Otherwise, an INVALID_ARGUMENT error is thrown.
If it is unset, a default value `_id` is used when importing from the allowed data sources.
Supported data sources:
* [GcsSource][google.cloud.discoveryengine.v1alpha.GcsSource]. [GcsSource.data_schema][google.cloud.discoveryengine.v1alpha.GcsSource.data_schema] must be `custom` or `csv`. Otherwise, an INVALID_ARGUMENT error is thrown. * [BigQuerySource][google.cloud.discoveryengine.v1alpha.BigQuerySource]. [BigQuerySource.data_schema][google.cloud.discoveryengine.v1alpha.BigQuerySource.data_schema] must be `custom` or `csv`. Otherwise, an INVALID_ARGUMENT error is thrown. * [SpannerSource][google.cloud.discoveryengine.v1alpha.SpannerSource]. * [CloudSqlSource][google.cloud.discoveryengine.v1alpha.CloudSqlSource]. * [FirestoreSource][google.cloud.discoveryengine.v1alpha.FirestoreSource]. * [BigtableSource][google.cloud.discoveryengine.v1alpha.BigtableSource].
Enum: ImportDocumentsRequest::ReconciliationMode
RECONCILIATION_MODE_UNSPECIFIED=>0INCREMENTAL=>1FULL=>2
Google::Cloud::Discoveryengine::V1alpha::ImportConfig::ImportDocumentsResponse
Response of the [ImportDocumentsRequest][google.cloud.discoveryengine.v1alpha.ImportDocumentsRequest]. If the long running operation is done, then this message is returned by the google.longrunning.Operations.response field if the operation was successful.
Inherits from Protobuf::Message.
Accessors
$msg->error_samples()/$msg->error_samples($value)Type:
Message(Google::Rpc::Status::Status)A sample of errors encountered while processing the request.
$msg->error_config()/$msg->error_config($value)Type:
Message(Google::Cloud::Discoveryengine::V1alpha::ImportConfig::ImportErrorConfig)Echoes the destination for the complete errors in the request if set.
Google::Cloud::Discoveryengine::V1alpha::ImportConfig::ImportSuggestionDenyListEntriesRequest
Request message for [CompletionService.ImportSuggestionDenyListEntries][google.cloud.discoveryengine.v1alpha.CompletionService.ImportSuggestionDenyListEntries] method.
Inherits from Protobuf::Message.
Accessors
$msg->inline_source()/$msg->inline_source($value)Type:
Message(Google::Cloud::Discoveryengine::V1alpha::ImportConfig::ImportSuggestionDenyListEntriesRequest::InlineSource)The Inline source for the input content for suggestion deny list entries.
$msg->gcs_source()/$msg->gcs_source($value)Type:
Message(Google::Cloud::Discoveryengine::V1alpha::ImportConfig::GcsSource)Cloud Storage location for the input content.
Only 1 file can be specified that contains all entries to import. Supported values `gcs_source.schema` for autocomplete suggestion deny list entry imports:
* `suggestion_deny_list` (default): One JSON [SuggestionDenyListEntry] per line.
$msg->parent()/$msg->parent($value)Type:
StringRequired. The parent data store resource name for which to import denylist entries. Follows pattern projects/*/locations/*/collections/*/dataStores/*.
Google::Cloud::Discoveryengine::V1alpha::ImportConfig::ImportSuggestionDenyListEntriesResponse
Response message for [CompletionService.ImportSuggestionDenyListEntries][google.cloud.discoveryengine.v1alpha.CompletionService.ImportSuggestionDenyListEntries] method.
Inherits from Protobuf::Message.
Accessors
$msg->error_samples()/$msg->error_samples($value)Type:
Message(Google::Rpc::Status::Status)A sample of errors encountered while processing the request.
$msg->imported_entries_count()/$msg->imported_entries_count($value)Type:
Int64Count of deny list entries successfully imported.
$msg->failed_entries_count()/$msg->failed_entries_count($value)Type:
Int64Count of deny list entries that failed to be imported.
Google::Cloud::Discoveryengine::V1alpha::ImportConfig::ImportSuggestionDenyListEntriesMetadata
Metadata related to the progress of the ImportSuggestionDenyListEntries operation. This is 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::V1alpha::ImportConfig::ImportCompletionSuggestionsRequest
Request message for [CompletionService.ImportCompletionSuggestions][google.cloud.discoveryengine.v1alpha.CompletionService.ImportCompletionSuggestions] method.
Inherits from Protobuf::Message.
Accessors
$msg->inline_source()/$msg->inline_source($value)Type:
Message(Google::Cloud::Discoveryengine::V1alpha::ImportConfig::ImportCompletionSuggestionsRequest::InlineSource)The Inline source for suggestion entries.
$msg->gcs_source()/$msg->gcs_source($value)Type:
Message(Google::Cloud::Discoveryengine::V1alpha::ImportConfig::GcsSource)Cloud Storage location for the input content.
$msg->bigquery_source()/$msg->bigquery_source($value)Type:
Message(Google::Cloud::Discoveryengine::V1alpha::ImportConfig::BigQuerySource)BigQuery input source.
$msg->parent()/$msg->parent($value)Type:
StringRequired. The parent data store resource name for which to import customer autocomplete suggestions.
Follows pattern `projects/*/locations/*/collections/*/dataStores/*`
$msg->error_config()/$msg->error_config($value)Type:
Message(Google::Cloud::Discoveryengine::V1alpha::ImportConfig::ImportErrorConfig)The desired location of errors incurred during the Import.
Google::Cloud::Discoveryengine::V1alpha::ImportConfig::ImportCompletionSuggestionsResponse
Response of the [CompletionService.ImportCompletionSuggestions][google.cloud.discoveryengine.v1alpha.CompletionService.ImportCompletionSuggestions] method. If the long running operation is done, this message is returned by the google.longrunning.Operations.response field if the operation is successful.
Inherits from Protobuf::Message.
Accessors
$msg->error_samples()/$msg->error_samples($value)Type:
Message(Google::Rpc::Status::Status)A sample of errors encountered while processing the request.
$msg->error_config()/$msg->error_config($value)Type:
Message(Google::Cloud::Discoveryengine::V1alpha::ImportConfig::ImportErrorConfig)The desired location of errors incurred during the Import.
Google::Cloud::Discoveryengine::V1alpha::ImportConfig::ImportCompletionSuggestionsMetadata
Metadata related to the progress of the ImportCompletionSuggestions 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.
$msg->success_count()/$msg->success_count($value)Type:
Int64Count of [CompletionSuggestion][google.cloud.discoveryengine.v1alpha.CompletionSuggestion]s successfully imported.
$msg->failure_count()/$msg->failure_count($value)Type:
Int64Count of [CompletionSuggestion][google.cloud.discoveryengine.v1alpha.CompletionSuggestion]s that failed to be imported.
Google::Cloud::Discoveryengine::V1alpha::ImportConfig::ImportSampleQueriesRequest
Request message for [SampleQueryService.ImportSampleQueries][google.cloud.discoveryengine.v1alpha.SampleQueryService.ImportSampleQueries] method.
Inherits from Protobuf::Message.
Accessors
$msg->inline_source()/$msg->inline_source($value)Type:
Message(Google::Cloud::Discoveryengine::V1alpha::ImportConfig::ImportSampleQueriesRequest::InlineSource)The Inline source for sample query entries.
$msg->gcs_source()/$msg->gcs_source($value)Type:
Message(Google::Cloud::Discoveryengine::V1alpha::ImportConfig::GcsSource)Cloud Storage location for the input content.
$msg->bigquery_source()/$msg->bigquery_source($value)Type:
Message(Google::Cloud::Discoveryengine::V1alpha::ImportConfig::BigQuerySource)BigQuery input source.
$msg->parent()/$msg->parent($value)Type:
StringRequired. The parent sample query set resource name, such as `projects/{project}/locations/{location}/sampleQuerySets/{sampleQuerySet}`.
If the caller does not have permission to list [SampleQuery][google.cloud.discoveryengine.v1alpha.SampleQuery]s under this sample query set, regardless of whether or not this sample query set exists, a `PERMISSION_DENIED` error is returned.
$msg->error_config()/$msg->error_config($value)Type:
Message(Google::Cloud::Discoveryengine::V1alpha::ImportConfig::ImportErrorConfig)The desired location of errors incurred during the Import.
Google::Cloud::Discoveryengine::V1alpha::ImportConfig::ImportSampleQueriesResponse
Response of the [SampleQueryService.ImportSampleQueries][google.cloud.discoveryengine.v1alpha.SampleQueryService.ImportSampleQueries] method. If the long running operation is done, this message is returned by the google.longrunning.Operations.response field if the operation is successful.
Inherits from Protobuf::Message.
Accessors
$msg->error_samples()/$msg->error_samples($value)Type:
Message(Google::Rpc::Status::Status)A sample of errors encountered while processing the request.
$msg->error_config()/$msg->error_config($value)Type:
Message(Google::Cloud::Discoveryengine::V1alpha::ImportConfig::ImportErrorConfig)The desired location of errors incurred during the Import.
Google::Cloud::Discoveryengine::V1alpha::ImportConfig::ImportSampleQueriesMetadata
Metadata related to the progress of the ImportSampleQueries 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)ImportSampleQueries operation create time.
$msg->update_time()/$msg->update_time($value)Type:
Message(Google::Protobuf::Timestamp::Timestamp)ImportSampleQueries operation last update time. If the operation is done, this is also the finish time.
$msg->success_count()/$msg->success_count($value)Type:
Int64Count of [SampleQuery][google.cloud.discoveryengine.v1alpha.SampleQuery]s successfully imported.
$msg->failure_count()/$msg->failure_count($value)Type:
Int64Count of [SampleQuery][google.cloud.discoveryengine.v1alpha.SampleQuery]s that failed to be imported.
$msg->total_count()/$msg->total_count($value)Type:
Int64Total count of [SampleQuery][google.cloud.discoveryengine.v1alpha.SampleQuery]s that were processed.
SEE ALSO
Protobuf, Protobuf::Message, Google::Cloud::Discoveryengine::V1alpha::ImportConfig::Types, https://protobuf.dev/
LICENSE AND COPYRIGHT
Copyright (C) 2026 Google LLC
This program is released under the Apache 2.0 license.