Skip to content

Commit c6d0f1d

Browse files
api-clients-generation-pipeline[bot]ci.datadog-api-spec
andauthored
Regenerate client from commit dfe70f9 of spec repo (DataDog#3419)
Co-authored-by: ci.datadog-api-spec <packages@datadoghq.com>
1 parent d958d62 commit c6d0f1d

3 files changed

Lines changed: 18 additions & 0 deletions

File tree

.generator/schemas/v2/openapi.yaml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -138116,6 +138116,12 @@ paths:
138116138116
name: tags
138117138117
schema:
138118138118
type: string
138119+
- description: Free-form search query using AND/OR/NOT operators, wildcards, and parentheses. When provided, takes precedence over the `tags` parameter.
138120+
example: "(client_team:networks OR client_team:platform) AND server_service:hucklebuck"
138121+
in: query
138122+
name: query
138123+
schema:
138124+
type: string
138119138125
- description: The number of connections to be returned. The maximum value is 7500. The default is 100.
138120138126
in: query
138121138127
name: limit
@@ -138177,6 +138183,12 @@ paths:
138177138183
name: tags
138178138184
schema:
138179138185
type: string
138186+
- description: Free-form search query using AND/OR/NOT operators, wildcards, and parentheses. When provided, takes precedence over the `tags` parameter.
138187+
example: "(client_team:networks OR client_team:platform) AND server_service:hucklebuck"
138188+
in: query
138189+
name: query
138190+
schema:
138191+
type: string
138180138192
- description: The number of aggregated DNS entries to be returned. The maximum value is 7500. The default is 100.
138181138193
in: query
138182138194
name: limit

features/scenarios_model_mapping.rb

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3967,13 +3967,15 @@
39673967
"to" => "Integer",
39683968
"group_by" => "String",
39693969
"tags" => "String",
3970+
"query" => "String",
39703971
"limit" => "Integer",
39713972
},
39723973
"v2.GetAggregatedDns" => {
39733974
"from" => "Integer",
39743975
"to" => "Integer",
39753976
"group_by" => "String",
39763977
"tags" => "String",
3978+
"query" => "String",
39773979
"limit" => "Integer",
39783980
},
39793981
"v2.DeleteScopesRestriction" => {

lib/datadog_api_client/v2/api/cloud_network_monitoring_api.rb

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,7 @@ def get_aggregated_connections(opts = {})
4040
# @option opts [Integer] :to Unix timestamp (number of seconds since epoch) of the end of the query window. If not provided, the end of the query window is the current time. If neither `from` nor `to` are provided, the query window is `[now - 15m, now]`.
4141
# @option opts [String] :group_by Comma-separated list of fields to group connections by. The maximum number of group_by(s) is 10.
4242
# @option opts [String] :tags Comma-separated list of tags to filter connections by.
43+
# @option opts [String] :query Free-form search query using AND/OR/NOT operators, wildcards, and parentheses. When provided, takes precedence over the `tags` parameter.
4344
# @option opts [Integer] :limit The number of connections to be returned. The maximum value is 7500. The default is 100.
4445
# @return [Array<(SingleAggregatedConnectionResponseArray, Integer, Hash)>] SingleAggregatedConnectionResponseArray data, response status code and response headers
4546
def get_aggregated_connections_with_http_info(opts = {})
@@ -62,6 +63,7 @@ def get_aggregated_connections_with_http_info(opts = {})
6263
query_params[:'to'] = opts[:'to'] if !opts[:'to'].nil?
6364
query_params[:'group_by'] = opts[:'group_by'] if !opts[:'group_by'].nil?
6465
query_params[:'tags'] = opts[:'tags'] if !opts[:'tags'].nil?
66+
query_params[:'query'] = opts[:'query'] if !opts[:'query'].nil?
6567
query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil?
6668

6769
# header parameters
@@ -116,6 +118,7 @@ def get_aggregated_dns(opts = {})
116118
# @option opts [Integer] :to Unix timestamp (number of seconds since epoch) of the end of the query window. If not provided, the end of the query window is the current time. If neither `from` nor `to` are provided, the query window is `[now - 15m, now]`.
117119
# @option opts [String] :group_by Comma-separated list of fields to group DNS traffic by. The server side defaults to `network.dns_query` if unspecified. `server_ungrouped` may be used if groups are not desired. The maximum number of group_by(s) is 10.
118120
# @option opts [String] :tags Comma-separated list of tags to filter DNS traffic by.
121+
# @option opts [String] :query Free-form search query using AND/OR/NOT operators, wildcards, and parentheses. When provided, takes precedence over the `tags` parameter.
119122
# @option opts [Integer] :limit The number of aggregated DNS entries to be returned. The maximum value is 7500. The default is 100.
120123
# @return [Array<(SingleAggregatedDnsResponseArray, Integer, Hash)>] SingleAggregatedDnsResponseArray data, response status code and response headers
121124
def get_aggregated_dns_with_http_info(opts = {})
@@ -138,6 +141,7 @@ def get_aggregated_dns_with_http_info(opts = {})
138141
query_params[:'to'] = opts[:'to'] if !opts[:'to'].nil?
139142
query_params[:'group_by'] = opts[:'group_by'] if !opts[:'group_by'].nil?
140143
query_params[:'tags'] = opts[:'tags'] if !opts[:'tags'].nil?
144+
query_params[:'query'] = opts[:'query'] if !opts[:'query'].nil?
141145
query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil?
142146

143147
# header parameters

0 commit comments

Comments
 (0)