Class: Google::Apis::AiplatformV1beta1::LearningGenaiRootRoutingDecision
- Inherits:
-
Object
- Object
- Google::Apis::AiplatformV1beta1::LearningGenaiRootRoutingDecision
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/aiplatform_v1beta1/classes.rb,
lib/google/apis/aiplatform_v1beta1/representations.rb,
lib/google/apis/aiplatform_v1beta1/representations.rb
Overview
Holds the final routing decision, by storing the model_config_id. And individual scores each model got.
Instance Attribute Summary collapse
-
#metadata ⇒ Google::Apis::AiplatformV1beta1::LearningGenaiRootRoutingDecisionMetadata
Debug metadata about the routing decision.
-
#model_config_id ⇒ String
The selected model to route traffic to.
Instance Method Summary collapse
-
#initialize(**args) ⇒ LearningGenaiRootRoutingDecision
constructor
A new instance of LearningGenaiRootRoutingDecision.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ LearningGenaiRootRoutingDecision
Returns a new instance of LearningGenaiRootRoutingDecision.
33038 33039 33040 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 33038 def initialize(**args) update!(**args) end |
Instance Attribute Details
#metadata ⇒ Google::Apis::AiplatformV1beta1::LearningGenaiRootRoutingDecisionMetadata
Debug metadata about the routing decision.
Corresponds to the JSON property metadata
33031 33032 33033 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 33031 def @metadata end |
#model_config_id ⇒ String
The selected model to route traffic to.
Corresponds to the JSON property modelConfigId
33036 33037 33038 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 33036 def model_config_id @model_config_id end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
33043 33044 33045 33046 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 33043 def update!(**args) @metadata = args[:metadata] if args.key?(:metadata) @model_config_id = args[:model_config_id] if args.key?(:model_config_id) end |