Google Cloud Ai Platform V1 Client - Class ListModelsResponse (0.30.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
NameDescription
data array

Optional. Data for populating the Message object.

↳ models array<Google\Cloud\AIPlatform\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.

getModels

List of Models in the requested page.

Returns
TypeDescription
Google\Protobuf\Internal\RepeatedField

setModels

List of Models in the requested page.

Parameter
NameDescription
var array<Google\Cloud\AIPlatform\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