Class: DatadogAPIClient::V2::AiGatewayRateLimitCreateAttributes
- Inherits:
-
Object
- Object
- DatadogAPIClient::V2::AiGatewayRateLimitCreateAttributes
- Includes:
- BaseGenericModel
- Defined in:
- lib/datadog_api_client/v2/models/ai_gateway_rate_limit_create_attributes.rb
Overview
Attributes used to create an AI Gateway rate limit.
Instance Attribute Summary collapse
-
#additional_properties ⇒ Object
Returns the value of attribute additional_properties.
-
#input_tokens_per_minute ⇒ Object
readonly
Maximum input tokens per rolling minute.
-
#mode ⇒ Object
Action taken when request rate exceeds the limit.
-
#name ⇒ Object
readonly
Rate limit name.
-
#output_tokens_per_minute ⇒ Object
readonly
Maximum output tokens per rolling minute.
-
#requests_per_minute ⇒ Object
readonly
Maximum requests per rolling minute.
-
#tags ⇒ Object
Optional scope tags, such as
provider,model,ml_app, or custom dimensions. -
#team_id ⇒ Object
Optional UUID.
-
#user_id ⇒ Object
Optional UUID.
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_rate_limit_create_attributes.rb', line 48 def additional_properties @additional_properties end |
#input_tokens_per_minute ⇒ Object
Maximum input tokens per rolling minute.
25 26 27 |
# File 'lib/datadog_api_client/v2/models/ai_gateway_rate_limit_create_attributes.rb', line 25 def input_tokens_per_minute @input_tokens_per_minute end |
#mode ⇒ Object
Action taken when request rate exceeds the limit.
28 29 30 |
# File 'lib/datadog_api_client/v2/models/ai_gateway_rate_limit_create_attributes.rb', line 28 def mode @mode end |
#name ⇒ Object
Rate limit name. Must not be empty.
31 32 33 |
# File 'lib/datadog_api_client/v2/models/ai_gateway_rate_limit_create_attributes.rb', line 31 def name @name end |
#output_tokens_per_minute ⇒ Object
Maximum output tokens per rolling minute.
34 35 36 |
# File 'lib/datadog_api_client/v2/models/ai_gateway_rate_limit_create_attributes.rb', line 34 def output_tokens_per_minute @output_tokens_per_minute end |
#requests_per_minute ⇒ Object
Maximum requests per rolling minute. At least one of requests_per_minute, input_tokens_per_minute, and output_tokens_per_minute is required.
37 38 39 |
# File 'lib/datadog_api_client/v2/models/ai_gateway_rate_limit_create_attributes.rb', line 37 def requests_per_minute @requests_per_minute end |
#tags ⇒ Object
Optional scope tags, such as provider, model, ml_app, or custom dimensions. A request matches when it has all of these tags. The reserved metadata keys name, budget_name, and span_filter are rejected.
40 41 42 |
# File 'lib/datadog_api_client/v2/models/ai_gateway_rate_limit_create_attributes.rb', line 40 def @tags end |
#team_id ⇒ Object
Optional UUID. Count only requests attributed to this Datadog Team.
43 44 45 |
# File 'lib/datadog_api_client/v2/models/ai_gateway_rate_limit_create_attributes.rb', line 43 def team_id @team_id end |
#user_id ⇒ Object
Optional UUID. Count only this user's requests.
46 47 48 |
# File 'lib/datadog_api_client/v2/models/ai_gateway_rate_limit_create_attributes.rb', line 46 def user_id @user_id end |