Class: DatadogAPIClient::V2::AiGatewayRateLimitSelectorEntry
- Inherits:
-
Object
- Object
- DatadogAPIClient::V2::AiGatewayRateLimitSelectorEntry
- Includes:
- BaseGenericModel
- Defined in:
- lib/datadog_api_client/v2/models/ai_gateway_rate_limit_selector_entry.rb
Overview
One dimension rule in a template rate limit selector.
Instance Attribute Summary collapse
-
#additional_properties ⇒ Object
Returns the value of attribute additional_properties.
-
#dim ⇒ Object
readonly
Dimension to match: user_id, team_id, model, provider, or tag:
. -
#per_value ⇒ Object
readonly
Give each matched value its own allowance when true.
-
#values ⇒ Object
readonly
Allowed dimension values.
Method Summary
Methods included from BaseGenericModel
Instance Attribute Details
#additional_properties ⇒ Object
Returns the value of attribute additional_properties.
33 34 35 |
# File 'lib/datadog_api_client/v2/models/ai_gateway_rate_limit_selector_entry.rb', line 33 def additional_properties @additional_properties end |
#dim ⇒ Object
Dimension to match: user_id, team_id, model, provider, or tag:
25 26 27 |
# File 'lib/datadog_api_client/v2/models/ai_gateway_rate_limit_selector_entry.rb', line 25 def dim @dim end |
#per_value ⇒ Object
Give each matched value its own allowance when true. Otherwise, matched values share the allowance within the other separated dimensions.
28 29 30 |
# File 'lib/datadog_api_client/v2/models/ai_gateway_rate_limit_selector_entry.rb', line 28 def per_value @per_value end |
#values ⇒ Object
Allowed dimension values. Omit to match any value; with per_value true, a request must still carry the dimension to match. An explicit list must contain at least one value. Listed team_id values must be existing Teams without open membership.
31 32 33 |
# File 'lib/datadog_api_client/v2/models/ai_gateway_rate_limit_selector_entry.rb', line 31 def values @values end |