Class: DatadogAPIClient::V2::OpenAICodexIntegrationAccountBearerTokenAuthUpdate

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

Overview

Bearer token authentication. Use a workspace-scoped OpenAI Admin key with the codex.enterprise.analytics.read scope. Only the provided fields are changed. To keep the stored token, omit token.

Instance Attribute Summary collapse

Method Summary

Methods included from BaseGenericModel

included

Instance Attribute Details

#auth_type ⇒ Object

The authentication method type.



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

def auth_type
  @auth_type
end

#token ⇒ Object

Workspace-scoped OpenAI Admin key with the codex.enterprise.analytics.read scope. To collect turn metrics, also grant chatgpt.enterprise.compliance_logs_platform.workspace_analytics.read to the same key.



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

def token
  @token
end