Skip to content

Commit d34e4b4

Browse files
author
ci.datadog-api-spec
committed
Regenerate client from commit 99b6fc7f of spec repo
1 parent 6c9bf17 commit d34e4b4

File tree

7 files changed

+32
-11
lines changed

7 files changed

+32
-11
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-03-14 07:51:10.767732",
8-
"spec_repo_commit": "899883be"
7+
"regenerated": "2025-03-17 20:19:18.369878",
8+
"spec_repo_commit": "99b6fc7f"
99
},
1010
"v2": {
1111
"apigentools_version": "1.6.6",
12-
"regenerated": "2025-03-14 07:51:10.783055",
13-
"spec_repo_commit": "899883be"
12+
"regenerated": "2025-03-17 20:19:18.385430",
13+
"spec_repo_commit": "99b6fc7f"
1414
}
1515
}
1616
}

.generator/schemas/v1/openapi.yaml

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29328,7 +29328,7 @@ paths:
2932829328
- description: 'When specified, shows additional information about the group
2932929329
states.
2933029330

29331-
Choose one or more from `all`, `alert`, `warn`, and `no data` (`no%20data`).'
29331+
Choose one or more from `all`, `alert`, `warn`, and `no data`.'
2933229332
in: query
2933329333
name: group_states
2933429334
required: false
@@ -36863,7 +36863,10 @@ tags:
3686336863

3686436864
scopes from alerting. Downtime settings, which can be scheduled with start and
3686536865

36866-
end times, prevent all alerting related to specified Datadog tags.'
36866+
end times, prevent all alerting related to specified Datadog tags.
36867+
36868+
36869+
**Note:** `curl` commands require [url encoding](https://curl.se/docs/url-syntax.html).'
3686736870
name: Downtimes
3686836871
- description: 'The Event Management API allows you to programmatically post events
3686936872
to the Events Explorer and fetch events from the Events Explorer. See the [Event
@@ -36940,7 +36943,10 @@ tags:
3694036943
notifies your team when a defined threshold has exceeded.
3694136944

3694236945

36943-
For more information, see [Creating Monitors](https://docs.datadoghq.com/monitors/create/types/).'
36946+
For more information, see [Creating Monitors](https://docs.datadoghq.com/monitors/create/types/).
36947+
36948+
36949+
**Note:** `curl` commands require [url encoding](https://curl.se/docs/url-syntax.html).'
3694436950
externalDocs:
3694536951
description: Find out more at
3694636952
url: https://docs.datadoghq.com/monitors/create/types/

.generator/schemas/v2/openapi.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14746,6 +14746,8 @@ components:
1474614746
properties:
1474714747
aggregation:
1474814748
$ref: '#/components/schemas/SecurityMonitoringRuleQueryAggregation'
14749+
dataSource:
14750+
$ref: '#/components/schemas/SecurityMonitoringStandardDataSource'
1474914751
distinctFields:
1475014752
description: Field for which the cardinality is measured. Sent as an array.
1475114753
items:

features/v1/downtimes.feature

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,8 @@ Feature: Downtimes
44
you greater control over monitor notifications by allowing you to globally
55
exclude scopes from alerting. Downtime settings, which can be scheduled
66
with start and end times, prevent all alerting related to specified
7-
Datadog tags.
7+
Datadog tags. **Note:** `curl` commands require [url
8+
encoding](https://curl.se/docs/url-syntax.html).
89

910
Background:
1011
Given a valid "apiKeyAuth" key in the system

features/v1/monitors.feature

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,9 @@ Feature: Monitors
33
[Monitors](https://docs.datadoghq.com/monitors) allow you to watch a
44
metric or check that you care about and notifies your team when a defined
55
threshold has exceeded. For more information, see [Creating
6-
Monitors](https://docs.datadoghq.com/monitors/create/types/).
6+
Monitors](https://docs.datadoghq.com/monitors/create/types/). **Note:**
7+
`curl` commands require [url encoding](https://curl.se/docs/url-
8+
syntax.html).
79

810
Background:
911
Given a valid "apiKeyAuth" key in the system

lib/datadog_api_client/v1/api/monitors_api.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -522,7 +522,7 @@ def list_monitors(opts = {})
522522
# Get all monitors from your organization.
523523
#
524524
# @param opts [Hash] the optional parameters
525-
# @option opts [String] :group_states When specified, shows additional information about the group states. Choose one or more from `all`, `alert`, `warn`, and `no data` (`no%20data`).
525+
# @option opts [String] :group_states When specified, shows additional information about the group states. Choose one or more from `all`, `alert`, `warn`, and `no data`.
526526
# @option opts [String] :name A string to filter monitors by name.
527527
# @option opts [String] :tags A comma separated list indicating what tags, if any, should be used to filter the list of monitors by scope. For example, `host:host0`.
528528
# @option opts [String] :monitor_tags A comma separated list indicating what service and/or custom tags, if any, should be used to filter the list of monitors. Tags created in the Datadog UI automatically have the service key prepended. For example, `service:my-app`.

lib/datadog_api_client/v2/models/historical_job_query.rb

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,9 @@ class HistoricalJobQuery
2424
# The aggregation type.
2525
attr_accessor :aggregation
2626

27+
# Source of events, either logs or audit trail.
28+
attr_accessor :data_source
29+
2730
# Field for which the cardinality is measured. Sent as an array.
2831
attr_accessor :distinct_fields
2932

@@ -49,6 +52,7 @@ class HistoricalJobQuery
4952
def self.attribute_map
5053
{
5154
:'aggregation' => :'aggregation',
55+
:'data_source' => :'dataSource',
5256
:'distinct_fields' => :'distinctFields',
5357
:'group_by_fields' => :'groupByFields',
5458
:'has_optional_group_by_fields' => :'hasOptionalGroupByFields',
@@ -63,6 +67,7 @@ def self.attribute_map
6367
def self.openapi_types
6468
{
6569
:'aggregation' => :'SecurityMonitoringRuleQueryAggregation',
70+
:'data_source' => :'SecurityMonitoringStandardDataSource',
6671
:'distinct_fields' => :'Array<String>',
6772
:'group_by_fields' => :'Array<String>',
6873
:'has_optional_group_by_fields' => :'Boolean',
@@ -94,6 +99,10 @@ def initialize(attributes = {})
9499
self.aggregation = attributes[:'aggregation']
95100
end
96101

102+
if attributes.key?(:'data_source')
103+
self.data_source = attributes[:'data_source']
104+
end
105+
97106
if attributes.key?(:'distinct_fields')
98107
if (value = attributes[:'distinct_fields']).is_a?(Array)
99108
self.distinct_fields = value
@@ -152,6 +161,7 @@ def ==(o)
152161
return true if self.equal?(o)
153162
self.class == o.class &&
154163
aggregation == o.aggregation &&
164+
data_source == o.data_source &&
155165
distinct_fields == o.distinct_fields &&
156166
group_by_fields == o.group_by_fields &&
157167
has_optional_group_by_fields == o.has_optional_group_by_fields &&
@@ -165,7 +175,7 @@ def ==(o)
165175
# @return [Integer] Hash code
166176
# @!visibility private
167177
def hash
168-
[aggregation, distinct_fields, group_by_fields, has_optional_group_by_fields, metrics, name, query, additional_properties].hash
178+
[aggregation, data_source, distinct_fields, group_by_fields, has_optional_group_by_fields, metrics, name, query, additional_properties].hash
169179
end
170180
end
171181
end

0 commit comments

Comments
 (0)