NAME

Google::Cloud::Discoveryengine::V1::ImportConfig - Compiled Protocol Buffers messages for google/cloud/discoveryengine/v1/import_config.proto

SYNOPSIS

use Google::Cloud::Discoveryengine::V1::ImportConfig;

my $msg = Google::Cloud::Discoveryengine::V1::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::V1::ImportConfig::GcsSource->parse($bytes);

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

DESCRIPTION

Auto-generated Protobuf message classes compiled from google/cloud/discoveryengine/v1/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::V1::ImportConfig::GcsSource

Cloud Storage location for input content.

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Required. 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: String

    The schema to use when parsing the data from the source.

    Supported values for document imports:

    * `document` (default): One JSON [Document][google.cloud.discoveryengine.v1.Document] per line. Each document must have a valid [Document.id][google.cloud.discoveryengine.v1.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.v1.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.v1.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.v1.UserEvent] per line.

Google::Cloud::Discoveryengine::V1::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: String

    The 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: String

    Required. 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: String

    Required. 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: String

    Intermediate 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: String

    The schema to use when parsing the data from the source.

    Supported values for user event imports:

    * `user_event` (default): One [UserEvent][google.cloud.discoveryengine.v1.UserEvent] per row.

    Supported values for document imports:

    * `document` (default): One [Document][google.cloud.discoveryengine.v1.Document] format per row. Each document must have a valid [Document.id][google.cloud.discoveryengine.v1.Document.id] and one of [Document.json_data][google.cloud.discoveryengine.v1.Document.json_data] or [Document.struct_data][google.cloud.discoveryengine.v1.Document.struct_data]. * `custom`: One custom data per row in arbitrary format that conforms to the defined [Schema][google.cloud.discoveryengine.v1.Schema] of the data store. This can only be used by the GENERIC Data Store vertical.

Google::Cloud::Discoveryengine::V1::ImportConfig::SpannerSource

The Spanner source for importing data

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    The 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: String

    Required. The instance ID of the source Spanner table.

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

    Type: String

    Required. The database ID of the source Spanner table.

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

    Type: String

    Required. The table name of the Spanner database that needs to be imported.

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

    Type: Bool

    Whether 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::V1::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: String

    The 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::V1::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 => 0

  • STRING => 1

  • NUMBER => 2

  • INTEGER => 3

  • VAR_INTEGER => 4

  • BIG_NUMERIC => 5

  • BOOLEAN => 6

  • JSON => 7

Enum: BigtableOptions::Encoding

  • ENCODING_UNSPECIFIED => 0

  • TEXT => 1

  • BINARY => 2

Google::Cloud::Discoveryengine::V1::ImportConfig::BigtableSource

The Cloud Bigtable source for importing data.

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    The 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: String

    Required. The instance ID of the Cloud Bigtable that needs to be imported.

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

    Type: String

    Required. The table ID of the Cloud Bigtable that needs to be imported.

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

    Type: Message (Google::Cloud::Discoveryengine::V1::ImportConfig::BigtableOptions)

    Required. Bigtable options that contains information needed when parsing data into typed structures. For example, column type annotations.

Google::Cloud::Discoveryengine::V1::ImportConfig::FhirStoreSource

Cloud FhirStore source import data from.

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Required. 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: String

    Intermediate 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: String

    The 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.

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

    Type: Bool

    Optional. Whether to update the DataStore schema to the latest predefined schema.

    If true, the DataStore schema will be updated to include any FHIR fields or resource types that have been added since the last import and corresponding FHIR resources will be imported from the FHIR store.

    Note this field cannot be used in conjunction with `resource_types`. It should be used after initial import.

Google::Cloud::Discoveryengine::V1::ImportConfig::CloudSqlSource

Cloud SQL source import data from.

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    The 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: String

    Required. The Cloud SQL instance to copy the data from with a length limit of 256 characters.

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

    Type: String

    Required. The Cloud SQL database to copy the data from with a length limit of 256 characters.

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

    Type: String

    Required. 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: String

    Intermediate 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: Bool

    Option 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::V1::ImportConfig::AlloyDbSource

