Google Cloud Ai Platform V1 Client - Class ListModelsResponse (0.10.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

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.

Generated from protobuf field repeated .google.cloud.aiplatform.v1.Model models = 1;

Returns
TypeDescription
Google\Protobuf\Internal\RepeatedField

setModels

List of Models in the requested page.

Generated from protobuf field repeated .google.cloud.aiplatform.v1.Model models = 1;

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.

Generated from protobuf field string next_page_token = 2;

Returns
TypeDescription
string

setNextPageToken

A token to retrieve next page of results.

Pass to ListModelsRequest.page_token to obtain that page.

Generated from protobuf field string next_page_token = 2;

Parameter
NameDescription
var string
Returns
TypeDescription
$this