Cloud AutoML V1 Client - Class ListModelsResponse (1.5.4)

Reference documentation and code samples for the Cloud AutoML V1 Client class ListModelsResponse.

Response message for AutoMl.ListModels.

Generated from protobuf message google.cloud.automl.v1.ListModelsResponse

Namespace

Google \ Cloud \ AutoMl \ V1

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ model array<Google\Cloud\AutoMl\V1\Model>

List of models in the requested page.

↳ next_page_token string

A token to retrieve next page of results. Pass to ListModelsRequest.page_token to obtain that page.

getModel

List of models in the requested page.

Returns
TypeDescription
Google\Protobuf\Internal\RepeatedField

setModel

List of models in the requested page.

Parameter
NameDescription
var array<Google\Cloud\AutoMl\V1\Model>
Returns
TypeDescription
$this

getNextPageToken

A token to retrieve next page of results.

Pass to ListModelsRequest.page_token to obtain that page.

Returns
TypeDescription
string

setNextPageToken

A token to retrieve next page of results.

Pass to ListModelsRequest.page_token to obtain that page.

Parameter
NameDescription
var string
Returns
TypeDescription
$this