Skip to content

Commit ae05bb6

Browse files
author
ci.datadog-api-spec
committed
Regenerate client from commit dcb0494 of spec repo
1 parent 47262ff commit ae05bb6

6 files changed

Lines changed: 23 additions & 4 deletions

File tree

.generator/schemas/v2/openapi.yaml

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39721,19 +39721,24 @@ components:
3972139721
- DISTRIBUTION
3972239722
MetricTagConfigurationMetricTypes:
3972339723
default: gauge
39724-
description: The metric's type.
39724+
description: The metric's type. Contact your CSM for instructions on how to
39725+
use the histogram types.
3972539726
enum:
3972639727
- gauge
3972739728
- count
3972839729
- rate
3972939730
- distribution
39731+
- exponential_histogram
39732+
- explicit_histogram
3973039733
example: count
3973139734
type: string
3973239735
x-enum-varnames:
3973339736
- GAUGE
3973439737
- COUNT
3973539738
- RATE
3973639739
- DISTRIBUTION
39740+
- EXPONENTIAL_HISTOGRAM
39741+
- EXPLICIT_HISTOGRAM
3973739742
MetricTagConfigurationResponse:
3973839743
description: Response object which includes a single metric's tag configuration.
3973939744
properties:
@@ -102212,6 +102217,13 @@ paths:
102212102217
get:
102213102218
description: Get the list of all critical assets.
102214102219
operationId: ListSecurityMonitoringCriticalAssets
102220+
parameters:
102221+
- description: Query string.
102222+
in: query
102223+
name: query
102224+
required: false
102225+
schema:
102226+
type: string
102215102227
responses:
102216102228
'200':
102217102229
content:

features/scenarios_model_mapping.rb

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1607,6 +1607,9 @@
16071607
"filter_operating_system_name" => "String",
16081608
"filter_operating_system_version" => "String",
16091609
},
1610+
"v2.ListSecurityMonitoringCriticalAssets" => {
1611+
"query" => "String",
1612+
},
16101613
"v2.CreateSecurityMonitoringCriticalAsset" => {
16111614
"body" => "SecurityMonitoringCriticalAssetCreateRequest",
16121615
},

lib/datadog_api_client/v2/api/security_monitoring_api.rb

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4326,6 +4326,7 @@ def list_security_monitoring_critical_assets(opts = {})
43264326
# Get the list of all critical assets.
43274327
#
43284328
# @param opts [Hash] the optional parameters
4329+
# @option opts [String] :query Query string.
43294330
# @return [Array<(SecurityMonitoringCriticalAssetsResponse, Integer, Hash)>] SecurityMonitoringCriticalAssetsResponse data, response status code and response headers
43304331
def list_security_monitoring_critical_assets_with_http_info(opts = {})
43314332

@@ -4337,6 +4338,7 @@ def list_security_monitoring_critical_assets_with_http_info(opts = {})
43374338

43384339
# query parameters
43394340
query_params = opts[:query_params] || {}
4341+
query_params[:'query'] = opts[:'query'] if !opts[:'query'].nil?
43404342

43414343
# header parameters
43424344
header_params = opts[:header_params] || {}

lib/datadog_api_client/v2/models/metric_tag_configuration_attributes.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ class MetricTagConfigurationAttributes
3636
# Only present when the `metric_type` is `distribution`.
3737
attr_accessor :include_percentiles
3838

39-
# The metric's type.
39+
# The metric's type. Contact your CSM for instructions on how to use the histogram types.
4040
attr_accessor :metric_type
4141

4242
# Timestamp when the tag configuration was last modified.

lib/datadog_api_client/v2/models/metric_tag_configuration_create_attributes.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ class MetricTagConfigurationCreateAttributes
3333
# Defaults to false. Can only be applied to metrics that have a `metric_type` of `distribution`.
3434
attr_accessor :include_percentiles
3535

36-
# The metric's type.
36+
# The metric's type. Contact your CSM for instructions on how to use the histogram types.
3737
attr_reader :metric_type
3838

3939
# A list of tag keys that will be queryable for your metric.

lib/datadog_api_client/v2/models/metric_tag_configuration_metric_types.rb

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,13 +17,15 @@
1717
require 'time'
1818

1919
module DatadogAPIClient::V2
20-
# The metric's type.
20+
# The metric's type. Contact your CSM for instructions on how to use the histogram types.
2121
class MetricTagConfigurationMetricTypes
2222
include BaseEnumModel
2323

2424
GAUGE = "gauge".freeze
2525
COUNT = "count".freeze
2626
RATE = "rate".freeze
2727
DISTRIBUTION = "distribution".freeze
28+
EXPONENTIAL_HISTOGRAM = "exponential_histogram".freeze
29+
EXPLICIT_HISTOGRAM = "explicit_histogram".freeze
2830
end
2931
end

0 commit comments

Comments
 (0)