Cloud AutoML V1 Client - Class ListModelsResponse (2.0.0-RC1)

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
Name Description
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
Type Description
Google\Protobuf\Internal\RepeatedField

setModel

List of models in the requested page.

Parameter
Name Description
var array<Google\Cloud\AutoMl\V1\Model>
Returns
Type Description
$this

getNextPageToken

A token to retrieve next page of results.

Pass to ListModelsRequest.page_token to obtain that page.

Returns
Type Description
string

setNextPageToken

A token to retrieve next page of results.

Pass to ListModelsRequest.page_token to obtain that page.

Parameter
Name Description
var string
Returns
Type Description
$this