From 90cdd0b7d3934d45ac01865e3217c5a2747e63a2 Mon Sep 17 00:00:00 2001 From: "ci.datadog-api-spec" Date: Wed, 18 Mar 2026 19:00:32 +0000 Subject: [PATCH] Regenerate client from commit 5ca116c of spec repo --- .generator/schemas/v2/openapi.yaml | 14 +++++++++++++- features/scenarios_model_mapping.rb | 3 +++ .../v2/api/security_monitoring_api.rb | 2 ++ .../models/metric_tag_configuration_attributes.rb | 2 +- .../metric_tag_configuration_create_attributes.rb | 2 +- .../metric_tag_configuration_metric_types.rb | 4 +++- 6 files changed, 23 insertions(+), 4 deletions(-) diff --git a/.generator/schemas/v2/openapi.yaml b/.generator/schemas/v2/openapi.yaml index 7c5de28af805..7f0ea5fb8732 100644 --- a/.generator/schemas/v2/openapi.yaml +++ b/.generator/schemas/v2/openapi.yaml @@ -39721,12 +39721,15 @@ components: - DISTRIBUTION MetricTagConfigurationMetricTypes: default: gauge - description: The metric's type. + description: The metric's type. Contact your Customer Success Manager (CSM) + for instructions on how to use the histogram types. enum: - gauge - count - rate - distribution + - exponential_histogram + - explicit_histogram example: count type: string x-enum-varnames: @@ -39734,6 +39737,8 @@ components: - COUNT - RATE - DISTRIBUTION + - EXPONENTIAL_HISTOGRAM + - EXPLICIT_HISTOGRAM MetricTagConfigurationResponse: description: Response object which includes a single metric's tag configuration. properties: @@ -102212,6 +102217,13 @@ paths: get: description: Get the list of all critical assets. operationId: ListSecurityMonitoringCriticalAssets + parameters: + - description: Query string. + in: query + name: query + required: false + schema: + type: string responses: '200': content: diff --git a/features/scenarios_model_mapping.rb b/features/scenarios_model_mapping.rb index a3162c56f7a1..95f3727d7bec 100644 --- a/features/scenarios_model_mapping.rb +++ b/features/scenarios_model_mapping.rb @@ -1607,6 +1607,9 @@ "filter_operating_system_name" => "String", "filter_operating_system_version" => "String", }, + "v2.ListSecurityMonitoringCriticalAssets" => { + "query" => "String", + }, "v2.CreateSecurityMonitoringCriticalAsset" => { "body" => "SecurityMonitoringCriticalAssetCreateRequest", }, diff --git a/lib/datadog_api_client/v2/api/security_monitoring_api.rb b/lib/datadog_api_client/v2/api/security_monitoring_api.rb index 3192e46a021f..c185ce633926 100644 --- a/lib/datadog_api_client/v2/api/security_monitoring_api.rb +++ b/lib/datadog_api_client/v2/api/security_monitoring_api.rb @@ -4326,6 +4326,7 @@ def list_security_monitoring_critical_assets(opts = {}) # Get the list of all critical assets. # # @param opts [Hash] the optional parameters + # @option opts [String] :query Query string. # @return [Array<(SecurityMonitoringCriticalAssetsResponse, Integer, Hash)>] SecurityMonitoringCriticalAssetsResponse data, response status code and response headers def list_security_monitoring_critical_assets_with_http_info(opts = {}) @@ -4337,6 +4338,7 @@ def list_security_monitoring_critical_assets_with_http_info(opts = {}) # query parameters query_params = opts[:query_params] || {} + query_params[:'query'] = opts[:'query'] if !opts[:'query'].nil? # header parameters header_params = opts[:header_params] || {} diff --git a/lib/datadog_api_client/v2/models/metric_tag_configuration_attributes.rb b/lib/datadog_api_client/v2/models/metric_tag_configuration_attributes.rb index 2c057dee44fe..30f081a6b345 100644 --- a/lib/datadog_api_client/v2/models/metric_tag_configuration_attributes.rb +++ b/lib/datadog_api_client/v2/models/metric_tag_configuration_attributes.rb @@ -36,7 +36,7 @@ class MetricTagConfigurationAttributes # Only present when the `metric_type` is `distribution`. attr_accessor :include_percentiles - # The metric's type. + # The metric's type. Contact your Customer Success Manager (CSM) for instructions on how to use the histogram types. attr_accessor :metric_type # Timestamp when the tag configuration was last modified. diff --git a/lib/datadog_api_client/v2/models/metric_tag_configuration_create_attributes.rb b/lib/datadog_api_client/v2/models/metric_tag_configuration_create_attributes.rb index 96ac30d52da3..90889bdf4eb7 100644 --- a/lib/datadog_api_client/v2/models/metric_tag_configuration_create_attributes.rb +++ b/lib/datadog_api_client/v2/models/metric_tag_configuration_create_attributes.rb @@ -33,7 +33,7 @@ class MetricTagConfigurationCreateAttributes # Defaults to false. Can only be applied to metrics that have a `metric_type` of `distribution`. attr_accessor :include_percentiles - # The metric's type. + # The metric's type. Contact your Customer Success Manager (CSM) for instructions on how to use the histogram types. attr_reader :metric_type # A list of tag keys that will be queryable for your metric. diff --git a/lib/datadog_api_client/v2/models/metric_tag_configuration_metric_types.rb b/lib/datadog_api_client/v2/models/metric_tag_configuration_metric_types.rb index 27cfb0fac29e..4cef1f253c94 100644 --- a/lib/datadog_api_client/v2/models/metric_tag_configuration_metric_types.rb +++ b/lib/datadog_api_client/v2/models/metric_tag_configuration_metric_types.rb @@ -17,7 +17,7 @@ require 'time' module DatadogAPIClient::V2 - # The metric's type. + # The metric's type. Contact your Customer Success Manager (CSM) for instructions on how to use the histogram types. class MetricTagConfigurationMetricTypes include BaseEnumModel @@ -25,5 +25,7 @@ class MetricTagConfigurationMetricTypes COUNT = "count".freeze RATE = "rate".freeze DISTRIBUTION = "distribution".freeze + EXPONENTIAL_HISTOGRAM = "exponential_histogram".freeze + EXPLICIT_HISTOGRAM = "explicit_histogram".freeze end end