Google Cloud Ai Platform V1 Client - Class ListModelsResponse (1.12.0)

Reference documentation and code samples for the Google Cloud Ai Platform V1 Client class ListModelsResponse.

Response message for ModelService.ListModels

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

Namespace

Google \ Cloud \ AIPlatform \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ models array<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.

getModels

List of Models in the requested page.

Returns
Type Description
Google\Protobuf\Internal\RepeatedField

setModels

List of Models in the requested page.

Parameter
Name Description
var array<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