Reference documentation and code samples for the GKE Recommender V1 API class Google::Cloud::GkeRecommender::V1::FetchBenchmarkingDataRequest.
Request message for GkeInferenceQuickstart.FetchBenchmarkingData.
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'smodel_server_info
will be returned. Use GkeInferenceQuickstart.FetchProfiles 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'smodel_server_info
will be returned. Use GkeInferenceQuickstart.FetchProfiles 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'smodel_server_info
will be returned. Use GkeInferenceQuickstart.FetchProfiles to find available instance types.
#model_server_info
def model_server_info() -> ::Google::Cloud::GkeRecommender::V1::ModelServerInfo
Returns
- (::Google::Cloud::GkeRecommender::V1::ModelServerInfo) — Required. The model server configuration to get benchmarking data for. Use GkeInferenceQuickstart.FetchProfiles to find valid configurations.
#model_server_info=
def model_server_info=(value) -> ::Google::Cloud::GkeRecommender::V1::ModelServerInfo
Parameter
- value (::Google::Cloud::GkeRecommender::V1::ModelServerInfo) — Required. The model server configuration to get benchmarking data for. Use GkeInferenceQuickstart.FetchProfiles to find valid configurations.
Returns
- (::Google::Cloud::GkeRecommender::V1::ModelServerInfo) — Required. The model server configuration to get benchmarking data for. Use GkeInferenceQuickstart.FetchProfiles 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
.