AlloyDB source import data from.

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    The 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: String

    Required. The AlloyDB location to copy the data from with a length limit of 256 characters.

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

    Type: String

    Required. The AlloyDB cluster to copy the data from with a length limit of 256 characters.

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

    Type: String

    Required. The AlloyDB database to copy the data from with a length limit of 256 characters.

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

    Type: String

    Required. 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: String

    Intermediate 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::V1::ImportConfig::FirestoreSource

Firestore source import data from.

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    The 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: String

    Required. The Firestore database to copy the data from with a length limit of 256 characters.

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

    Type: String

    Required. 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: String

    Intermediate 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::V1::ImportConfig::ImportErrorConfig

Configuration of destination for Import related errors.

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Cloud 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::V1::ImportConfig::ImportUserEventsRequest

Request message for the ImportUserEvents request.

Inherits from Protobuf::Message.

Accessors

Google::Cloud::Discoveryengine::V1::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::V1::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: Int64

    Count of user events imported with complete existing Documents.

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

    Type: Int64

    Count of user events imported, but with Document information not found in the existing Branch.

Google::Cloud::Discoveryengine::V1::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)

    Output only. Operation last update time. If the operation is done, this is also the finish time.

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

    Type: Int64

    Count of entries that were processed successfully.

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

    Type: Int64

    Count of entries that encountered errors while processing.

Google::Cloud::Discoveryengine::V1::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: Int64

    Count of entries that were processed successfully.

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

    Type: Int64

    Count of entries that encountered errors while processing.

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

    Type: Int64

    Total count of entries that were processed.

Google::Cloud::Discoveryengine::V1::ImportConfig::ImportDocumentsRequest

Request message for Import methods.

Inherits from Protobuf::Message.

