Class: DatadogAPIClient::V2::AiGatewayProviderAttributes

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

Overview

AI Gateway provider configuration and metadata.

Instance Attribute Summary collapse

Method Summary

Methods included from BaseGenericModel

included

Instance Attribute Details

#additional_properties ⇒ Object

Returns the value of attribute additional_properties.



61
62
63
# File 'lib/datadog_api_client/v2/models/ai_gateway_provider_attributes.rb', line 61

def additional_properties
  @additional_properties
end

#cost_multiplier ⇒ Object

Multiplier applied to provider costs.



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

def cost_multiplier
  @cost_multiplier
end

#created_at ⇒ Object

Time when the resource was created.



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

def created_at
  @created_at
end

#credential_source ⇒ Object

Whose credential the gateway sends to the provider. integration_account sends the integration account's credential. subscription forwards each caller's own subscription sign-in (ChatGPT for openai, claude.ai for anthropic) and needs no integration account.



33
34
35
# File 'lib/datadog_api_client/v2/models/ai_gateway_provider_attributes.rb', line 33

def credential_source
  @credential_source
end

#integration_account_id ⇒ Object

Provider integration account identifier.



36
37
38
# File 'lib/datadog_api_client/v2/models/ai_gateway_provider_attributes.rb', line 36

def 
  @integration_account_id
end

#integration_config ⇒ Object

Provider-specific integration configuration.



39
40
41
# File 'lib/datadog_api_client/v2/models/ai_gateway_provider_attributes.rb', line 39

def integration_config
  @integration_config
end

#known_provider ⇒ Object

Known provider implementation.



42
43
44
# File 'lib/datadog_api_client/v2/models/ai_gateway_provider_attributes.rb', line 42

def known_provider
  @known_provider
end

#name ⇒ Object

Human-readable resource name.



45
46
47
# File 'lib/datadog_api_client/v2/models/ai_gateway_provider_attributes.rb', line 45

def name
  @name
end

#slug ⇒ Object

Immutable routing identifier.



48
49
50
# File 'lib/datadog_api_client/v2/models/ai_gateway_provider_attributes.rb', line 48

def slug
  @slug
end

#status ⇒ Object

Read-only. Whether the provider is working, based on the model sync and live calls. Omitted for providers that are never checked, which include providers without an integration account, and Azure OpenAI and Gemini providers until live traffic records a status.



53
54
55
# File 'lib/datadog_api_client/v2/models/ai_gateway_provider_attributes.rb', line 53

def status
  @status
end

#updated_at ⇒ Object

Time when the resource was last updated.



56
57
58
# File 'lib/datadog_api_client/v2/models/ai_gateway_provider_attributes.rb', line 56

def updated_at
  @updated_at
end

#zdr_eligible ⇒ Object

Whether this provider connection is covered by a zero data retention agreement.



59
60
61
# File 'lib/datadog_api_client/v2/models/ai_gateway_provider_attributes.rb', line 59

def zdr_eligible
  @zdr_eligible
end