# GKE Recommender V1 API - Class Google::Cloud::GkeRecommender::V1::FetchProfilesRequest (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::FetchProfilesRequest.

Request message for
[GkeInferenceQuickstart.FetchProfiles](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_profiles_instance_ "Google::Cloud::GkeRecommender::V1::GkeInferenceQuickstart::Client#fetch_profiles (method)").

## Inherits

- Object

## Extended By

- Google::Protobuf::MessageExts::ClassMethods

## Includes

- Google::Protobuf::MessageExts

## Methods

### #model

    def model() -> ::String

**Returns**

- (::String) --- 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](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)") to find available models.

### #model=

    def model=(value) -> ::String

**Parameter**

- **value** (::String) --- 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](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)") to find available models.
**Returns**

- (::String) --- 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](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)") to find available models.

### #model_server

    def model_server() -> ::String

**Returns**

- (::String) --- Optional. The model server to filter profiles by. If not provided, all model servers are returned. Use [GkeInferenceQuickstart.FetchModelServers](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_model_servers_instance_ "Google::Cloud::GkeRecommender::V1::GkeInferenceQuickstart::Client#fetch_model_servers (method)") to find available model servers for a given model.

### #model_server=

    def model_server=(value) -> ::String

**Parameter**

- **value** (::String) --- Optional. The model server to filter profiles by. If not provided, all model servers are returned. Use [GkeInferenceQuickstart.FetchModelServers](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_model_servers_instance_ "Google::Cloud::GkeRecommender::V1::GkeInferenceQuickstart::Client#fetch_model_servers (method)") to find available model servers for a given model.
**Returns**

- (::String) --- Optional. The model server to filter profiles by. If not provided, all model servers are returned. Use [GkeInferenceQuickstart.FetchModelServers](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_model_servers_instance_ "Google::Cloud::GkeRecommender::V1::GkeInferenceQuickstart::Client#fetch_model_servers (method)") to find available model servers for a given model.

### #model_server_version

    def model_server_version() -> ::String

**Returns**

- (::String) --- Optional. The model server version to filter profiles by. If not provided, all model server versions are returned. Use [GkeInferenceQuickstart.FetchModelServerVersions](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_model_server_versions_instance_ "Google::Cloud::GkeRecommender::V1::GkeInferenceQuickstart::Client#fetch_model_server_versions (method)") to find available versions for a given model and server.

### #model_server_version=

    def model_server_version=(value) -> ::String

**Parameter**

- **value** (::String) --- Optional. The model server version to filter profiles by. If not provided, all model server versions are returned. Use [GkeInferenceQuickstart.FetchModelServerVersions](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_model_server_versions_instance_ "Google::Cloud::GkeRecommender::V1::GkeInferenceQuickstart::Client#fetch_model_server_versions (method)") to find available versions for a given model and server.
**Returns**

- (::String) --- Optional. The model server version to filter profiles by. If not provided, all model server versions are returned. Use [GkeInferenceQuickstart.FetchModelServerVersions](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_model_server_versions_instance_ "Google::Cloud::GkeRecommender::V1::GkeInferenceQuickstart::Client#fetch_model_server_versions (method)") to find available versions for a given model and server.

### #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-FetchProfilesResponse#Google__Cloud__GkeRecommender__V1__FetchProfilesResponse_next_page_token_instance_ "Google::Cloud::GkeRecommender::V1::FetchProfilesResponse#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-FetchProfilesResponse#Google__Cloud__GkeRecommender__V1__FetchProfilesResponse_next_page_token_instance_ "Google::Cloud::GkeRecommender::V1::FetchProfilesResponse#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-FetchProfilesResponse#Google__Cloud__GkeRecommender__V1__FetchProfilesResponse_next_page_token_instance_ "Google::Cloud::GkeRecommender::V1::FetchProfilesResponse#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-FetchProfilesResponse#Google__Cloud__GkeRecommender__V1__FetchProfilesResponse_next_page_token_instance_ "Google::Cloud::GkeRecommender::V1::FetchProfilesResponse#next_page_token (method)") 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.

### #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-FetchProfilesResponse#Google__Cloud__GkeRecommender__V1__FetchProfilesResponse_next_page_token_instance_ "Google::Cloud::GkeRecommender::V1::FetchProfilesResponse#next_page_token (method)") 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.
**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-FetchProfilesResponse#Google__Cloud__GkeRecommender__V1__FetchProfilesResponse_next_page_token_instance_ "Google::Cloud::GkeRecommender::V1::FetchProfilesResponse#next_page_token (method)") 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.

### #performance_requirements

    def performance_requirements() -> ::Google::Cloud::GkeRecommender::V1::PerformanceRequirements

**Returns**

- ([::Google::Cloud::GkeRecommender::V1::PerformanceRequirements](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-gke_recommender-v1/latest/Google-Cloud-GkeRecommender-V1-PerformanceRequirements)) --- Optional. The performance requirements to filter profiles. Profiles that do not meet these requirements are filtered out. If not provided, all profiles are returned.

### #performance_requirements=

    def performance_requirements=(value) -> ::Google::Cloud::GkeRecommender::V1::PerformanceRequirements

**Parameter**

- **value** ([::Google::Cloud::GkeRecommender::V1::PerformanceRequirements](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-gke_recommender-v1/latest/Google-Cloud-GkeRecommender-V1-PerformanceRequirements)) --- Optional. The performance requirements to filter profiles. Profiles that do not meet these requirements are filtered out. If not provided, all profiles are returned.
**Returns**

- ([::Google::Cloud::GkeRecommender::V1::PerformanceRequirements](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-gke_recommender-v1/latest/Google-Cloud-GkeRecommender-V1-PerformanceRequirements)) --- Optional. The performance requirements to filter profiles. Profiles that do not meet these requirements are filtered out. If not provided, all profiles are returned.