# GKE Recommender V1 API - Class Google::Cloud::GkeRecommender::V1::FetchModelsRequest (v0.3.1)

0.3.1 (latest) 0.3.0 0.2.0 0.1.1 Reference documentation and code samples for the GKE Recommender V1 API class Google::Cloud::GkeRecommender::V1::FetchModelsRequest.

Request message for
[GkeInferenceQuickstart.FetchModels](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-gke_recommender-v1/latest/Google-Cloud-GkeRecommender-V1-GkeInferenceQuickstart-Client#Google__Cloud__GkeRecommender__V1__GkeInferenceQuickstart__Client_fetch_models_instance_ "Google::Cloud::GkeRecommender::V1::GkeInferenceQuickstart::Client#fetch_models (method)").

## Inherits

- Object

## Extended By

- Google::Protobuf::MessageExts::ClassMethods

## Includes

- Google::Protobuf::MessageExts

## Methods

### #page_size

    def page_size() -> ::Integer

**Returns**

- (::Integer) --- 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](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-gke_recommender-v1/latest/Google-Cloud-GkeRecommender-V1-FetchModelsResponse#Google__Cloud__GkeRecommender__V1__FetchModelsResponse_next_page_token_instance_ "Google::Cloud::GkeRecommender::V1::FetchModelsResponse#next_page_token (method)") to determine if there are more instances left to be queried.

### #page_size=

    def page_size=(value) -> ::Integer

**Parameter**

- **value** (::Integer) --- 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](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-gke_recommender-v1/latest/Google-Cloud-GkeRecommender-V1-FetchModelsResponse#Google__Cloud__GkeRecommender__V1__FetchModelsResponse_next_page_token_instance_ "Google::Cloud::GkeRecommender::V1::FetchModelsResponse#next_page_token (method)") to determine if there are more instances left to be queried.
**Returns**

- (::Integer) --- 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](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-gke_recommender-v1/latest/Google-Cloud-GkeRecommender-V1-FetchModelsResponse#Google__Cloud__GkeRecommender__V1__FetchModelsResponse_next_page_token_instance_ "Google::Cloud::GkeRecommender::V1::FetchModelsResponse#next_page_token (method)") to determine if there are more instances left to be queried.

### #page_token

    def page_token() -> ::String

**Returns**

- (::String) --- Optional. The value of [next_page_token](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-gke_recommender-v1/latest/Google-Cloud-GkeRecommender-V1-FetchModelsResponse#Google__Cloud__GkeRecommender__V1__FetchModelsResponse_next_page_token_instance_ "Google::Cloud::GkeRecommender::V1::FetchModelsResponse#next_page_token (method)") 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.

### #page_token=

    def page_token=(value) -> ::String

**Parameter**

- **value** (::String) --- Optional. The value of [next_page_token](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-gke_recommender-v1/latest/Google-Cloud-GkeRecommender-V1-FetchModelsResponse#Google__Cloud__GkeRecommender__V1__FetchModelsResponse_next_page_token_instance_ "Google::Cloud::GkeRecommender::V1::FetchModelsResponse#next_page_token (method)") 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.
**Returns**

- (::String) --- Optional. The value of [next_page_token](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-gke_recommender-v1/latest/Google-Cloud-GkeRecommender-V1-FetchModelsResponse#Google__Cloud__GkeRecommender__V1__FetchModelsResponse_next_page_token_instance_ "Google::Cloud::GkeRecommender::V1::FetchModelsResponse#next_page_token (method)") 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.