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 | |
---|---|
Name | Description |
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 |
↳ 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 | |
---|---|
Type | Description |
Google\Cloud\DiscoveryEngine\V1beta\ImportDocumentsRequest\InlineSource|null |
hasInlineSource
setInlineSource
The Inline source for the input content for documents.
Parameter | |
---|---|
Name | Description |
var |
Google\Cloud\DiscoveryEngine\V1beta\ImportDocumentsRequest\InlineSource
|
Returns | |
---|---|
Type | Description |
$this |
getGcsSource
Cloud Storage location for the input content.
Returns | |
---|---|
Type | Description |
Google\Cloud\DiscoveryEngine\V1beta\GcsSource|null |
hasGcsSource
setGcsSource
Cloud Storage location for the input content.
Parameter | |
---|---|
Name | Description |
var |
Google\Cloud\DiscoveryEngine\V1beta\GcsSource
|
Returns | |
---|---|
Type | Description |
$this |
getBigquerySource
BigQuery input source.
Returns | |
---|---|
Type | Description |
Google\Cloud\DiscoveryEngine\V1beta\BigQuerySource|null |
hasBigquerySource
setBigquerySource
BigQuery input source.
Parameter | |
---|---|
Name | Description |
var |
Google\Cloud\DiscoveryEngine\V1beta\BigQuerySource
|
Returns | |
---|---|
Type | Description |
$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 | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |
getErrorConfig
The desired location of errors incurred during the Import.
Returns | |
---|---|
Type | Description |
Google\Cloud\DiscoveryEngine\V1beta\ImportErrorConfig|null |
hasErrorConfig
clearErrorConfig
setErrorConfig
The desired location of errors incurred during the Import.
Parameter | |
---|---|
Name | Description |
var |
Google\Cloud\DiscoveryEngine\V1beta\ImportErrorConfig
|
Returns | |
---|---|
Type | Description |
$this |
getReconciliationMode
The mode of reconciliation between existing documents and the documents to be imported. Defaults to ReconciliationMode.INCREMENTAL.
Returns | |
---|---|
Type | Description |
int |
setReconciliationMode
The mode of reconciliation between existing documents and the documents to be imported. Defaults to ReconciliationMode.INCREMENTAL.
Parameter | |
---|---|
Name | Description |
var |
int
|
Returns | |
---|---|
Type | Description |
$this |
getSource
Returns | |
---|---|
Type | Description |
string |