Skip to content

Commit f7483f2

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

File tree

7 files changed

+89
-26
lines changed

7 files changed

+89
-26
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:08.429204",
8-
"spec_repo_commit": "7b042e12"
7+
"regenerated": "2025-07-09 16:47:18.281866",
8+
"spec_repo_commit": "d0906173"
99
},
1010
"v2": {
1111
"apigentools_version": "1.6.6",
12-
"regenerated": "2025-07-08 19:08:08.445031",
13-
"spec_repo_commit": "7b042e12"
12+
"regenerated": "2025-07-09 16:47:18.298039",
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/main/java/com/datadog/api/client/v1/api/UsageMeteringApi.java

Lines changed: 46 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -385,7 +385,9 @@ public GetHourlyUsageAttributionOptionalParameters includeDescendants(
385385
*
386386
* @param startHr Datetime in ISO-8601 format, UTC, precise to hour: <code>[YYYY-MM-DDThh]</code>
387387
* for usage beginning at this hour. (required)
388-
* @param usageType Usage type to retrieve. (required)
388+
* @param usageType Usage type to retrieve. The following values have been
389+
* <strong>deprecated</strong>: <code>estimated_indexed_spans_usage</code>, <code>
390+
* estimated_ingested_spans_usage</code>. (required)
389391
* @return HourlyUsageAttributionResponse
390392
* @throws ApiException if fails to make API call
391393
*/
@@ -403,7 +405,9 @@ startHr, usageType, new GetHourlyUsageAttributionOptionalParameters())
403405
*
404406
* @param startHr Datetime in ISO-8601 format, UTC, precise to hour: <code>[YYYY-MM-DDThh]</code>
405407
* for usage beginning at this hour. (required)
406-
* @param usageType Usage type to retrieve. (required)
408+
* @param usageType Usage type to retrieve. The following values have been
409+
* <strong>deprecated</strong>: <code>estimated_indexed_spans_usage</code>, <code>
410+
* estimated_ingested_spans_usage</code>. (required)
407411
* @return CompletableFuture&lt;HourlyUsageAttributionResponse&gt;
408412
*/
409413
public CompletableFuture<HourlyUsageAttributionResponse> getHourlyUsageAttributionAsync(
@@ -423,7 +427,9 @@ startHr, usageType, new GetHourlyUsageAttributionOptionalParameters())
423427
*
424428
* @param startHr Datetime in ISO-8601 format, UTC, precise to hour: <code>[YYYY-MM-DDThh]</code>
425429
* for usage beginning at this hour. (required)
426-
* @param usageType Usage type to retrieve. (required)
430+
* @param usageType Usage type to retrieve. The following values have been
431+
* <strong>deprecated</strong>: <code>estimated_indexed_spans_usage</code>, <code>
432+
* estimated_ingested_spans_usage</code>. (required)
427433
* @param parameters Optional parameters for the request.
428434
* @return HourlyUsageAttributionResponse
429435
* @throws ApiException if fails to make API call
@@ -443,7 +449,9 @@ public HourlyUsageAttributionResponse getHourlyUsageAttribution(
443449
*
444450
* @param startHr Datetime in ISO-8601 format, UTC, precise to hour: <code>[YYYY-MM-DDThh]</code>
445451
* for usage beginning at this hour. (required)
446-
* @param usageType Usage type to retrieve. (required)
452+
* @param usageType Usage type to retrieve. The following values have been
453+
* <strong>deprecated</strong>: <code>estimated_indexed_spans_usage</code>, <code>
454+
* estimated_ingested_spans_usage</code>. (required)
447455
* @param parameters Optional parameters for the request.
448456
* @return CompletableFuture&lt;HourlyUsageAttributionResponse&gt;
449457
*/
@@ -475,7 +483,9 @@ public CompletableFuture<HourlyUsageAttributionResponse> getHourlyUsageAttributi
475483
*
476484
* @param startHr Datetime in ISO-8601 format, UTC, precise to hour: <code>[YYYY-MM-DDThh]</code>
477485
* for usage beginning at this hour. (required)
478-
* @param usageType Usage type to retrieve. (required)
486+
* @param usageType Usage type to retrieve. The following values have been
487+
* <strong>deprecated</strong>: <code>estimated_indexed_spans_usage</code>, <code>
488+
* estimated_ingested_spans_usage</code>. (required)
479489
* @param parameters Optional parameters for the request.
480490
* @return ApiResponse&lt;HourlyUsageAttributionResponse&gt;
481491
* @throws ApiException if fails to make API call
@@ -552,7 +562,9 @@ public ApiResponse<HourlyUsageAttributionResponse> getHourlyUsageAttributionWith
552562
*
553563
* @param startHr Datetime in ISO-8601 format, UTC, precise to hour: <code>[YYYY-MM-DDThh]</code>
554564
* for usage beginning at this hour. (required)
555-
* @param usageType Usage type to retrieve. (required)
565+
* @param usageType Usage type to retrieve. The following values have been
566+
* <strong>deprecated</strong>: <code>estimated_indexed_spans_usage</code>, <code>
567+
* estimated_ingested_spans_usage</code>. (required)
556568
* @param parameters Optional parameters for the request.
557569
* @return CompletableFuture&lt;ApiResponse&lt;HourlyUsageAttributionResponse&gt;&gt;
558570
*/
@@ -1352,7 +1364,10 @@ public GetMonthlyUsageAttributionOptionalParameters sortDirection(
13521364
/**
13531365
* Set sortName.
13541366
*
1355-
* @param sortName The field to sort by. (optional)
1367+
* @param sortName The field to sort by. The following values have been
1368+
* <strong>deprecated</strong>: <code>estimated_indexed_spans_usage</code>, <code>
1369+
* estimated_indexed_spans_percentage</code>, <code>estimated_ingested_spans_usage</code>,
1370+
* <code>estimated_ingested_spans_percentage</code>. (optional)
13561371
* @return GetMonthlyUsageAttributionOptionalParameters
13571372
*/
13581373
public GetMonthlyUsageAttributionOptionalParameters sortName(
@@ -1408,7 +1423,10 @@ public GetMonthlyUsageAttributionOptionalParameters includeDescendants(
14081423
* @param startMonth Datetime in ISO-8601 format, UTC, precise to month: <code>[YYYY-MM]</code>
14091424
* for usage beginning in this month. Maximum of 15 months ago. (required)
14101425
* @param fields Comma-separated list of usage types to return, or <code>*</code> for all usage
1411-
* types. (required)
1426+
* types. The following values have been <strong>deprecated</strong>: <code>
1427+
* estimated_indexed_spans_usage</code>, <code>estimated_indexed_spans_percentage</code>,
1428+
* <code>estimated_ingested_spans_usage</code>, <code>estimated_ingested_spans_percentage
1429+
* </code>. (required)
14121430
* @return MonthlyUsageAttributionResponse
14131431
* @throws ApiException if fails to make API call
14141432
*/
@@ -1428,7 +1446,10 @@ startMonth, fields, new GetMonthlyUsageAttributionOptionalParameters())
14281446
* @param startMonth Datetime in ISO-8601 format, UTC, precise to month: <code>[YYYY-MM]</code>
14291447
* for usage beginning in this month. Maximum of 15 months ago. (required)
14301448
* @param fields Comma-separated list of usage types to return, or <code>*</code> for all usage
1431-
* types. (required)
1449+
* types. The following values have been <strong>deprecated</strong>: <code>
1450+
* estimated_indexed_spans_usage</code>, <code>estimated_indexed_spans_percentage</code>,
1451+
* <code>estimated_ingested_spans_usage</code>, <code>estimated_ingested_spans_percentage
1452+
* </code>. (required)
14321453
* @return CompletableFuture&lt;MonthlyUsageAttributionResponse&gt;
14331454
*/
14341455
public CompletableFuture<MonthlyUsageAttributionResponse> getMonthlyUsageAttributionAsync(
@@ -1449,7 +1470,10 @@ startMonth, fields, new GetMonthlyUsageAttributionOptionalParameters())
14491470
* @param startMonth Datetime in ISO-8601 format, UTC, precise to month: <code>[YYYY-MM]</code>
14501471
* for usage beginning in this month. Maximum of 15 months ago. (required)
14511472
* @param fields Comma-separated list of usage types to return, or <code>*</code> for all usage
1452-
* types. (required)
1473+
* types. The following values have been <strong>deprecated</strong>: <code>
1474+
* estimated_indexed_spans_usage</code>, <code>estimated_indexed_spans_percentage</code>,
1475+
* <code>estimated_ingested_spans_usage</code>, <code>estimated_ingested_spans_percentage
1476+
* </code>. (required)
14531477
* @param parameters Optional parameters for the request.
14541478
* @return MonthlyUsageAttributionResponse
14551479
* @throws ApiException if fails to make API call
@@ -1470,7 +1494,10 @@ public MonthlyUsageAttributionResponse getMonthlyUsageAttribution(
14701494
* @param startMonth Datetime in ISO-8601 format, UTC, precise to month: <code>[YYYY-MM]</code>
14711495
* for usage beginning in this month. Maximum of 15 months ago. (required)
14721496
* @param fields Comma-separated list of usage types to return, or <code>*</code> for all usage
1473-
* types. (required)
1497+
* types. The following values have been <strong>deprecated</strong>: <code>
1498+
* estimated_indexed_spans_usage</code>, <code>estimated_indexed_spans_percentage</code>,
1499+
* <code>estimated_ingested_spans_usage</code>, <code>estimated_ingested_spans_percentage
1500+
* </code>. (required)
14741501
* @param parameters Optional parameters for the request.
14751502
* @return CompletableFuture&lt;MonthlyUsageAttributionResponse&gt;
14761503
*/
@@ -1503,7 +1530,10 @@ public CompletableFuture<MonthlyUsageAttributionResponse> getMonthlyUsageAttribu
15031530
* @param startMonth Datetime in ISO-8601 format, UTC, precise to month: <code>[YYYY-MM]</code>
15041531
* for usage beginning in this month. Maximum of 15 months ago. (required)
15051532
* @param fields Comma-separated list of usage types to return, or <code>*</code> for all usage
1506-
* types. (required)
1533+
* types. The following values have been <strong>deprecated</strong>: <code>
1534+
* estimated_indexed_spans_usage</code>, <code>estimated_indexed_spans_percentage</code>,
1535+
* <code>estimated_ingested_spans_usage</code>, <code>estimated_ingested_spans_percentage
1536+
* </code>. (required)
15071537
* @param parameters Optional parameters for the request.
15081538
* @return ApiResponse&lt;MonthlyUsageAttributionResponse&gt;
15091539
* @throws ApiException if fails to make API call
@@ -1586,7 +1616,10 @@ public ApiResponse<MonthlyUsageAttributionResponse> getMonthlyUsageAttributionWi
15861616
* @param startMonth Datetime in ISO-8601 format, UTC, precise to month: <code>[YYYY-MM]</code>
15871617
* for usage beginning in this month. Maximum of 15 months ago. (required)
15881618
* @param fields Comma-separated list of usage types to return, or <code>*</code> for all usage
1589-
* types. (required)
1619+
* types. The following values have been <strong>deprecated</strong>: <code>
1620+
* estimated_indexed_spans_usage</code>, <code>estimated_indexed_spans_percentage</code>,
1621+
* <code>estimated_ingested_spans_usage</code>, <code>estimated_ingested_spans_percentage
1622+
* </code>. (required)
15901623
* @param parameters Optional parameters for the request.
15911624
* @return CompletableFuture&lt;ApiResponse&lt;MonthlyUsageAttributionResponse&gt;&gt;
15921625
*/

src/main/java/com/datadog/api/client/v1/model/HourlyUsageAttributionBody.java

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -270,7 +270,9 @@ public HourlyUsageAttributionBody usageType(HourlyUsageAttributionUsageType usag
270270
}
271271

272272
/**
273-
* Supported products for hourly usage attribution requests.
273+
* Supported products for hourly usage attribution requests. The following values have been
274+
* <strong>deprecated</strong>: <code>estimated_indexed_spans_usage</code>, <code>
275+
* estimated_ingested_spans_usage</code>.
274276
*
275277
* @return usageType
276278
*/

src/main/java/com/datadog/api/client/v1/model/HourlyUsageAttributionUsageType.java

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,11 @@
1818
import java.util.HashSet;
1919
import java.util.Set;
2020

21-
/** Supported products for hourly usage attribution requests. */
21+
/**
22+
* Supported products for hourly usage attribution requests. The following values have been
23+
* <strong>deprecated</strong>: <code>estimated_indexed_spans_usage</code>, <code>
24+
* estimated_ingested_spans_usage</code>.
25+
*/
2226
@JsonSerialize(
2327
using = HourlyUsageAttributionUsageType.HourlyUsageAttributionUsageTypeSerializer.class)
2428
public class HourlyUsageAttributionUsageType extends ModelEnum<String> {

src/main/java/com/datadog/api/client/v1/model/MonthlyUsageAttributionBody.java

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -244,7 +244,9 @@ public MonthlyUsageAttributionBody values(MonthlyUsageAttributionValues values)
244244
}
245245

246246
/**
247-
* Fields in Usage Summary by tag(s).
247+
* Fields in Usage Summary by tag(s). The following values have been <strong>deprecated</strong>:
248+
* <code>estimated_indexed_spans_usage</code>, <code>estimated_indexed_spans_percentage</code>,
249+
* <code>estimated_ingested_spans_usage</code>, <code>estimated_ingested_spans_percentage</code>.
248250
*
249251
* @return values
250252
*/

src/main/java/com/datadog/api/client/v1/model/MonthlyUsageAttributionValues.java

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,11 @@
1616
import java.util.Map;
1717
import java.util.Objects;
1818

19-
/** Fields in Usage Summary by tag(s). */
19+
/**
20+
* Fields in Usage Summary by tag(s). The following values have been <strong>deprecated</strong>:
21+
* <code>estimated_indexed_spans_usage</code>, <code>estimated_indexed_spans_percentage</code>,
22+
* <code>estimated_ingested_spans_usage</code>, <code>estimated_ingested_spans_percentage</code>.
23+
*/
2024
@JsonPropertyOrder({
2125
MonthlyUsageAttributionValues.JSON_PROPERTY_API_PERCENTAGE,
2226
MonthlyUsageAttributionValues.JSON_PROPERTY_API_USAGE,

0 commit comments

Comments
 (0)