Cloud AutoML V1beta1 Client - Class ListModelsResponse (1.4.17)

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

Response message for AutoMl.ListModels.

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

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ model array<Google\Cloud\AutoMl\V1beta1\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\V1beta1\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