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

public sealed class FetchModelServerVersionsRequest : IPageRequest, IMessage<FetchModelServerVersionsRequest>, IEquatable<FetchModelServerVersionsRequest>, IDeepCloneable<FetchModelServerVersionsRequest>, IBufferMessage, IMessage

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

Request message for [GkeInferenceQuickstart.FetchModelServerVersions][google.cloud.gkerecommender.v1.GkeInferenceQuickstart.FetchModelServerVersions].

Inheritance

object > FetchModelServerVersionsRequest

Namespace

Google.Cloud.GkeRecommender.V1

Assembly

Google.Cloud.GkeRecommender.V1.dll

Constructors

FetchModelServerVersionsRequest()

public FetchModelServerVersionsRequest()

FetchModelServerVersionsRequest(FetchModelServerVersionsRequest)

public FetchModelServerVersionsRequest(FetchModelServerVersionsRequest other)
Parameter
Name Description
other FetchModelServerVersionsRequest

Properties

HasPageSize

public bool HasPageSize { get; }

Gets whether the "page_size" field is set

Property Value
Type Description
bool

HasPageToken

public bool HasPageToken { get; }

Gets whether the "page_token" field is set

Property Value
Type Description
bool

Model

public string Model { get; set; }

Required. The model for which to list model server versions. Open-source models follow the Huggingface Hub owner/model_name format. Use [GkeInferenceQuickstart.FetchModels][google.cloud.gkerecommender.v1.GkeInferenceQuickstart.FetchModels] to find available models.

Property Value
Type Description
string

ModelServer

public string ModelServer { get; set; }

Required. The model server for which to list versions. Open-source model servers use simplified, lowercase names (e.g., vllm). Use [GkeInferenceQuickstart.FetchModelServers][google.cloud.gkerecommender.v1.GkeInferenceQuickstart.FetchModelServers] to find available model servers.

Property Value
Type Description
string

PageSize

public int PageSize { get; set; }

Optional. The target number of results to return in a single response. If not specified, a default value will be chosen by the service. Note that the response may include a partial list and a caller should only rely on the response's [next_page_token][google.cloud.gkerecommender.v1.FetchModelServerVersionsResponse.next_page_token] to determine if there are more instances left to be queried.

Property Value
Type Description
int

PageToken

public string PageToken { get; set; }

Optional. The value of [next_page_token][google.cloud.gkerecommender.v1.FetchModelServerVersionsResponse.next_page_token] received from a previous FetchModelServerVersionsRequest call. Provide this to retrieve the subsequent page in a multi-page list of results. When paginating, all other parameters provided to FetchModelServerVersionsRequest must match the call that provided the page token.

Property Value
Type Description
string