Class GoogleCloudDiscoveryengineV1alphaImportDocumentsRequest
Request message for Import methods.
Implements
Inherited Members
Namespace: Google.Apis.DiscoveryEngine.v1alpha.Data
Assembly: Google.Apis.DiscoveryEngine.v1alpha.dll
Syntax
public class GoogleCloudDiscoveryengineV1alphaImportDocumentsRequest : IDirectResponseSchema
Properties
AlloyDbSource
AlloyDB input source.
Declaration
[JsonProperty("alloyDbSource")]
public virtual GoogleCloudDiscoveryengineV1alphaAlloyDbSource AlloyDbSource { get; set; }
Property Value
Type | Description |
---|---|
GoogleCloudDiscoveryengineV1alphaAlloyDbSource |
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 GoogleCloudDiscoveryengineV1alphaBigQuerySource BigquerySource { get; set; }
Property Value
Type | Description |
---|---|
GoogleCloudDiscoveryengineV1alphaBigQuerySource |
BigtableSource
Cloud Bigtable input source.
Declaration
[JsonProperty("bigtableSource")]
public virtual GoogleCloudDiscoveryengineV1alphaBigtableSource BigtableSource { get; set; }
Property Value
Type | Description |
---|---|
GoogleCloudDiscoveryengineV1alphaBigtableSource |
CloudSqlSource
Cloud SQL input source.
Declaration
[JsonProperty("cloudSqlSource")]
public virtual GoogleCloudDiscoveryengineV1alphaCloudSqlSource CloudSqlSource { get; set; }
Property Value
Type | Description |
---|---|
GoogleCloudDiscoveryengineV1alphaCloudSqlSource |
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 GoogleCloudDiscoveryengineV1alphaImportErrorConfig ErrorConfig { get; set; }
Property Value
Type | Description |
---|---|
GoogleCloudDiscoveryengineV1alphaImportErrorConfig |
FhirStoreSource
FhirStore input source.
Declaration
[JsonProperty("fhirStoreSource")]
public virtual GoogleCloudDiscoveryengineV1alphaFhirStoreSource FhirStoreSource { get; set; }
Property Value
Type | Description |
---|---|
GoogleCloudDiscoveryengineV1alphaFhirStoreSource |
FirestoreSource
Firestore input source.
Declaration
[JsonProperty("firestoreSource")]
public virtual GoogleCloudDiscoveryengineV1alphaFirestoreSource FirestoreSource { get; set; }
Property Value
Type | Description |
---|---|
GoogleCloudDiscoveryengineV1alphaFirestoreSource |
GcsSource
Cloud Storage location for the input content.
Declaration
[JsonProperty("gcsSource")]
public virtual GoogleCloudDiscoveryengineV1alphaGcsSource GcsSource { get; set; }
Property Value
Type | Description |
---|---|
GoogleCloudDiscoveryengineV1alphaGcsSource |
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
custom
orcsv
. 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 GoogleCloudDiscoveryengineV1alphaImportDocumentsRequestInlineSource InlineSource { get; set; }
Property Value
Type | Description |
---|---|
GoogleCloudDiscoveryengineV1alphaImportDocumentsRequestInlineSource |
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 GoogleCloudDiscoveryengineV1alphaSpannerSource SpannerSource { get; set; }
Property Value
Type | Description |
---|---|
GoogleCloudDiscoveryengineV1alphaSpannerSource |
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 |