Skip to content

Commit 0cba2f6

Browse files
api-clients-generation-pipeline[bot]ci.datadog-api-spec
andauthored
Update UA API docs to reflect deprecated values for estimated usage types (#3191)
Co-authored-by: ci.datadog-api-spec <[email protected]>
1 parent aeb0bfd commit 0cba2f6

6 files changed

+31
-9
lines changed

.apigentools-info

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,13 @@
44
"spec_versions": {
55
"v1": {
66
"apigentools_version": "1.6.6",
7-
"regenerated": "2025-07-08 19:08:05.331993",
8-
"spec_repo_commit": "7b042e12"
7+
"regenerated": "2025-07-09 16:47:28.707448",
8+
"spec_repo_commit": "d0906173"
99
},
1010
"v2": {
1111
"apigentools_version": "1.6.6",
12-
"regenerated": "2025-07-08 19:08:05.349225",
13-
"spec_repo_commit": "7b042e12"
12+
"regenerated": "2025-07-09 16:47:28.725222",
13+
"spec_repo_commit": "d0906173"
1414
}
1515
}
1616
}

.generator/schemas/v1/openapi.yaml

Lines changed: 23 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4171,7 +4171,10 @@ components:
41714171
type: array
41724172
type: object
41734173
HourlyUsageAttributionUsageType:
4174-
description: Supported products for hourly usage attribution requests.
4174+
description: 'Supported products for hourly usage attribution requests.
4175+
4176+
The following values have been **deprecated**: `estimated_indexed_spans_usage`,
4177+
`estimated_ingested_spans_usage`.'
41754178
enum:
41764179
- api_usage
41774180
- apm_fargate_usage
@@ -8535,7 +8538,10 @@ components:
85358538
- SCA_FARGATE_PERCENTAGE
85368539
- ALL
85378540
MonthlyUsageAttributionValues:
8538-
description: Fields in Usage Summary by tag(s).
8541+
description: 'Fields in Usage Summary by tag(s).
8542+
8543+
The following values have been **deprecated**: `estimated_indexed_spans_usage`,
8544+
`estimated_indexed_spans_percentage`, `estimated_ingested_spans_usage`, `estimated_ingested_spans_percentage`.'
85398545
properties:
85408546
api_percentage:
85418547
description: The percentage of synthetic API test usage by tag(s).
@@ -35406,7 +35412,9 @@ paths:
3540635412
schema:
3540735413
format: date-time
3540835414
type: string
35409-
- description: Usage type to retrieve.
35415+
- description: 'Usage type to retrieve. The following values have been **deprecated**:
35416+
35417+
`estimated_indexed_spans_usage`, `estimated_ingested_spans_usage`.'
3541035418
in: query
3541135419
name: usage_type
3541235420
required: true
@@ -35956,8 +35964,13 @@ paths:
3595635964
schema:
3595735965
format: date-time
3595835966
type: string
35959-
- description: Comma-separated list of usage types to return, or `*` for all
35967+
- description: 'Comma-separated list of usage types to return, or `*` for all
3596035968
usage types.
35969+
35970+
The following values have been **deprecated**:
35971+
35972+
`estimated_indexed_spans_usage`, `estimated_indexed_spans_percentage`, `estimated_ingested_spans_usage`,
35973+
`estimated_ingested_spans_percentage`.'
3596135974
in: query
3596235975
name: fields
3596335976
required: true
@@ -35969,7 +35982,12 @@ paths:
3596935982
required: false
3597035983
schema:
3597135984
$ref: '#/components/schemas/UsageSortDirection'
35972-
- description: The field to sort by.
35985+
- description: 'The field to sort by.
35986+
35987+
The following values have been **deprecated**:
35988+
35989+
`estimated_indexed_spans_usage`, `estimated_indexed_spans_percentage`, `estimated_ingested_spans_usage`,
35990+
`estimated_ingested_spans_percentage`.'
3597335991
in: query
3597435992
name: sort_name
3597535993
required: false

api/datadogV1/model_hourly_usage_attribution_body.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@ type HourlyUsageAttributionBody struct {
3333
// Shows the most recent hour in the current month for all organizations where usages are calculated.
3434
UpdatedAt *string `json:"updated_at,omitempty"`
3535
// Supported products for hourly usage attribution requests.
36+
// The following values have been **deprecated**: `estimated_indexed_spans_usage`, `estimated_ingested_spans_usage`.
3637
UsageType *HourlyUsageAttributionUsageType `json:"usage_type,omitempty"`
3738
// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
3839
UnparsedObject map[string]interface{} `json:"-"`

api/datadogV1/model_hourly_usage_attribution_usage_type.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ import (
1111
)
1212

1313
// HourlyUsageAttributionUsageType Supported products for hourly usage attribution requests.
14+
// The following values have been **deprecated**: `estimated_indexed_spans_usage`, `estimated_ingested_spans_usage`.
1415
type HourlyUsageAttributionUsageType string
1516

1617
// List of HourlyUsageAttributionUsageType.

api/datadogV1/model_monthly_usage_attribution_body.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@ type MonthlyUsageAttributionBody struct {
3131
// Datetime of the most recent update to the usage values.
3232
UpdatedAt *time.Time `json:"updated_at,omitempty"`
3333
// Fields in Usage Summary by tag(s).
34+
// The following values have been **deprecated**: `estimated_indexed_spans_usage`, `estimated_indexed_spans_percentage`, `estimated_ingested_spans_usage`, `estimated_ingested_spans_percentage`.
3435
Values *MonthlyUsageAttributionValues `json:"values,omitempty"`
3536
// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
3637
UnparsedObject map[string]interface{} `json:"-"`

api/datadogV1/model_monthly_usage_attribution_values.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ import (
99
)
1010

1111
// MonthlyUsageAttributionValues Fields in Usage Summary by tag(s).
12+
// The following values have been **deprecated**: `estimated_indexed_spans_usage`, `estimated_indexed_spans_percentage`, `estimated_ingested_spans_usage`, `estimated_ingested_spans_percentage`.
1213
type MonthlyUsageAttributionValues struct {
1314
// The percentage of synthetic API test usage by tag(s).
1415
ApiPercentage *float64 `json:"api_percentage,omitempty"`

0 commit comments

Comments
 (0)