Google Cloud Gke Recommender V1 Client - Class FetchModelsResponse (0.1.0)

Reference documentation and code samples for the Google Cloud Gke Recommender V1 Client class FetchModelsResponse.

Response message for GkeInferenceQuickstart.FetchModels.

Generated from protobuf message google.cloud.gkerecommender.v1.FetchModelsResponse

Namespace

Google \ Cloud \ GkeRecommender \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ models array

Output only. List of available models. Open-source models follow the Huggingface Hub owner/model_name format.

↳ next_page_token string

Output only. A token which may be sent as page_token in a subsequent FetchModelsResponse call to retrieve the next page of results. If this field is omitted or empty, then there are no more results to return.

getModels

Output only. List of available models. Open-source models follow the Huggingface Hub owner/model_name format.

Returns
Type Description
Google\Protobuf\Internal\RepeatedField

setModels

Output only. List of available models. Open-source models follow the Huggingface Hub owner/model_name format.

Parameter
Name Description
var string[]
Returns
Type Description
$this

getNextPageToken

Output only. A token which may be sent as page_token in a subsequent FetchModelsResponse call to retrieve the next page of results.

If this field is omitted or empty, then there are no more results to return.

Returns
Type Description
string

setNextPageToken

Output only. A token which may be sent as page_token in a subsequent FetchModelsResponse call to retrieve the next page of results.

If this field is omitted or empty, then there are no more results to return.

Parameter
Name Description
var string
Returns
Type Description
$this