Google Cloud Discovery Engine V1beta Client - Class ImportDocumentsResponse (0.4.0)

Reference documentation and code samples for the Google Cloud Discovery Engine V1beta 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.v1beta.ImportDocumentsResponse

Namespace

Google \ Cloud \ DiscoveryEngine \ V1beta

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\V1beta\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\V1beta\ImportErrorConfig|null

hasErrorConfig

clearErrorConfig

setErrorConfig

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

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