Class: DatadogAPIClient::V2::AiGatewayRoutingRuleTarget
- Inherits:
-
Object
- Object
- DatadogAPIClient::V2::AiGatewayRoutingRuleTarget
- Includes:
- BaseGenericModel
- Defined in:
- lib/datadog_api_client/v2/models/ai_gateway_routing_rule_target.rb
Overview
Model target or reference to another routing rule.
Instance Attribute Summary collapse
-
#additional_properties ⇒ Object
Returns the value of attribute additional_properties.
-
#id ⇒ Object
readonly
Saved target row ID.
-
#model ⇒ Object
Model name or pattern.
-
#model_id ⇒ Object
readonly
Opaque model catalog ID for a concrete model target.
-
#provider ⇒ Object
Provider slug.
-
#reasoning_level ⇒ Object
Optional reasoning effort preference for this model destination.
-
#slug ⇒ Object
Organization-unique resource slug.
-
#type ⇒ Object
readonly
Type of routing target.
-
#weight ⇒ Object
readonly
Effective relative weight.
Method Summary
Methods included from BaseGenericModel
Instance Attribute Details
#additional_properties ⇒ Object
Returns the value of attribute additional_properties.
48 49 50 |
# File 'lib/datadog_api_client/v2/models/ai_gateway_routing_rule_target.rb', line 48 def additional_properties @additional_properties end |
#id ⇒ Object
Saved target row ID. On replacement, retain this ID only within its original route and at most once. A stale or foreign ID is rejected.
25 26 27 |
# File 'lib/datadog_api_client/v2/models/ai_gateway_routing_rule_target.rb', line 25 def id @id end |
#model ⇒ Object
Model name or pattern. Omitted when the caller cannot view its provider.
28 29 30 |
# File 'lib/datadog_api_client/v2/models/ai_gateway_routing_rule_target.rb', line 28 def model @model end |
#model_id ⇒ Object
Opaque model catalog ID for a concrete model target. New selections require provider View; saved selections can be retained without metadata.
31 32 33 |
# File 'lib/datadog_api_client/v2/models/ai_gateway_routing_rule_target.rb', line 31 def model_id @model_id end |
#provider ⇒ Object
Provider slug. Omitted for dynamic resolution and when the caller cannot view its provider.
34 35 36 |
# File 'lib/datadog_api_client/v2/models/ai_gateway_routing_rule_target.rb', line 34 def provider @provider end |
#reasoning_level ⇒ Object
Optional reasoning effort preference for this model destination. Must be supported by the selected model and provider. For provider "*", every eligible provider must support the level. An explicit value overrides the request's reasoning setting, subject to model-group policy. Omitted or null preserves request and provider behavior; none is an explicit level, not the default. Omitted or null clears an override on full replacement. Routing-rule references cannot set this field; each referenced model destination owns its override. If an override cannot be applied at runtime, the gateway keeps the destination and restores the caller's original reasoning settings, or preserves the provider default when omitted. It rechecks all applicable route and model-group policies against those settings before sending. Model-group max_reasoning_level enforces hard limits; the override is not an additional cap. Normal fallback applies if governance denies the resulting request or the destination cannot otherwise serve it. Metrics and span tags record the override outcome and incompatibility reason. When response headers have not already been committed, X-Ai-Gateway-Reasoning-Override reports applied or not_applied for the returned attempt, and X-Ai-Gateway-Reasoning-Override-Reason reports the reason when not applied.
37 38 39 |
# File 'lib/datadog_api_client/v2/models/ai_gateway_routing_rule_target.rb', line 37 def reasoning_level @reasoning_level end |
#slug ⇒ Object
Organization-unique resource slug.
40 41 42 |
# File 'lib/datadog_api_client/v2/models/ai_gateway_routing_rule_target.rb', line 40 def slug @slug end |
#type ⇒ Object
Type of routing target.
43 44 45 |
# File 'lib/datadog_api_client/v2/models/ai_gateway_routing_rule_target.rb', line 43 def type @type end |
#weight ⇒ Object
Effective relative weight. Returned only for targets in weighted_affinity tiers.
46 47 48 |
# File 'lib/datadog_api_client/v2/models/ai_gateway_routing_rule_target.rb', line 46 def weight @weight end |