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

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

## Inherits

- Object

## Extended By

- Google::Protobuf::MessageExts::ClassMethods

## Includes

- Google::Protobuf::MessageExts

## Methods

### #instance_type

    def instance_type() -> ::String

**Returns**

- (::String) --- Optional. The instance type to filter benchmarking data. Instance types are in the format `a2-highgpu-1g`. If not provided, all instance types for the given profile's `model_server_info` will be returned. Use [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)") to find available instance types.

### #instance_type=

    def instance_type=(value) -> ::String

**Parameter**

- **value** (::String) --- Optional. The instance type to filter benchmarking data. Instance types are in the format `a2-highgpu-1g`. If not provided, all instance types for the given profile's `model_server_info` will be returned. Use [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)") to find available instance types.
**Returns**

- (::String) --- Optional. The instance type to filter benchmarking data. Instance types are in the format `a2-highgpu-1g`. If not provided, all instance types for the given profile's `model_server_info` will be returned. Use [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)") to find available instance types.

### #model_server_info

    def model_server_info() -> ::Google::Cloud::GkeRecommender::V1::ModelServerInfo

**Returns**

- ([::Google::Cloud::GkeRecommender::V1::ModelServerInfo](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-gke_recommender-v1/latest/Google-Cloud-GkeRecommender-V1-ModelServerInfo)) --- Required. The model server configuration to get benchmarking data for. Use [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)") to find valid configurations.

### #model_server_info=

    def model_server_info=(value) -> ::Google::Cloud::GkeRecommender::V1::ModelServerInfo

**Parameter**

- **value** ([::Google::Cloud::GkeRecommender::V1::ModelServerInfo](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-gke_recommender-v1/latest/Google-Cloud-GkeRecommender-V1-ModelServerInfo)) --- Required. The model server configuration to get benchmarking data for. Use [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)") to find valid configurations.
**Returns**

- ([::Google::Cloud::GkeRecommender::V1::ModelServerInfo](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-gke_recommender-v1/latest/Google-Cloud-GkeRecommender-V1-ModelServerInfo)) --- Required. The model server configuration to get benchmarking data for. Use [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)") to find valid configurations.

### #pricing_model

    def pricing_model() -> ::String

**Returns**

- (::String) --- Optional. The pricing model to use for the benchmarking data. Defaults to `spot`.

### #pricing_model=

    def pricing_model=(value) -> ::String

**Parameter**

- **value** (::String) --- Optional. The pricing model to use for the benchmarking data. Defaults to `spot`.
**Returns**

- (::String) --- Optional. The pricing model to use for the benchmarking data. Defaults to `spot`.