Google Cloud Discovery Engine V1beta Client - Class ImportDocumentsRequest (0.1.1)

Reference documentation and code samples for the Google Cloud Discovery Engine V1beta Client class ImportDocumentsRequest.

Request message for Import methods.

Generated from protobuf message google.cloud.discoveryengine.v1beta.ImportDocumentsRequest

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ inline_source Google\Cloud\DiscoveryEngine\V1beta\ImportDocumentsRequest\InlineSource

The Inline source for the input content for documents.

↳ gcs_source Google\Cloud\DiscoveryEngine\V1beta\GcsSource

Cloud Storage location for the input content.

↳ bigquery_source Google\Cloud\DiscoveryEngine\V1beta\BigQuerySource

BigQuery input source.

↳ parent string

Required. The parent branch resource name, such as projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/branches/{branch}. Requires create/update permission.

↳ error_config Google\Cloud\DiscoveryEngine\V1beta\ImportErrorConfig

The desired location of errors incurred during the Import.

↳ reconciliation_mode int

The mode of reconciliation between existing documents and the documents to be imported. Defaults to ReconciliationMode.INCREMENTAL.

getInlineSource

The Inline source for the input content for documents.

Returns
TypeDescription
Google\Cloud\DiscoveryEngine\V1beta\ImportDocumentsRequest\InlineSource|null

hasInlineSource

setInlineSource

The Inline source for the input content for documents.

Parameter
NameDescription
var Google\Cloud\DiscoveryEngine\V1beta\ImportDocumentsRequest\InlineSource
Returns
TypeDescription
$this

getGcsSource

Cloud Storage location for the input content.

Returns
TypeDescription
Google\Cloud\DiscoveryEngine\V1beta\GcsSource|null

hasGcsSource

setGcsSource

Cloud Storage location for the input content.

Parameter
NameDescription
var Google\Cloud\DiscoveryEngine\V1beta\GcsSource
Returns
TypeDescription
$this

getBigquerySource

BigQuery input source.

Returns
TypeDescription
Google\Cloud\DiscoveryEngine\V1beta\BigQuerySource|null

hasBigquerySource

setBigquerySource

BigQuery input source.

Parameter
NameDescription
var Google\Cloud\DiscoveryEngine\V1beta\BigQuerySource
Returns
TypeDescription
$this

getParent

Required. The parent branch resource name, such as projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/branches/{branch}.

Requires create/update permission.

Returns
TypeDescription
string

setParent

Required. The parent branch resource name, such as projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/branches/{branch}.

Requires create/update permission.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getErrorConfig

The desired location of errors incurred during the Import.

Returns
TypeDescription
Google\Cloud\DiscoveryEngine\V1beta\ImportErrorConfig|null

hasErrorConfig

clearErrorConfig

setErrorConfig

The desired location of errors incurred during the Import.

Parameter
NameDescription
var Google\Cloud\DiscoveryEngine\V1beta\ImportErrorConfig
Returns
TypeDescription
$this

getReconciliationMode

The mode of reconciliation between existing documents and the documents to be imported. Defaults to ReconciliationMode.INCREMENTAL.

Returns
TypeDescription
int

setReconciliationMode

The mode of reconciliation between existing documents and the documents to be imported. Defaults to ReconciliationMode.INCREMENTAL.

Parameter
NameDescription
var int
Returns
TypeDescription
$this

getSource

Returns
TypeDescription
string