Class: DatadogAPIClient::V2::AiGatewayRoutingRuleTarget

Inherits:
Object
  • Object
show all
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

Method Summary

Methods included from BaseGenericModel

included

Instance Attribute Details

#additional_properties ⇒ Object

Returns the value of attribute additional_properties.



54
55
56
# File 'lib/datadog_api_client/v2/models/ai_gateway_routing_rule_target.rb', line 54

def additional_properties
  @additional_properties
end

#default ⇒ Object

Present and true for the default classified destination.



25
26
27
# File 'lib/datadog_api_client/v2/models/ai_gateway_routing_rule_target.rb', line 25

def default
  @default
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.



28
29
30
# File 'lib/datadog_api_client/v2/models/ai_gateway_routing_rule_target.rb', line 28

def id
  @id
end

#model ⇒ Object

Model name or pattern. Omitted when the caller cannot view its provider.



31
32
33
# File 'lib/datadog_api_client/v2/models/ai_gateway_routing_rule_target.rb', line 31

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.



34
35
36
# File 'lib/datadog_api_client/v2/models/ai_gateway_routing_rule_target.rb', line 34

def model_id
  @model_id
end

#provider ⇒ Object

Provider slug. Omitted for dynamic resolution and when the caller cannot view its provider.



37
38
39
# File 'lib/datadog_api_client/v2/models/ai_gateway_routing_rule_target.rb', line 37

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. On update, omission preserves a saved target override; null explicitly clears it. 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.



40
41
42
# File 'lib/datadog_api_client/v2/models/ai_gateway_routing_rule_target.rb', line 40

def reasoning_level
  @reasoning_level
end

#rubric ⇒ Object

Destination rubric, present only for non-default targets in classified tiers.



43
44
45
# File 'lib/datadog_api_client/v2/models/ai_gateway_routing_rule_target.rb', line 43

def rubric
  @rubric
end

#slug ⇒ Object

Referenced route slug. Omitted when the caller lacks View; only the parent-local occurrence ID remains.



46
47
48
# File 'lib/datadog_api_client/v2/models/ai_gateway_routing_rule_target.rb', line 46

def slug
  @slug
end

#type ⇒ Object

Type of routing target.



49
50
51
# File 'lib/datadog_api_client/v2/models/ai_gateway_routing_rule_target.rb', line 49

def type
  @type
end

#weight ⇒ Object

Effective relative weight. Returned only for targets in weighted_affinity tiers.



52
53
54
# File 'lib/datadog_api_client/v2/models/ai_gateway_routing_rule_target.rb', line 52

def weight
  @weight
end