Skip to content

Commit

Permalink
Regenerate client from commit aeed7080 of spec repo
Browse files Browse the repository at this point in the history
  • Loading branch information
ci.datadog-api-spec committed Jan 27, 2025
1 parent e002e98 commit b16d517
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 17 deletions.
8 changes: 4 additions & 4 deletions .apigentools-info
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,13 @@
"spec_versions": {
"v1": {
"apigentools_version": "1.6.6",
"regenerated": "2025-01-27 19:28:20.017387",
"spec_repo_commit": "4a99b1d3"
"regenerated": "2025-01-27 21:32:29.511641",
"spec_repo_commit": "aeed7080"
},
"v2": {
"apigentools_version": "1.6.6",
"regenerated": "2025-01-27 19:28:20.032698",
"spec_repo_commit": "4a99b1d3"
"regenerated": "2025-01-27 21:32:29.527431",
"spec_repo_commit": "aeed7080"
}
}
}
3 changes: 0 additions & 3 deletions .generator/schemas/v2/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -34678,9 +34678,6 @@ paths:
operator: OR
permissions:
- usage_read
x-unstable: '**Note**: This endpoint is in public beta.

If you have any feedback, contact [Datadog support](https://docs.datadoghq.com/help/).'
/api/v2/csm/onboarding/agents:
get:
description: Get the list of all CSM Agents running on your hosts and containers.
Expand Down
1 change: 0 additions & 1 deletion api/datadog/configuration.go
Original file line number Diff line number Diff line change
Expand Up @@ -337,7 +337,6 @@ func NewConfiguration() *Configuration {
"v2.UnpublishApp": false,
"v2.UpdateApp": false,
"v2.GetActiveBillingDimensions": false,
"v2.GetMonthlyCostAttribution": false,
"v2.CancelDataDeletionRequest": false,
"v2.CreateDataDeletionRequest": false,
"v2.GetDataDeletionRequests": false,
Expand Down
9 changes: 0 additions & 9 deletions api/datadogV2/api_usage_metering.go
Original file line number Diff line number Diff line change
Expand Up @@ -836,15 +836,6 @@ func (a *UsageMeteringApi) GetMonthlyCostAttribution(ctx _context.Context, start
optionalParams = o[0]
}

operationId := "v2.GetMonthlyCostAttribution"
isOperationEnabled := a.Client.Cfg.IsUnstableOperationEnabled(operationId)
if !isOperationEnabled {
return localVarReturnValue, nil, datadog.GenericOpenAPIError{ErrorMessage: _fmt.Sprintf("Unstable operation '%s' is disabled", operationId)}
}
if isOperationEnabled && a.Client.Cfg.Debug {
_log.Printf("WARNING: Using unstable operation '%s'", operationId)
}

localBasePath, err := a.Client.Cfg.ServerURLWithContext(ctx, "v2.UsageMeteringApi.GetMonthlyCostAttribution")
if err != nil {
return localVarReturnValue, nil, datadog.GenericOpenAPIError{ErrorMessage: err.Error()}
Expand Down

0 comments on commit b16d517

Please sign in to comment.