Google Cloud Retail V2 Client - Class ListControlsResponse (1.0.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.

Generated from protobuf field repeated .google.cloud.retail.v2.Control controls = 1;

Returns
TypeDescription
Google\Protobuf\Internal\RepeatedField

setControls

All the Controls for a given catalog.

Generated from protobuf field repeated .google.cloud.retail.v2.Control controls = 1;

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

getNextPageToken

Pagination token, if not returned indicates the last page.

Generated from protobuf field string next_page_token = 2;

Returns
TypeDescription
string

setNextPageToken

Pagination token, if not returned indicates the last page.

Generated from protobuf field string next_page_token = 2;

Parameter
NameDescription
var string
Returns
TypeDescription
$this