Cloud Vision V1 Client - Class ImportProductSetsResponse (1.6.8)

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

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ reference_images array<Google\Cloud\Vision\V1\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
TypeDescription
Google\Protobuf\Internal\RepeatedField

setReferenceImages

The list of reference_images that are imported successfully.

Parameter
NameDescription
var array<Google\Cloud\Vision\V1\ReferenceImage>
Returns
TypeDescription
$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
TypeDescription
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
NameDescription
var array<Google\Rpc\Status>
Returns
TypeDescription
$this