Class: DatadogAPIClient::V2::GitHubCostsIntegrationAccountBearerTokenAuthRequest

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

Overview

Bearer token authentication. Use the token type that matches settings.enterprise_name: a classic personal access token for an enterprise, or a fine-grained personal access token for an organization.

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/git_hub_costs_integration_account_bearer_token_auth_request.rb', line 25

def auth_type
  @auth_type
end

#token ⇒ Object

For an enterprise, a personal access token (classic) from an Enterprise Admin user with the manage_billing:enterprise and read:org scopes. For an organization, a fine-grained personal access token owned by that organization and created by an organization owner, with the Administration organization permission set to read-only.



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

def token
  @token
end