Skip to content

Commit

Permalink
Regenerate client from commit cb847cd2 of spec repo
Browse files Browse the repository at this point in the history
  • Loading branch information
ci.datadog-api-spec committed Feb 6, 2025
1 parent 2c9b212 commit 79f1031
Show file tree
Hide file tree
Showing 4 changed files with 17 additions and 6 deletions.
8 changes: 4 additions & 4 deletions .apigentools-info
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,13 @@
"spec_versions": {
"v1": {
"apigentools_version": "1.6.6",
"regenerated": "2025-02-06 14:57:02.955326",
"spec_repo_commit": "3c39fb0c"
"regenerated": "2025-02-06 17:26:30.820855",
"spec_repo_commit": "cb847cd2"
},
"v2": {
"apigentools_version": "1.6.6",
"regenerated": "2025-02-06 14:57:02.970438",
"spec_repo_commit": "3c39fb0c"
"regenerated": "2025-02-06 17:26:30.836240",
"spec_repo_commit": "cb847cd2"
}
}
}
10 changes: 9 additions & 1 deletion .generator/schemas/v2/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -40196,7 +40196,7 @@ paths:
required: false
schema:
type: boolean
- description: '(Beta) Filter custom metrics that have or have not been queried
- description: '(Preview) Filter custom metrics that have or have not been queried
in the specified window[seconds].

If no window is provided or the window is less than 2 hours, a default of
Expand All @@ -40217,6 +40217,14 @@ paths:
required: false
schema:
type: string
- description: (Preview) Filter metrics that are used in dashboards, monitors,
notebooks, SLOs.
example: true
in: query
name: filter[related_assets]
required: false
schema:
type: boolean
- description: 'The number of seconds of look back (from now) to apply to a
filter[tag] or filter[queried] query.

Expand Down
1 change: 1 addition & 0 deletions features/scenarios_model_mapping.rb
Original file line number Diff line number Diff line change
Expand Up @@ -1658,6 +1658,7 @@
"filter_include_percentiles" => "Boolean",
"filter_queried" => "Boolean",
"filter_tags" => "String",
"filter_related_assets" => "Boolean",
"window_seconds" => "Integer",
"page_size" => "Integer",
"page_cursor" => "String",
Expand Down
4 changes: 3 additions & 1 deletion lib/datadog_api_client/v2/api/metrics_api.rb
Original file line number Diff line number Diff line change
Expand Up @@ -612,8 +612,9 @@ def list_tag_configurations(opts = {})
# @option opts [String] :filter_tags_configured Filter tag configurations by configured tags.
# @option opts [MetricTagConfigurationMetricTypeCategory] :filter_metric_type Filter metrics by metric type.
# @option opts [Boolean] :filter_include_percentiles Filter distributions with additional percentile aggregations enabled or disabled.
# @option opts [Boolean] :filter_queried (Beta) Filter custom metrics that have or have not been queried in the specified window[seconds]. If no window is provided or the window is less than 2 hours, a default of 2 hours will be applied.
# @option opts [Boolean] :filter_queried (Preview) Filter custom metrics that have or have not been queried in the specified window[seconds]. If no window is provided or the window is less than 2 hours, a default of 2 hours will be applied.
# @option opts [String] :filter_tags Filter metrics that have been submitted with the given tags. Supports boolean and wildcard expressions. Can only be combined with the filter[queried] filter.
# @option opts [Boolean] :filter_related_assets (Preview) Filter metrics that are used in dashboards, monitors, notebooks, SLOs.
# @option opts [Integer] :window_seconds The number of seconds of look back (from now) to apply to a filter[tag] or filter[queried] query. Default value is 3600 (1 hour), maximum value is 2,592,000 (30 days).
# @option opts [Integer] :page_size Maximum number of results returned.
# @option opts [String] :page_cursor String to query the next page of results. This key is provided with each valid response from the API in `meta.pagination.next_cursor`. Once the `meta.pagination.next_cursor` key is null, all pages have been retrieved.
Expand Down Expand Up @@ -644,6 +645,7 @@ def list_tag_configurations_with_http_info(opts = {})
query_params[:'filter[include_percentiles]'] = opts[:'filter_include_percentiles'] if !opts[:'filter_include_percentiles'].nil?
query_params[:'filter[queried]'] = opts[:'filter_queried'] if !opts[:'filter_queried'].nil?
query_params[:'filter[tags]'] = opts[:'filter_tags'] if !opts[:'filter_tags'].nil?
query_params[:'filter[related_assets]'] = opts[:'filter_related_assets'] if !opts[:'filter_related_assets'].nil?
query_params[:'window[seconds]'] = opts[:'window_seconds'] if !opts[:'window_seconds'].nil?
query_params[:'page[size]'] = opts[:'page_size'] if !opts[:'page_size'].nil?
query_params[:'page[cursor]'] = opts[:'page_cursor'] if !opts[:'page_cursor'].nil?
Expand Down

0 comments on commit 79f1031

Please sign in to comment.