public sealed class FetchProfilesRequest : IPageRequest, IMessage<FetchProfilesRequest>, IEquatable<FetchProfilesRequest>, IDeepCloneable<FetchProfilesRequest>, IBufferMessage, IMessageReference documentation and code samples for the GKE Recommender v1 API class FetchProfilesRequest.
Request message for [GkeInferenceQuickstart.FetchProfiles][google.cloud.gkerecommender.v1.GkeInferenceQuickstart.FetchProfiles].
Implements
IPageRequest, IMessageFetchProfilesRequest, IEquatableFetchProfilesRequest, IDeepCloneableFetchProfilesRequest, IBufferMessage, IMessageNamespace
Google.Cloud.GkeRecommender.V1Assembly
Google.Cloud.GkeRecommender.V1.dll
Constructors
FetchProfilesRequest()
public FetchProfilesRequest()FetchProfilesRequest(FetchProfilesRequest)
public FetchProfilesRequest(FetchProfilesRequest other)| Parameter | |
|---|---|
| Name | Description |
other |
FetchProfilesRequest |
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; }Optional. The model to filter profiles by. Open-source models follow the
Huggingface Hub owner/model_name format. If not provided, all models are
returned. Use
[GkeInferenceQuickstart.FetchModels][google.cloud.gkerecommender.v1.GkeInferenceQuickstart.FetchModels]
to find available models.
| Property Value | |
|---|---|
| Type | Description |
string |
|
ModelServer
public string ModelServer { get; set; }Optional. The model server to filter profiles by. If not provided, all model servers are returned. Use [GkeInferenceQuickstart.FetchModelServers][google.cloud.gkerecommender.v1.GkeInferenceQuickstart.FetchModelServers] to find available model servers for a given model.
| Property Value | |
|---|---|
| Type | Description |
string |
|
ModelServerVersion
public string ModelServerVersion { get; set; }Optional. The model server version to filter profiles by. If not provided, all model server versions are returned. Use [GkeInferenceQuickstart.FetchModelServerVersions][google.cloud.gkerecommender.v1.GkeInferenceQuickstart.FetchModelServerVersions] to find available versions for a given model and server.
| 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.FetchProfilesResponse.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.FetchProfilesResponse.next_page_token]
received from a previous FetchProfilesRequest call.
Provide this to retrieve the subsequent page in a multi-page list of
results. When paginating, all other parameters provided to
FetchProfilesRequest must match the call that provided the page
token.
| Property Value | |
|---|---|
| Type | Description |
string |
|
PerformanceRequirements
public PerformanceRequirements PerformanceRequirements { get; set; }Optional. The performance requirements to filter profiles. Profiles that do not meet these requirements are filtered out. If not provided, all profiles are returned.
| Property Value | |
|---|---|
| Type | Description |
PerformanceRequirements |
|