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

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

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

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

Inheritance

object > FetchModelsRequest

Namespace

Google.Cloud.GkeRecommender.V1

Assembly

Google.Cloud.GkeRecommender.V1.dll

Constructors

FetchModelsRequest()

public FetchModelsRequest()

FetchModelsRequest(FetchModelsRequest)

public FetchModelsRequest(FetchModelsRequest other)
Parameter
Name Description
other FetchModelsRequest

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

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.FetchModelsResponse.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.FetchModelsResponse.next_page_token] received from a previous FetchModelsRequest call. Provide this to retrieve the subsequent page in a multi-page list of results. When paginating, all other parameters provided to FetchModelsRequest must match the call that provided the page token.

Property Value
Type Description
string