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

A profile containing information about a model deployment.

## Inherits

- Object

## Extended By

- Google::Protobuf::MessageExts::ClassMethods

## Includes

- Google::Protobuf::MessageExts

## Methods

### #accelerator_type

    def accelerator_type() -> ::String

**Returns**

- (::String) --- Output only. The accelerator type. Expected format: `nvidia-h100-80gb`.

### #instance_type

    def instance_type() -> ::String

**Returns**

- (::String) --- Output only. The instance type. Expected format: `a2-highgpu-1g`.

### #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)) --- Output only. The model server configuration. 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.

### #performance_stats

    def performance_stats() -> ::Array<::Google::Cloud::GkeRecommender::V1::PerformanceStats>

**Returns**

- (::Array\<[::Google::Cloud::GkeRecommender::V1::PerformanceStats](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-gke_recommender-v1/latest/Google-Cloud-GkeRecommender-V1-PerformanceStats)\>) --- Output only. The performance statistics for this profile.

### #resources_used

    def resources_used() -> ::Google::Cloud::GkeRecommender::V1::ResourcesUsed

**Returns**

- ([::Google::Cloud::GkeRecommender::V1::ResourcesUsed](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-gke_recommender-v1/latest/Google-Cloud-GkeRecommender-V1-ResourcesUsed)) --- Output only. The resources used by the model deployment.

### #tpu_topology

    def tpu_topology() -> ::String

**Returns**

- (::String) --- Output only. The TPU topology (if applicable).