Cloud Vision V1 Client - Class ListProductsResponse (1.10.2)

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<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<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