public sealed class FetchModelServersRequest : IPageRequest, IMessage<FetchModelServersRequest>, IEquatable<FetchModelServersRequest>, IDeepCloneable<FetchModelServersRequest>, IBufferMessage, IMessageReference documentation and code samples for the GKE Recommender v1 API class FetchModelServersRequest.
Request message for [GkeInferenceQuickstart.FetchModelServers][google.cloud.gkerecommender.v1.GkeInferenceQuickstart.FetchModelServers].
Implements
IPageRequest, IMessageFetchModelServersRequest, IEquatableFetchModelServersRequest, IDeepCloneableFetchModelServersRequest, IBufferMessage, IMessageNamespace
Google.Cloud.GkeRecommender.V1Assembly
Google.Cloud.GkeRecommender.V1.dll
Constructors
FetchModelServersRequest()
public FetchModelServersRequest()FetchModelServersRequest(FetchModelServersRequest)
public FetchModelServersRequest(FetchModelServersRequest other)| Parameter | |
|---|---|
| Name | Description |
other |
FetchModelServersRequest |
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 servers. 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 |
|
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.FetchModelServersResponse.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.FetchModelServersResponse.next_page_token]
received from a previous FetchModelServersRequest call.
Provide this to retrieve the subsequent page in a multi-page list of
results. When paginating, all other parameters provided to
FetchModelServersRequest must match the call that provided the page
token.
| Property Value | |
|---|---|
| Type | Description |
string |
|