From 37cc640bedecc0c566f9edb6b26ef12f6fcc7cdb Mon Sep 17 00:00:00 2001 From: "ci.datadog-api-spec" Date: Mon, 1 Jun 2026 17:35:12 +0000 Subject: [PATCH] Regenerate client from commit dfe70f9 of spec repo --- .generator/schemas/v2/openapi.yaml | 12 ++++++++++++ features/scenarios_model_mapping.rb | 2 ++ .../v2/api/cloud_network_monitoring_api.rb | 4 ++++ 3 files changed, 18 insertions(+) diff --git a/.generator/schemas/v2/openapi.yaml b/.generator/schemas/v2/openapi.yaml index a3477e5791c5..c53a52a7be64 100644 --- a/.generator/schemas/v2/openapi.yaml +++ b/.generator/schemas/v2/openapi.yaml @@ -137240,6 +137240,12 @@ paths: name: tags schema: type: string + - description: Free-form search query using AND/OR/NOT operators, wildcards, and parentheses. When provided, takes precedence over the `tags` parameter. + example: "(client_team:networks OR client_team:platform) AND server_service:hucklebuck" + in: query + name: query + schema: + type: string - description: The number of connections to be returned. The maximum value is 7500. The default is 100. in: query name: limit @@ -137301,6 +137307,12 @@ paths: name: tags schema: type: string + - description: Free-form search query using AND/OR/NOT operators, wildcards, and parentheses. When provided, takes precedence over the `tags` parameter. + example: "(client_team:networks OR client_team:platform) AND server_service:hucklebuck" + in: query + name: query + schema: + type: string - description: The number of aggregated DNS entries to be returned. The maximum value is 7500. The default is 100. in: query name: limit diff --git a/features/scenarios_model_mapping.rb b/features/scenarios_model_mapping.rb index 920e80f058e0..fd812f868db5 100644 --- a/features/scenarios_model_mapping.rb +++ b/features/scenarios_model_mapping.rb @@ -3941,6 +3941,7 @@ "to" => "Integer", "group_by" => "String", "tags" => "String", + "query" => "String", "limit" => "Integer", }, "v2.GetAggregatedDns" => { @@ -3948,6 +3949,7 @@ "to" => "Integer", "group_by" => "String", "tags" => "String", + "query" => "String", "limit" => "Integer", }, "v2.DeleteScopesRestriction" => { diff --git a/lib/datadog_api_client/v2/api/cloud_network_monitoring_api.rb b/lib/datadog_api_client/v2/api/cloud_network_monitoring_api.rb index b1fe4c93ee44..dcacf1852809 100644 --- a/lib/datadog_api_client/v2/api/cloud_network_monitoring_api.rb +++ b/lib/datadog_api_client/v2/api/cloud_network_monitoring_api.rb @@ -40,6 +40,7 @@ def get_aggregated_connections(opts = {}) # @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]`. # @option opts [String] :group_by Comma-separated list of fields to group connections by. The maximum number of group_by(s) is 10. # @option opts [String] :tags Comma-separated list of tags to filter connections by. + # @option opts [String] :query Free-form search query using AND/OR/NOT operators, wildcards, and parentheses. When provided, takes precedence over the `tags` parameter. # @option opts [Integer] :limit The number of connections to be returned. The maximum value is 7500. The default is 100. # @return [Array<(SingleAggregatedConnectionResponseArray, Integer, Hash)>] SingleAggregatedConnectionResponseArray data, response status code and response headers def get_aggregated_connections_with_http_info(opts = {}) @@ -62,6 +63,7 @@ def get_aggregated_connections_with_http_info(opts = {}) query_params[:'to'] = opts[:'to'] if !opts[:'to'].nil? query_params[:'group_by'] = opts[:'group_by'] if !opts[:'group_by'].nil? query_params[:'tags'] = opts[:'tags'] if !opts[:'tags'].nil? + query_params[:'query'] = opts[:'query'] if !opts[:'query'].nil? query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil? # header parameters @@ -116,6 +118,7 @@ def get_aggregated_dns(opts = {}) # @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]`. # @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. # @option opts [String] :tags Comma-separated list of tags to filter DNS traffic by. + # @option opts [String] :query Free-form search query using AND/OR/NOT operators, wildcards, and parentheses. When provided, takes precedence over the `tags` parameter. # @option opts [Integer] :limit The number of aggregated DNS entries to be returned. The maximum value is 7500. The default is 100. # @return [Array<(SingleAggregatedDnsResponseArray, Integer, Hash)>] SingleAggregatedDnsResponseArray data, response status code and response headers def get_aggregated_dns_with_http_info(opts = {}) @@ -138,6 +141,7 @@ def get_aggregated_dns_with_http_info(opts = {}) query_params[:'to'] = opts[:'to'] if !opts[:'to'].nil? query_params[:'group_by'] = opts[:'group_by'] if !opts[:'group_by'].nil? query_params[:'tags'] = opts[:'tags'] if !opts[:'tags'].nil? + query_params[:'query'] = opts[:'query'] if !opts[:'query'].nil? query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil? # header parameters