Google Cloud Retail V2 Client - Class ListControlsResponse (1.2.1)

Reference documentation and code samples for the Google Cloud Retail V2 Client class ListControlsResponse.

Response for ListControls method.

Generated from protobuf message google.cloud.retail.v2.ListControlsResponse

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ controls array<Google\Cloud\Retail\V2\Control>

All the Controls for a given catalog.

↳ next_page_token string

Pagination token, if not returned indicates the last page.

getControls

All the Controls for a given catalog.

Returns
TypeDescription
Google\Protobuf\Internal\RepeatedField

setControls

All the Controls for a given catalog.

Parameter
NameDescription
var array<Google\Cloud\Retail\V2\Control>
Returns
TypeDescription
$this

getNextPageToken

Pagination token, if not returned indicates the last page.

Returns
TypeDescription
string

setNextPageToken

Pagination token, if not returned indicates the last page.

Parameter
NameDescription
var string
Returns
TypeDescription
$this