Class: Google::Apis::LanguageV1::XpsImageModelServingSpec
- Inherits:
-
Object
- Object
- Google::Apis::LanguageV1::XpsImageModelServingSpec
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/language_v1/classes.rb,
lib/google/apis/language_v1/representations.rb,
lib/google/apis/language_v1/representations.rb
Overview
Serving specification for image models.
Instance Attribute Summary collapse
-
#model_throughput_estimation ⇒ Array<Google::Apis::LanguageV1::XpsImageModelServingSpecModelThroughputEstimation>
Populate under uCAIP request scope.
-
#node_qps ⇒ Float
An estimated value of how much traffic a node can serve.
-
#tf_runtime_version ⇒ String
The fields below are only populated under uCAIP request scope.
Instance Method Summary collapse
-
#initialize(**args) ⇒ XpsImageModelServingSpec
constructor
A new instance of XpsImageModelServingSpec.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ XpsImageModelServingSpec
Returns a new instance of XpsImageModelServingSpec.
2725 2726 2727 |
# File 'lib/google/apis/language_v1/classes.rb', line 2725 def initialize(**args) update!(**args) end |
Instance Attribute Details
#model_throughput_estimation ⇒ Array<Google::Apis::LanguageV1::XpsImageModelServingSpecModelThroughputEstimation>
Populate under uCAIP request scope.
Corresponds to the JSON property modelThroughputEstimation
2711 2712 2713 |
# File 'lib/google/apis/language_v1/classes.rb', line 2711 def model_throughput_estimation @model_throughput_estimation end |
#node_qps ⇒ Float
An estimated value of how much traffic a node can serve. Populated for AutoMl
request only.
Corresponds to the JSON property nodeQps
2717 2718 2719 |
# File 'lib/google/apis/language_v1/classes.rb', line 2717 def node_qps @node_qps end |
#tf_runtime_version ⇒ String
The fields below are only populated under uCAIP request scope. https://
cloud.google.com/ml-engine/docs/runtime-version-list
Corresponds to the JSON property tfRuntimeVersion
2723 2724 2725 |
# File 'lib/google/apis/language_v1/classes.rb', line 2723 def tf_runtime_version @tf_runtime_version end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2730 2731 2732 2733 2734 |
# File 'lib/google/apis/language_v1/classes.rb', line 2730 def update!(**args) @model_throughput_estimation = args[:model_throughput_estimation] if args.key?(:model_throughput_estimation) @node_qps = args[:node_qps] if args.key?(:node_qps) @tf_runtime_version = args[:tf_runtime_version] if args.key?(:tf_runtime_version) end |