Class: DatadogAPIClient::V2::GitHubCostsIntegrationAccountBearerTokenAuthUpdate
- Inherits:
-
Object
- Object
- DatadogAPIClient::V2::GitHubCostsIntegrationAccountBearerTokenAuthUpdate
- Includes:
- BaseGenericModel
- Defined in:
- lib/datadog_api_client/v2/models/git_hub_costs_integration_account_bearer_token_auth_update.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. Only the provided fields are changed. To keep the stored token, omit token.
Instance Attribute Summary collapse
-
#auth_type ⇒ Object
readonly
The authentication method type.
-
#token ⇒ Object
For an enterprise, a personal access token (classic) from an Enterprise Admin user with the
manage_billing:enterpriseandread:orgscopes.
Method Summary
Methods included from BaseGenericModel
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_update.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_update.rb', line 28 def token @token end |