Class: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaImportDocumentsRequest
- Inherits:
-
Object
- Object
- Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaImportDocumentsRequest
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/discoveryengine_v1alpha/classes.rb,
lib/google/apis/discoveryengine_v1alpha/representations.rb,
lib/google/apis/discoveryengine_v1alpha/representations.rb
Overview
Request message for Import methods.
Instance Attribute Summary collapse
-
#bigquery_source ⇒ Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaBigQuerySource
BigQuery source import data from.
-
#error_config ⇒ Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaImportErrorConfig
Configuration of destination for Import related errors.
-
#gcs_source ⇒ Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaGcsSource
Google Cloud Storage location for input content.
-
#inline_source ⇒ Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaImportDocumentsRequestInlineSource
The inline source for the input config for ImportDocuments method.
-
#reconciliation_mode ⇒ String
The mode of reconciliation between existing documents and the documents to be imported.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDiscoveryengineV1alphaImportDocumentsRequest
constructor
A new instance of GoogleCloudDiscoveryengineV1alphaImportDocumentsRequest.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDiscoveryengineV1alphaImportDocumentsRequest
Returns a new instance of GoogleCloudDiscoveryengineV1alphaImportDocumentsRequest.
398 399 400 |
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 398 def initialize(**args) update!(**args) end |
Instance Attribute Details
#bigquery_source ⇒ Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaBigQuerySource
BigQuery source import data from.
Corresponds to the JSON property bigquerySource
375 376 377 |
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 375 def bigquery_source @bigquery_source end |
#error_config ⇒ Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaImportErrorConfig
Configuration of destination for Import related errors.
Corresponds to the JSON property errorConfig
380 381 382 |
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 380 def error_config @error_config end |
#gcs_source ⇒ Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaGcsSource
Google Cloud Storage location for input content. format.
Corresponds to the JSON property gcsSource
385 386 387 |
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 385 def gcs_source @gcs_source end |
#inline_source ⇒ Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaImportDocumentsRequestInlineSource
The inline source for the input config for ImportDocuments method.
Corresponds to the JSON property inlineSource
390 391 392 |
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 390 def inline_source @inline_source end |
#reconciliation_mode ⇒ String
The mode of reconciliation between existing documents and the documents to be
imported. Defaults to ReconciliationMode.INCREMENTAL.
Corresponds to the JSON property reconciliationMode
396 397 398 |
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 396 def reconciliation_mode @reconciliation_mode end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
403 404 405 406 407 408 409 |
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 403 def update!(**args) @bigquery_source = args[:bigquery_source] if args.key?(:bigquery_source) @error_config = args[:error_config] if args.key?(:error_config) @gcs_source = args[:gcs_source] if args.key?(:gcs_source) @inline_source = args[:inline_source] if args.key?(:inline_source) @reconciliation_mode = args[:reconciliation_mode] if args.key?(:reconciliation_mode) end |