Reference documentation and code samples for the Google Cloud Discovery Engine V1 Client class ImportCompletionSuggestionsRequest.
Request message for CompletionService.ImportCompletionSuggestions method.
Generated from protobuf message google.cloud.discoveryengine.v1.ImportCompletionSuggestionsRequest
Namespace
Google \ Cloud \ DiscoveryEngine \ V1Methods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ inline_source |
ImportCompletionSuggestionsRequest\InlineSource
The Inline source for suggestion entries. |
↳ gcs_source |
GcsSource
Cloud Storage location for the input content. |
↳ bigquery_source |
BigQuerySource
BigQuery input source. |
↳ parent |
string
Required. The parent data store resource name for which to import customer autocomplete suggestions. Follows pattern |
↳ error_config |
ImportErrorConfig
The desired location of errors incurred during the Import. |
getInlineSource
The Inline source for suggestion entries.
| Returns | |
|---|---|
| Type | Description |
ImportCompletionSuggestionsRequest\InlineSource|null |
|
hasInlineSource
setInlineSource
The Inline source for suggestion entries.
| Parameter | |
|---|---|
| Name | Description |
var |
ImportCompletionSuggestionsRequest\InlineSource
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getGcsSource
Cloud Storage location for the input content.
| Returns | |
|---|---|
| Type | Description |
GcsSource|null |
|
hasGcsSource
setGcsSource
Cloud Storage location for the input content.
| Parameter | |
|---|---|
| Name | Description |
var |
GcsSource
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getBigquerySource
BigQuery input source.
| Returns | |
|---|---|
| Type | Description |
BigQuerySource|null |
|
hasBigquerySource
setBigquerySource
BigQuery input source.
| Parameter | |
|---|---|
| Name | Description |
var |
BigQuerySource
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getParent
Required. The parent data store resource name for which to import customer autocomplete suggestions.
Follows pattern projects/*/locations/*/collections/*/dataStores/*
| Returns | |
|---|---|
| Type | Description |
string |
|
setParent
Required. The parent data store resource name for which to import customer autocomplete suggestions.
Follows pattern projects/*/locations/*/collections/*/dataStores/*
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getErrorConfig
The desired location of errors incurred during the Import.
| Returns | |
|---|---|
| Type | Description |
ImportErrorConfig|null |
|
hasErrorConfig
clearErrorConfig
setErrorConfig
The desired location of errors incurred during the Import.
| Parameter | |
|---|---|
| Name | Description |
var |
ImportErrorConfig
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getSource
| Returns | |
|---|---|
| Type | Description |
string |
|