Cloud Vision V1 Client - Class ListProductsResponse (1.9.3)

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

Namespace

Google \ Cloud \ Vision \ V1

Methods

__construct

Constructor.

Parameters
Name Description
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
Type Description
Google\Protobuf\Internal\RepeatedField

setProducts

List of products.

Parameter
Name Description
var array<Google\Cloud\Vision\V1\Product>
Returns
Type Description
$this

getNextPageToken

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

Returns
Type Description
string

setNextPageToken

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

Parameter
Name Description
var string
Returns
Type Description
$this