From 7008513ce180b6587ceb2e5d64e1419eaa88e70d Mon Sep 17 00:00:00 2001 From: "ci.datadog-api-spec" Date: Tue, 9 Jun 2026 19:39:01 +0000 Subject: [PATCH] Regenerate client from commit e69b138 of spec repo --- .generator/schemas/v2/openapi.yaml | 8 ++++++ .../datadog/api/client/v2/api/MetricsApi.java | 28 +++++++++++++++++-- 2 files changed, 34 insertions(+), 2 deletions(-) diff --git a/.generator/schemas/v2/openapi.yaml b/.generator/schemas/v2/openapi.yaml index 2d470c8f2f0..6574c78c6c7 100644 --- a/.generator/schemas/v2/openapi.yaml +++ b/.generator/schemas/v2/openapi.yaml @@ -140826,7 +140826,10 @@ paths: - metrics_read /api/v2/metrics/config/bulk-tags: delete: + deprecated: true description: |- + **Note**: This endpoint is deprecated. Use the `/api/v2/metrics/{metric_name}/tags` endpoint instead. + Delete all custom lists of queryable tag keys for a set of existing count, gauge, rate, and distribution metrics. Metrics are selected by passing a metric name prefix. Results can be sent to a set of account email addresses, just like the same operation in the Datadog web app. @@ -140897,8 +140900,12 @@ paths: operator: OR permissions: - metric_tags_write + x-sunset: "2027-01-01" post: + deprecated: true description: |- + **Note**: This endpoint is deprecated. Use the `/api/v2/metrics/{metric_name}/tags` endpoint instead. + Create and define a list of queryable tag keys for a set of existing count, gauge, rate, and distribution metrics. Metrics are selected by passing a metric name prefix. Use the Delete method of this API path to remove tag configurations. Results can be sent to a set of account email addresses, just like the same operation in the Datadog web app. @@ -140977,6 +140984,7 @@ paths: operator: OR permissions: - metric_tags_write + x-sunset: "2027-01-01" /api/v2/metrics/tag-indexing-rules: get: description: List tag indexing rules for an org, sorted by `rule_order`, with offset/limit pagination. diff --git a/src/main/java/com/datadog/api/client/v2/api/MetricsApi.java b/src/main/java/com/datadog/api/client/v2/api/MetricsApi.java index 746a7266fee..5e0404c06b7 100644 --- a/src/main/java/com/datadog/api/client/v2/api/MetricsApi.java +++ b/src/main/java/com/datadog/api/client/v2/api/MetricsApi.java @@ -82,7 +82,9 @@ public void setApiClient(ApiClient apiClient) { * @param body (required) * @return MetricBulkTagConfigResponse * @throws ApiException if fails to make API call + * @deprecated */ + @Deprecated public MetricBulkTagConfigResponse createBulkTagsMetricsConfiguration( MetricBulkTagConfigCreateRequest body) throws ApiException { return createBulkTagsMetricsConfigurationWithHttpInfo(body).getData(); @@ -95,7 +97,9 @@ public MetricBulkTagConfigResponse createBulkTagsMetricsConfiguration( * * @param body (required) * @return CompletableFuture<MetricBulkTagConfigResponse> + * @deprecated */ + @Deprecated public CompletableFuture createBulkTagsMetricsConfigurationAsync( MetricBulkTagConfigCreateRequest body) { return createBulkTagsMetricsConfigurationWithHttpInfoAsync(body) @@ -106,7 +110,10 @@ public CompletableFuture createBulkTagsMetricsConfi } /** - * Create and define a list of queryable tag keys for a set of existing count, gauge, rate, and + * Note: This endpoint is deprecated. Use the + * /api/v2/metrics/{metric_name}/tags endpoint instead. + * + *

Create and define a list of queryable tag keys for a set of existing count, gauge, rate, and * distribution metrics. Metrics are selected by passing a metric name prefix. Use the Delete * method of this API path to remove tag configurations. Results can be sent to a set of account * email addresses, just like the same operation in the Datadog web app. If multiple calls include @@ -129,7 +136,10 @@ public CompletableFuture createBulkTagsMetricsConfi * 404 Not Found - * 429 Too Many Requests - * + * + * @deprecated */ + @Deprecated public ApiResponse createBulkTagsMetricsConfigurationWithHttpInfo( MetricBulkTagConfigCreateRequest body) throws ApiException { Object localVarPostBody = body; @@ -172,7 +182,9 @@ public ApiResponse createBulkTagsMetricsConfigurati * * @param body (required) * @return CompletableFuture<ApiResponse<MetricBulkTagConfigResponse>> + * @deprecated */ + @Deprecated public CompletableFuture> createBulkTagsMetricsConfigurationWithHttpInfoAsync(MetricBulkTagConfigCreateRequest body) { Object localVarPostBody = body; @@ -700,7 +712,9 @@ public ApiResponse createTagIndexingRuleExempt * @param body (required) * @return MetricBulkTagConfigResponse * @throws ApiException if fails to make API call + * @deprecated */ + @Deprecated public MetricBulkTagConfigResponse deleteBulkTagsMetricsConfiguration( MetricBulkTagConfigDeleteRequest body) throws ApiException { return deleteBulkTagsMetricsConfigurationWithHttpInfo(body).getData(); @@ -713,7 +727,9 @@ public MetricBulkTagConfigResponse deleteBulkTagsMetricsConfiguration( * * @param body (required) * @return CompletableFuture<MetricBulkTagConfigResponse> + * @deprecated */ + @Deprecated public CompletableFuture deleteBulkTagsMetricsConfigurationAsync( MetricBulkTagConfigDeleteRequest body) { return deleteBulkTagsMetricsConfigurationWithHttpInfoAsync(body) @@ -724,7 +740,10 @@ public CompletableFuture deleteBulkTagsMetricsConfi } /** - * Delete all custom lists of queryable tag keys for a set of existing count, gauge, rate, and + * Note: This endpoint is deprecated. Use the + * /api/v2/metrics/{metric_name}/tags endpoint instead. + * + *

Delete all custom lists of queryable tag keys for a set of existing count, gauge, rate, and * distribution metrics. Metrics are selected by passing a metric name prefix. Results can be sent * to a set of account email addresses, just like the same operation in the Datadog web app. Can * only be used with application keys of users with the Manage Tags for Metrics @@ -743,7 +762,10 @@ public CompletableFuture deleteBulkTagsMetricsConfi * 404 Not Found - * 429 Too Many Requests - * + * + * @deprecated */ + @Deprecated public ApiResponse deleteBulkTagsMetricsConfigurationWithHttpInfo( MetricBulkTagConfigDeleteRequest body) throws ApiException { Object localVarPostBody = body; @@ -786,7 +808,9 @@ public ApiResponse deleteBulkTagsMetricsConfigurati * * @param body (required) * @return CompletableFuture<ApiResponse<MetricBulkTagConfigResponse>> + * @deprecated */ + @Deprecated public CompletableFuture> deleteBulkTagsMetricsConfigurationWithHttpInfoAsync(MetricBulkTagConfigDeleteRequest body) { Object localVarPostBody = body;