From d01944de4025bd1a3ebc93753dbd14ef0932ca74 Mon Sep 17 00:00:00 2001 From: "ci.datadog-api-spec" Date: Tue, 12 May 2026 16:08:36 +0000 Subject: [PATCH] Regenerate client from commit 6b867a1 of spec repo --- .generator/schemas/v1/openapi.yaml | 3 ++- ...rmula_and_function_apm_resource_stats_query_definition.rb | 5 ++++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/.generator/schemas/v1/openapi.yaml b/.generator/schemas/v1/openapi.yaml index 4707c147e8b2..b963c5298057 100644 --- a/.generator/schemas/v1/openapi.yaml +++ b/.generator/schemas/v1/openapi.yaml @@ -3006,7 +3006,8 @@ components: x-enum-varnames: - APM_RESOURCE_STATS FormulaAndFunctionApmResourceStatsQueryDefinition: - description: APM resource stats query using formulas and functions. + deprecated: true + description: APM resource stats query using formulas and functions. Deprecated - Use `apm_metrics` query type instead. properties: cross_org_uuids: $ref: "#/components/schemas/CrossOrgUuids" diff --git a/lib/datadog_api_client/v1/models/formula_and_function_apm_resource_stats_query_definition.rb b/lib/datadog_api_client/v1/models/formula_and_function_apm_resource_stats_query_definition.rb index e69aafdfb6fe..28f2ce122942 100644 --- a/lib/datadog_api_client/v1/models/formula_and_function_apm_resource_stats_query_definition.rb +++ b/lib/datadog_api_client/v1/models/formula_and_function_apm_resource_stats_query_definition.rb @@ -17,7 +17,9 @@ require 'time' module DatadogAPIClient::V1 - # APM resource stats query using formulas and functions. + # APM resource stats query using formulas and functions. Deprecated - Use `apm_metrics` query type instead. + # + # @deprecated This model is deprecated. class FormulaAndFunctionApmResourceStatsQueryDefinition include BaseGenericModel @@ -96,6 +98,7 @@ def self.openapi_types # @param attributes [Hash] Model attributes in the form of hash # @!visibility private def initialize(attributes = {}) + warn "[DEPRECATION] `FormulaAndFunctionApmResourceStatsQueryDefinition` is deprecated." if (!attributes.is_a?(Hash)) fail ArgumentError, "The input argument (attributes) must be a hash in `DatadogAPIClient::V1::FormulaAndFunctionApmResourceStatsQueryDefinition` initialize method" end