Google Cloud Discovery Engine V1 Client - Class ImportDocumentsResponse (0.6.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
NameDescription
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
TypeDescription
Google\Protobuf\Internal\RepeatedField

setErrorSamples

A sample of errors encountered while processing the request.

Parameter
NameDescription
var array<Google\Rpc\Status>
Returns
TypeDescription
$this

getErrorConfig

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

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

hasErrorConfig

clearErrorConfig

setErrorConfig

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

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