Cloud Vision V1 Client - Class ListProductsInProductSetResponse (1.6.8)

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

Response message for the ListProductsInProductSet method.

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

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ products array<Google\Cloud\Vision\V1\Product>

The list of Products.

↳ next_page_token string

Token to retrieve the next page of results, or empty if there are no more results in the list.

getProducts

The list of Products.

Returns
TypeDescription
Google\Protobuf\Internal\RepeatedField

setProducts

The list of Products.

Parameter
NameDescription
var array<Google\Cloud\Vision\V1\Product>
Returns
TypeDescription
$this

getNextPageToken

Token to retrieve the next page of results, or empty if there are no more results in the list.

Returns
TypeDescription
string

setNextPageToken

Token to retrieve the next page of results, or empty if there are no more results in the list.

Parameter
NameDescription
var string
Returns
TypeDescription
$this