Cloud Vision V1 Client - Class ListProductsResponse (1.6.8)

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

Response message for the ListProducts method.

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

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

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

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

List of products.

Returns
TypeDescription
Google\Protobuf\Internal\RepeatedField

setProducts

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