Class: DatadogAPIClient::V2::AiGatewayProviderCreateAttributes

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

Overview

Attributes used to create an AI Gateway provider.

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_create_attributes.rb', line 61

def additional_properties
  @additional_properties
end

#cost_multiplier ⇒ Object

Multiplier applied to provider costs. Must be greater than 0 and at most 1000000.



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

def cost_multiplier
  @cost_multiplier
end

#credential_source ⇒ Object

Whose credential the gateway sends to the provider. Defaults to integration_account, which 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; it is available only to organizations with subscription providers enabled. A subscription provider's models are optional: callers can use any model their subscription includes, and a model you add sets its pricing. Immutable.



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

def credential_source
  @credential_source
end

#initial_bindings ⇒ Object

Reserved for initial View/Edit permissions. Supplying this attribute, including an empty array or null, returns HTTP 503 before discovery or persistence. Omit it for normal creation.



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

def initial_bindings
  @initial_bindings
end

#integration_account_id ⇒ Object

Provider integration account identifier.



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

def 
  @integration_account_id
end

#integration_config ⇒ Object

Provider-specific integration configuration.



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

def integration_config
  @integration_config
end

#known_provider ⇒ Object

Known provider implementation.



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

def known_provider
  @known_provider
end

#models ⇒ Object

Manually managed models to add alongside models discovered from the provider integration.



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

def models
  @models
end

#name ⇒ Object

Human-readable resource name.



51
52
53
# File 'lib/datadog_api_client/v2/models/ai_gateway_provider_create_attributes.rb', line 51

def name
  @name
end

#slug ⇒ Object

Immutable routing identifier.



54
55
56
# File 'lib/datadog_api_client/v2/models/ai_gateway_provider_create_attributes.rb', line 54

def slug
  @slug
end

#zdr_eligible ⇒ Object

Whether this provider connection is covered by a zero data retention agreement. Defaults to false. For Bedrock, zero data retention is granted per region, so configure one provider per region and set this only on the covered ones.



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

def zdr_eligible
  @zdr_eligible
end