Accessors

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

    Type: Message (Google::Cloud::Discoveryengine::V1::ImportConfig::ImportDocumentsRequest::InlineSource)

    The Inline source for the input content for documents.

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

    Type: Message (Google::Cloud::Discoveryengine::V1::ImportConfig::GcsSource)

    Cloud Storage location for the input content.

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

    Type: Message (Google::Cloud::Discoveryengine::V1::ImportConfig::BigQuerySource)

    BigQuery input source.

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

    Type: Message (Google::Cloud::Discoveryengine::V1::ImportConfig::FhirStoreSource)

    FhirStore input source.

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

    Type: Message (Google::Cloud::Discoveryengine::V1::ImportConfig::SpannerSource)

    Spanner input source.

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

    Type: Message (Google::Cloud::Discoveryengine::V1::ImportConfig::CloudSqlSource)

    Cloud SQL input source.

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

    Type: Message (Google::Cloud::Discoveryengine::V1::ImportConfig::FirestoreSource)

    Firestore input source.

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

    Type: Message (Google::Cloud::Discoveryengine::V1::ImportConfig::AlloyDbSource)

    AlloyDB input source.

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

    Type: Message (Google::Cloud::Discoveryengine::V1::ImportConfig::BigtableSource)

    Cloud Bigtable input source.

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

    Type: String

    Required. 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::V1::ImportConfig::ImportErrorConfig)

    The desired location of errors incurred during the Import.

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

    Type: Enum (Google::Cloud::Discoveryengine::V1::ImportDocumentsRequest::ReconciliationMode)

    The mode of reconciliation between existing documents and the documents to be imported. Defaults to [ReconciliationMode.INCREMENTAL][google.cloud.discoveryengine.v1.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: Bool

    Whether to automatically generate IDs for the documents if absent.

    If set to `true`, [Document.id][google.cloud.discoveryengine.v1.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.v1.ImportDocumentsRequest.ReconciliationMode.FULL] is highly recommended to avoid duplicate contents. If unset or set to `false`, [Document.id][google.cloud.discoveryengine.v1.Document.id]s have to be specified using [id_field][google.cloud.discoveryengine.v1.ImportDocumentsRequest.id_field], otherwise, documents without IDs fail to be imported.

    Supported data sources:

    * [GcsSource][google.cloud.discoveryengine.v1.GcsSource]. [GcsSource.data_schema][google.cloud.discoveryengine.v1.GcsSource.data_schema] must be `custom` or `csv`. Otherwise, an INVALID_ARGUMENT error is thrown. * [BigQuerySource][google.cloud.discoveryengine.v1.BigQuerySource]. [BigQuerySource.data_schema][google.cloud.discoveryengine.v1.BigQuerySource.data_schema] must be `custom` or `csv`. Otherwise, an INVALID_ARGUMENT error is thrown. * [SpannerSource][google.cloud.discoveryengine.v1.SpannerSource]. * [CloudSqlSource][google.cloud.discoveryengine.v1.CloudSqlSource]. * [FirestoreSource][google.cloud.discoveryengine.v1.FirestoreSource]. * [BigtableSource][google.cloud.discoveryengine.v1.BigtableSource].

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

    Type: String

    The field indicates the ID field or column to be used as unique IDs of the documents.

    For [GcsSource][google.cloud.discoveryengine.v1.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.v1.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.v1.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.v1.GcsSource]. [GcsSource.data_schema][google.cloud.discoveryengine.v1.GcsSource.data_schema] must be `custom` or `csv`. Otherwise, an INVALID_ARGUMENT error is thrown. * [BigQuerySource][google.cloud.discoveryengine.v1.BigQuerySource]. [BigQuerySource.data_schema][google.cloud.discoveryengine.v1.BigQuerySource.data_schema] must be `custom` or `csv`. Otherwise, an INVALID_ARGUMENT error is thrown. * [SpannerSource][google.cloud.discoveryengine.v1.SpannerSource]. * [CloudSqlSource][google.cloud.discoveryengine.v1.CloudSqlSource]. * [BigtableSource][google.cloud.discoveryengine.v1.BigtableSource].

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

    Type: Bool

    Optional. Whether to force refresh the unstructured content of the documents.

    If set to `true`, the content part of the documents will be refreshed regardless of the update status of the referencing content.

Enum: ImportDocumentsRequest::ReconciliationMode

  • RECONCILIATION_MODE_UNSPECIFIED => 0

  • INCREMENTAL => 1

  • FULL => 2

Google::Cloud::Discoveryengine::V1::ImportConfig::ImportDocumentsResponse

Response of the [ImportDocumentsRequest][google.cloud.discoveryengine.v1.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

Google::Cloud::Discoveryengine::V1::ImportConfig::ImportSuggestionDenyListEntriesRequest

Request message for [CompletionService.ImportSuggestionDenyListEntries][google.cloud.discoveryengine.v1.CompletionService.ImportSuggestionDenyListEntries] method.

Inherits from Protobuf::Message.

Accessors

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

    Type: Message (Google::Cloud::Discoveryengine::V1::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::V1::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: String

    Required. The parent data store resource name for which to import denylist entries. Follows pattern projects/*/locations/*/collections/*/dataStores/*.

Google::Cloud::Discoveryengine::V1::ImportConfig::ImportSuggestionDenyListEntriesResponse

Response message for [CompletionService.ImportSuggestionDenyListEntries][google.cloud.discoveryengine.v1.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: Int64

    Count of deny list entries successfully imported.

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

    Type: Int64

    Count of deny list entries that failed to be imported.

Google::Cloud::Discoveryengine::V1::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

Google::Cloud::Discoveryengine::V1::ImportConfig::ImportCompletionSuggestionsRequest

Request message for [CompletionService.ImportCompletionSuggestions][google.cloud.discoveryengine.v1.CompletionService.ImportCompletionSuggestions] method.

Inherits from Protobuf::Message.

Accessors

Google::Cloud::Discoveryengine::V1::ImportConfig::ImportCompletionSuggestionsResponse

Response of the [CompletionService.ImportCompletionSuggestions][google.cloud.discoveryengine.v1.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

Google::Cloud::Discoveryengine::V1::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: Int64

    Count of [CompletionSuggestion][google.cloud.discoveryengine.v1.CompletionSuggestion]s successfully imported.

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

    Type: Int64

    Count of [CompletionSuggestion][google.cloud.discoveryengine.v1.CompletionSuggestion]s that failed to be imported.

SEE ALSO

Protobuf, Protobuf::Message, Google::Cloud::Discoveryengine::V1::ImportConfig::Types, https://protobuf.dev/

LICENSE AND COPYRIGHT

Copyright (C) 2026 Google LLC

This program is released under the Apache 2.0 license.