Google Cloud Discovery Engine V1 Client - Class ImportDocumentsResponse (1.2.0)

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

Response of the ImportDocumentsRequest.

If the long running operation is done, then this message is returned by the google.longrunning.Operations.response field if the operation was successful.

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

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 Google\Cloud\DiscoveryEngine\V1\ImportErrorConfig

Echoes the destination for the complete errors in the request if set.

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

Echoes the destination for the complete errors in the request if set.

Returns
Type Description
Google\Cloud\DiscoveryEngine\V1\ImportErrorConfig|null

hasErrorConfig

clearErrorConfig

setErrorConfig

Echoes the destination for the complete errors in the request if set.

Parameter
Name Description
var Google\Cloud\DiscoveryEngine\V1\ImportErrorConfig
Returns
Type Description
$this