Class GoogleCloudDiscoveryengineV1betaImportDocumentsRequest
Request message for Import methods.
Implements
Inherited Members
Namespace: Google.Apis.DiscoveryEngine.v1beta.Data
Assembly: Google.Apis.DiscoveryEngine.v1beta.dll
Syntax
public class GoogleCloudDiscoveryengineV1betaImportDocumentsRequest : IDirectResponseSchema
Properties
AlloyDbSource
AlloyDB input source.
Declaration
[JsonProperty("alloyDbSource")]
public virtual GoogleCloudDiscoveryengineV1betaAlloyDbSource AlloyDbSource { get; set; }
Property Value
| Type | Description |
|---|---|
| GoogleCloudDiscoveryengineV1betaAlloyDbSource |
AutoGenerateIds
Whether to automatically generate IDs for the documents if absent. If set to true, Document.ids are
automatically generated based on the hash of the payload, where IDs may not be consistent during multiple
imports. In which case ReconciliationMode.FULL is highly recommended to avoid duplicate contents. If unset
or set to false, Document.ids have to be specified using id_field, otherwise, documents without IDs fail
to be imported. Supported data sources: * GcsSource. GcsSource.data_schema must be custom or csv.
Otherwise, an INVALID_ARGUMENT error is thrown. * BigQuerySource. BigQuerySource.data_schema must be
custom or csv. Otherwise, an INVALID_ARGUMENT error is thrown. * SpannerSource. * CloudSqlSource. *
FirestoreSource. * BigtableSource.
Declaration
[JsonProperty("autoGenerateIds")]
public virtual bool? AutoGenerateIds { get; set; }
Property Value
| Type | Description |
|---|---|
| bool? |
BigquerySource
BigQuery input source.
Declaration
[JsonProperty("bigquerySource")]
public virtual GoogleCloudDiscoveryengineV1betaBigQuerySource BigquerySource { get; set; }
Property Value
| Type | Description |
|---|---|
| GoogleCloudDiscoveryengineV1betaBigQuerySource |
BigtableSource
Cloud Bigtable input source.
Declaration
[JsonProperty("bigtableSource")]
public virtual GoogleCloudDiscoveryengineV1betaBigtableSource BigtableSource { get; set; }
Property Value
| Type | Description |
|---|---|
| GoogleCloudDiscoveryengineV1betaBigtableSource |
CloudSqlSource
Cloud SQL input source.
Declaration
[JsonProperty("cloudSqlSource")]
public virtual GoogleCloudDiscoveryengineV1betaCloudSqlSource CloudSqlSource { get; set; }
Property Value
| Type | Description |
|---|---|
| GoogleCloudDiscoveryengineV1betaCloudSqlSource |
ETag
The ETag of the item.
Declaration
public virtual string ETag { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
ErrorConfig
The desired location of errors incurred during the Import.
Declaration
[JsonProperty("errorConfig")]
public virtual GoogleCloudDiscoveryengineV1betaImportErrorConfig ErrorConfig { get; set; }
Property Value
| Type | Description |
|---|---|
| GoogleCloudDiscoveryengineV1betaImportErrorConfig |
FhirStoreSource
FhirStore input source.
Declaration
[JsonProperty("fhirStoreSource")]
public virtual GoogleCloudDiscoveryengineV1betaFhirStoreSource FhirStoreSource { get; set; }
Property Value
| Type | Description |
|---|---|
| GoogleCloudDiscoveryengineV1betaFhirStoreSource |
FirestoreSource
Firestore input source.
Declaration
[JsonProperty("firestoreSource")]
public virtual GoogleCloudDiscoveryengineV1betaFirestoreSource FirestoreSource { get; set; }
Property Value
| Type | Description |
|---|---|
| GoogleCloudDiscoveryengineV1betaFirestoreSource |
ForceRefreshContent
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.
Declaration
[JsonProperty("forceRefreshContent")]
public virtual bool? ForceRefreshContent { get; set; }
Property Value
| Type | Description |
|---|---|
| bool? |
GcsSource
Cloud Storage location for the input content.
Declaration
[JsonProperty("gcsSource")]
public virtual GoogleCloudDiscoveryengineV1betaGcsSource GcsSource { get; set; }
Property Value
| Type | Description |
|---|---|
| GoogleCloudDiscoveryengineV1betaGcsSource |
IdField
The field indicates the ID field or column to be used as unique IDs of the documents. For 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.ids. 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 with 1-63
characters. Otherwise, documents without valid IDs fail to be imported. Only set this field when
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. GcsSource.data_schema must be custom or csv. Otherwise, an INVALID_ARGUMENT error is thrown.
- BigQuerySource. BigQuerySource.data_schema must be
customorcsv. Otherwise, an INVALID_ARGUMENT error is thrown. * SpannerSource. * CloudSqlSource. * FirestoreSource. * BigtableSource.
Declaration
[JsonProperty("idField")]
public virtual string IdField { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
InlineSource
The Inline source for the input content for documents.
Declaration
[JsonProperty("inlineSource")]
public virtual GoogleCloudDiscoveryengineV1betaImportDocumentsRequestInlineSource InlineSource { get; set; }
Property Value
| Type | Description |
|---|---|
| GoogleCloudDiscoveryengineV1betaImportDocumentsRequestInlineSource |
ReconciliationMode
The mode of reconciliation between existing documents and the documents to be imported. Defaults to ReconciliationMode.INCREMENTAL.
Declaration
[JsonProperty("reconciliationMode")]
public virtual string ReconciliationMode { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
SpannerSource
Spanner input source.
Declaration
[JsonProperty("spannerSource")]
public virtual GoogleCloudDiscoveryengineV1betaSpannerSource SpannerSource { get; set; }
Property Value
| Type | Description |
|---|---|
| GoogleCloudDiscoveryengineV1betaSpannerSource |
UpdateMask
Indicates which fields in the provided imported documents to update. If not set, the default is to update all fields.
Declaration
[JsonProperty("updateMask")]
public virtual object UpdateMask { get; set; }
Property Value
| Type | Description |
|---|---|
| object |