Class: DatadogAPIClient::V2::AiGatewayBudgetUpdateAttributes

Inherits:
Object
  • Object
show all
Includes:
BaseGenericModel
Defined in:
lib/datadog_api_client/v2/models/ai_gateway_budget_update_attributes.rb

Overview

Mutable attributes of an AI Gateway budget.

Instance Attribute Summary collapse

Method Summary

Methods included from BaseGenericModel

included

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_budget_update_attributes.rb', line 48

def additional_properties
  @additional_properties
end

#apply_to_current_period ⇒ Object

Whether a capacity change also applies to the active accounting period. Requires capacity_microcents. Unsupported for template budgets.



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

def apply_to_current_period
  @apply_to_current_period
end

#capacity_microcents ⇒ Object

Default capacity for future accounting periods, in microcents.



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

def capacity_microcents
  @capacity_microcents
end

#enabled ⇒ Object

Whether the budget is enabled.



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

def enabled
  @enabled
end

#enforcement ⇒ Object

Action taken when spend exceeds the budget.



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

def enforcement
  @enforcement
end

#name ⇒ Object

Human-readable resource name.



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

def name
  @name
end

#reason ⇒ Object

Optional reason recorded with an active-period capacity adjustment.



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

def reason
  @reason
end

#track_existing ⇒ Object

Initialize current-period spend from historical priced LLM Observability spans. Defaults to false. Unsupported for template budgets; failures can be retried with an update.



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

def track_existing
  @track_existing
end

#warning_threshold ⇒ Object

Fraction of capacity at which to issue a warning.



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

def warning_threshold
  @warning_threshold
end