Class: DatadogAPIClient::V2::AiGatewayRateLimitWindowLimit
- Inherits:
-
Object
- Object
- DatadogAPIClient::V2::AiGatewayRateLimitWindowLimit
- Includes:
- BaseGenericModel
- Defined in:
- lib/datadog_api_client/v2/models/ai_gateway_rate_limit_window_limit.rb
Overview
A limit on one metric over a rolling window longer than a minute.
Instance Attribute Summary collapse
-
#additional_properties ⇒ Object
Returns the value of attribute additional_properties.
-
#amount ⇒ Object
readonly
Maximum amount of the metric over the window.
-
#metric ⇒ Object
readonly
The metric that a window limit counts.
-
#window ⇒ Object
readonly
The rolling window that a limit applies to.
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_window_limit.rb', line 33 def additional_properties @additional_properties end |
#amount ⇒ Object
Maximum amount of the metric over the window. For cost, the amount is priced spend in microcents of 1e-8 USD each, as in cost_microcents_per_minute. For the same metric, a longer window must have a larger amount.
25 26 27 |
# File 'lib/datadog_api_client/v2/models/ai_gateway_rate_limit_window_limit.rb', line 25 def amount @amount end |
#metric ⇒ Object
The metric that a window limit counts. cost counts priced spend in microcents.
28 29 30 |
# File 'lib/datadog_api_client/v2/models/ai_gateway_rate_limit_window_limit.rb', line 28 def metric @metric end |
#window ⇒ Object
The rolling window that a limit applies to. For per-minute limits, use the *_per_minute fields instead.
31 32 33 |
# File 'lib/datadog_api_client/v2/models/ai_gateway_rate_limit_window_limit.rb', line 31 def window @window end |