Google Cloud Discovery Engine V1 Client - Class ImportCompletionSuggestionsResponse (1.3.2)

Reference documentation and code samples for the Google Cloud Discovery Engine V1 Client class ImportCompletionSuggestionsResponse.

Response of the CompletionService.ImportCompletionSuggestions method. If the long running operation is done, this message is returned by the google.longrunning.Operations.response field if the operation is successful.

Generated from protobuf message google.cloud.discoveryengine.v1.ImportCompletionSuggestionsResponse

Namespace

Google \ Cloud \ DiscoveryEngine \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ error_samples array<Google\Rpc\Status>

A sample of errors encountered while processing the request.

↳ error_config ImportErrorConfig

The desired location of errors incurred during the Import.

getErrorSamples

A sample of errors encountered while processing the request.

Returns
Type Description
Google\Protobuf\Internal\RepeatedField

setErrorSamples

A sample of errors encountered while processing the request.

Parameter
Name Description
var array<Google\Rpc\Status>
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