Google Cloud Retail V2 Client - Class ImportProductsResponse (1.0.1)

Reference documentation and code samples for the Google Cloud Retail V2 Client class ImportProductsResponse.

Response of the ImportProductsRequest. 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.retail.v2.ImportProductsResponse

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.

↳ errors_config Google\Cloud\Retail\V2\ImportErrorsConfig

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

getErrorSamples

A sample of errors encountered while processing the request.

Generated from protobuf field repeated .google.rpc.Status error_samples = 1;

Returns
TypeDescription
Google\Protobuf\Internal\RepeatedField

setErrorSamples

A sample of errors encountered while processing the request.

Generated from protobuf field repeated .google.rpc.Status error_samples = 1;

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

getErrorsConfig

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

Generated from protobuf field .google.cloud.retail.v2.ImportErrorsConfig errors_config = 2;

Returns
TypeDescription
Google\Cloud\Retail\V2\ImportErrorsConfig|null

hasErrorsConfig

clearErrorsConfig

setErrorsConfig

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

Generated from protobuf field .google.cloud.retail.v2.ImportErrorsConfig errors_config = 2;

Parameter
NameDescription
var Google\Cloud\Retail\V2\ImportErrorsConfig
Returns
TypeDescription
$this