Cloud Vision V1 Client - Class ImportProductSetsResponse (1.10.2)

Reference documentation and code samples for the Cloud Vision V1 Client class ImportProductSetsResponse.

Response message for the ImportProductSets method.

This message is returned by the google.longrunning.Operations.GetOperation method in the returned google.longrunning.Operation.response field.

Generated from protobuf message google.cloud.vision.v1.ImportProductSetsResponse

Namespace

Google \ Cloud \ Vision \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ reference_images array<ReferenceImage>

The list of reference_images that are imported successfully.

↳ statuses array<Google\Rpc\Status>

The rpc status for each ImportProductSet request, including both successes and errors. The number of statuses here matches the number of lines in the csv file, and statuses[i] stores the success or failure status of processing the i-th line of the csv, starting from line 0.

getReferenceImages

The list of reference_images that are imported successfully.

Returns
Type Description
Google\Protobuf\Internal\RepeatedField

setReferenceImages

The list of reference_images that are imported successfully.

Parameter
Name Description
var array<ReferenceImage>
Returns
Type Description
$this

getStatuses

The rpc status for each ImportProductSet request, including both successes and errors.

The number of statuses here matches the number of lines in the csv file, and statuses[i] stores the success or failure status of processing the i-th line of the csv, starting from line 0.

Returns
Type Description
Google\Protobuf\Internal\RepeatedField

setStatuses

The rpc status for each ImportProductSet request, including both successes and errors.

The number of statuses here matches the number of lines in the csv file, and statuses[i] stores the success or failure status of processing the i-th line of the csv, starting from line 0.

Parameter
Name Description
var array<Google\Rpc\Status>
Returns
Type Description
$this