GKE Recommender v1 API - Class FetchModelsResponse (1.0.0-beta01)

public sealed class FetchModelsResponse : IPageResponse<string>, IEnumerable<string>, IEnumerable, IMessage<FetchModelsResponse>, IEquatable<FetchModelsResponse>, IDeepCloneable<FetchModelsResponse>, IBufferMessage, IMessage

Reference documentation and code samples for the GKE Recommender v1 API class FetchModelsResponse.

Response message for [GkeInferenceQuickstart.FetchModels][google.cloud.gkerecommender.v1.GkeInferenceQuickstart.FetchModels].

Inheritance

object > FetchModelsResponse

Namespace

Google.Cloud.GkeRecommender.V1

Assembly

Google.Cloud.GkeRecommender.V1.dll

Constructors

FetchModelsResponse()

public FetchModelsResponse()

FetchModelsResponse(FetchModelsResponse)

public FetchModelsResponse(FetchModelsResponse other)
Parameter
Name Description
other FetchModelsResponse

Properties

Models

public RepeatedField<string> Models { get; }

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

Property Value
Type Description
RepeatedFieldstring

NextPageToken

public string NextPageToken { get; set; }

Output only. A token which may be sent as [page_token][FetchModelsResponse.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.

Property Value
Type Description
string

Methods

GetEnumerator()

public IEnumerator<string> GetEnumerator()

Returns an enumerator that iterates through the resources in this response.

Returns
Type Description
IEnumeratorstring