Skip to content

Commit 5ede476

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

File tree

6 files changed

+34
-9
lines changed

6 files changed

+34
-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.438773",
8-
"spec_repo_commit": "7b042e12"
7+
"regenerated": "2025-07-09 16:47:21.201940",
8+
"spec_repo_commit": "d0906173"
99
},
1010
"v2": {
1111
"apigentools_version": "1.6.6",
12-
"regenerated": "2025-07-08 19:08:05.457615",
13-
"spec_repo_commit": "7b042e12"
12+
"regenerated": "2025-07-09 16:47:21.217770",
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

src/datadogV1/api/api_usage_metering.rs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -167,6 +167,8 @@ pub struct GetMonthlyUsageAttributionOptionalParams {
167167
/// The direction to sort by: `[desc, asc]`.
168168
pub sort_direction: Option<crate::datadogV1::model::UsageSortDirection>,
169169
/// The field to sort by.
170+
/// The following values have been **deprecated**:
171+
/// `estimated_indexed_spans_usage`, `estimated_indexed_spans_percentage`, `estimated_ingested_spans_usage`, `estimated_ingested_spans_percentage`.
170172
pub sort_name: Option<crate::datadogV1::model::MonthlyUsageAttributionSupportedMetrics>,
171173
/// Comma separated list of tag keys used to group usage. If no value is provided the usage will not be broken down by tags.
172174
///
@@ -190,6 +192,8 @@ impl GetMonthlyUsageAttributionOptionalParams {
190192
self
191193
}
192194
/// The field to sort by.
195+
/// The following values have been **deprecated**:
196+
/// `estimated_indexed_spans_usage`, `estimated_indexed_spans_percentage`, `estimated_ingested_spans_usage`, `estimated_ingested_spans_percentage`.
193197
pub fn sort_name(
194198
mut self,
195199
value: crate::datadogV1::model::MonthlyUsageAttributionSupportedMetrics,

src/datadogV1/model/model_hourly_usage_attribution_body.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,7 @@ pub struct HourlyUsageAttributionBody {
4040
#[serde(rename = "updated_at")]
4141
pub updated_at: Option<String>,
4242
/// Supported products for hourly usage attribution requests.
43+
/// The following values have been **deprecated**: `estimated_indexed_spans_usage`, `estimated_ingested_spans_usage`.
4344
#[serde(rename = "usage_type")]
4445
pub usage_type: Option<crate::datadogV1::model::HourlyUsageAttributionUsageType>,
4546
#[serde(flatten)]

src/datadogV1/model/model_monthly_usage_attribution_body.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@ pub struct MonthlyUsageAttributionBody {
3737
#[serde(rename = "updated_at")]
3838
pub updated_at: Option<chrono::DateTime<chrono::Utc>>,
3939
/// Fields in Usage Summary by tag(s).
40+
/// The following values have been **deprecated**: `estimated_indexed_spans_usage`, `estimated_indexed_spans_percentage`, `estimated_ingested_spans_usage`, `estimated_ingested_spans_percentage`.
4041
#[serde(rename = "values")]
4142
pub values: Option<crate::datadogV1::model::MonthlyUsageAttributionValues>,
4243
#[serde(flatten)]

src/datadogV1/model/model_monthly_usage_attribution_values.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ use serde_with::skip_serializing_none;
77
use std::fmt::{self, Formatter};
88

99
/// Fields in Usage Summary by tag(s).
10+
/// The following values have been **deprecated**: `estimated_indexed_spans_usage`, `estimated_indexed_spans_percentage`, `estimated_ingested_spans_usage`, `estimated_ingested_spans_percentage`.
1011
#[non_exhaustive]
1112
#[skip_serializing_none]
1213
#[derive(Clone, Debug, PartialEq, Serialize)]

0 commit comments

Comments
 (0)