Skip to content

Commit 2027aef

Browse files
author
ci.datadog-api-spec
committed
Regenerate client from commit 713cd02c of spec repo
1 parent fdd821f commit 2027aef

File tree

5 files changed

+61
-7
lines changed

5 files changed

+61
-7
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.2",
7-
"regenerated": "2022-07-01 08:41:01.145047",
8-
"spec_repo_commit": "be2f0c5e"
7+
"regenerated": "2022-07-01 20:48:55.794425",
8+
"spec_repo_commit": "713cd02c"
99
},
1010
"v2": {
1111
"apigentools_version": "1.6.2",
12-
"regenerated": "2022-07-01 08:41:01.157440",
13-
"spec_repo_commit": "be2f0c5e"
12+
"regenerated": "2022-07-01 20:48:55.806279",
13+
"spec_repo_commit": "713cd02c"
1414
}
1515
}
1616
}

.generator/schemas/v1/openapi.yaml

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3629,7 +3629,13 @@ components:
36293629
- appsec_usage
36303630
- browser_usage
36313631
- container_usage
3632+
- cspm_containers_usage
3633+
- cspm_hosts_usage
36323634
- custom_timeseries_usage
3635+
- cws_containers_usage
3636+
- cws_hosts_usage
3637+
- dbm_hosts_usage
3638+
- dbm_queries_usage
36333639
- estimated_indexed_logs_usage
36343640
- estimated_indexed_spans_usage
36353641
- fargate_usage
@@ -3648,7 +3654,13 @@ components:
36483654
- APPSEC_USAGE
36493655
- BROWSER_USAGE
36503656
- CONTAINER_USAGE
3657+
- CSPM_CONTAINERS_USAGE
3658+
- CSPM_HOSTS_USAGE
36513659
- CUSTOM_TIMESERIES_USAGE
3660+
- CWS_CONTAINERS_USAGE
3661+
- CWS_HOSTS_USAGE
3662+
- DBM_HOSTS_USAGE
3663+
- DBM_QUERIES_USAGE
36523664
- ESTIMATED_INDEXED_LOGS_USAGE
36533665
- ESTIMATED_INDEXED_SPANS_USAGE
36543666
- FARGATE_USAGE
@@ -6839,8 +6851,20 @@ components:
68396851
- browser_percentage
68406852
- container_usage
68416853
- container_percentage
6854+
- cspm_containers_percentage
6855+
- cspm_containers_usage
6856+
- cspm_hosts_percentage
6857+
- cspm_hosts_usage
68426858
- custom_timeseries_usage
68436859
- custom_timeseries_percentage
6860+
- cws_containers_percentage
6861+
- cws_containers_usage
6862+
- cws_hosts_percentage
6863+
- cws_hosts_usage
6864+
- dbm_hosts_percentage
6865+
- dbm_hosts_usage
6866+
- dbm_queries_percentage
6867+
- dbm_queries_usage
68446868
- estimated_indexed_logs_usage
68456869
- estimated_indexed_logs_percentage
68466870
- estimated_indexed_spans_usage
@@ -6876,8 +6900,20 @@ components:
68766900
- BROWSER_PERCENTAGE
68776901
- CONTAINER_USAGE
68786902
- CONTAINER_PERCENTAGE
6903+
- CSPM_CONTAINERS_PERCENTAGE
6904+
- CSPM_CONTAINERS_USAGE
6905+
- CSPM_HOSTS_PERCENTAGE
6906+
- CSPM_HOSTS_USAGE
68796907
- CUSTOM_TIMESERIES_USAGE
68806908
- CUSTOM_TIMESERIES_PERCENTAGE
6909+
- CWS_CONTAINERS_PERCENTAGE
6910+
- CWS_CONTAINERS_USAGE
6911+
- CWS_HOSTS_PERCENTAGE
6912+
- CWS_HOSTS_USAGE
6913+
- DBM_HOSTS_PERCENTAGE
6914+
- DBM_HOSTS_USAGE
6915+
- DBM_QUERIES_PERCENTAGE
6916+
- DBM_QUERIES_USAGE
68816917
- ESTIMATED_INDEXED_LOGS_USAGE
68826918
- ESTIMATED_INDEXED_LOGS_PERCENTAGE
68836919
- ESTIMATED_INDEXED_SPANS_USAGE

lib/datadog_api_client/v1/api/usage_metering_api.rb

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -164,7 +164,7 @@ def get_hourly_usage_attribution_with_http_info(start_hr, usage_type, opts = {})
164164
fail ArgumentError, "Missing the required parameter 'usage_type' when calling UsageMeteringAPI.get_hourly_usage_attribution"
165165
end
166166
# verify enum value
167-
allowable_values = ['api_usage', 'apm_host_usage', 'appsec_usage', 'browser_usage', 'container_usage', 'custom_timeseries_usage', 'estimated_indexed_logs_usage', 'estimated_indexed_spans_usage', 'fargate_usage', 'functions_usage', 'indexed_logs_usage', 'infra_host_usage', 'invocations_usage', 'npm_host_usage', 'profiled_container_usage', 'profiled_host_usage', 'snmp_usage']
167+
allowable_values = ['api_usage', 'apm_host_usage', 'appsec_usage', 'browser_usage', 'container_usage', 'cspm_containers_usage', 'cspm_hosts_usage', 'custom_timeseries_usage', 'cws_containers_usage', 'cws_hosts_usage', 'dbm_hosts_usage', 'dbm_queries_usage', 'estimated_indexed_logs_usage', 'estimated_indexed_spans_usage', 'fargate_usage', 'functions_usage', 'indexed_logs_usage', 'infra_host_usage', 'invocations_usage', 'npm_host_usage', 'profiled_container_usage', 'profiled_host_usage', 'snmp_usage']
168168
if @api_client.config.client_side_validation && !allowable_values.include?(usage_type)
169169
fail ArgumentError, "invalid value for \"usage_type\", must be one of #{allowable_values}"
170170
end
@@ -509,15 +509,15 @@ def get_monthly_usage_attribution_with_http_info(start_month, fields, opts = {})
509509
fail ArgumentError, "Missing the required parameter 'fields' when calling UsageMeteringAPI.get_monthly_usage_attribution"
510510
end
511511
# verify enum value
512-
allowable_values = ['api_usage', 'api_percentage', 'apm_host_usage', 'apm_host_percentage', 'appsec_usage', 'appsec_percentage', 'browser_usage', 'browser_percentage', 'container_usage', 'container_percentage', 'custom_timeseries_usage', 'custom_timeseries_percentage', 'estimated_indexed_logs_usage', 'estimated_indexed_logs_percentage', 'estimated_indexed_spans_usage', 'estimated_indexed_spans_percentage', 'fargate_usage', 'fargate_percentage', 'functions_usage', 'functions_percentage', 'indexed_logs_usage', 'indexed_logs_percentage', 'infra_host_usage', 'infra_host_percentage', 'invocations_usage', 'invocations_percentage', 'npm_host_usage', 'npm_host_percentage', 'profiled_container_usage', 'profiled_container_percentage', 'profiled_host_usage', 'profiled_host_percentage', 'snmp_usage', 'snmp_percentage', '*']
512+
allowable_values = ['api_usage', 'api_percentage', 'apm_host_usage', 'apm_host_percentage', 'appsec_usage', 'appsec_percentage', 'browser_usage', 'browser_percentage', 'container_usage', 'container_percentage', 'cspm_containers_percentage', 'cspm_containers_usage', 'cspm_hosts_percentage', 'cspm_hosts_usage', 'custom_timeseries_usage', 'custom_timeseries_percentage', 'cws_containers_percentage', 'cws_containers_usage', 'cws_hosts_percentage', 'cws_hosts_usage', 'dbm_hosts_percentage', 'dbm_hosts_usage', 'dbm_queries_percentage', 'dbm_queries_usage', 'estimated_indexed_logs_usage', 'estimated_indexed_logs_percentage', 'estimated_indexed_spans_usage', 'estimated_indexed_spans_percentage', 'fargate_usage', 'fargate_percentage', 'functions_usage', 'functions_percentage', 'indexed_logs_usage', 'indexed_logs_percentage', 'infra_host_usage', 'infra_host_percentage', 'invocations_usage', 'invocations_percentage', 'npm_host_usage', 'npm_host_percentage', 'profiled_container_usage', 'profiled_container_percentage', 'profiled_host_usage', 'profiled_host_percentage', 'snmp_usage', 'snmp_percentage', '*']
513513
if @api_client.config.client_side_validation && !allowable_values.include?(fields)
514514
fail ArgumentError, "invalid value for \"fields\", must be one of #{allowable_values}"
515515
end
516516
allowable_values = ['desc', 'asc']
517517
if @api_client.config.client_side_validation && opts[:'sort_direction'] && !allowable_values.include?(opts[:'sort_direction'])
518518
fail ArgumentError, "invalid value for \"sort_direction\", must be one of #{allowable_values}"
519519
end
520-
allowable_values = ['api_usage', 'api_percentage', 'apm_host_usage', 'apm_host_percentage', 'appsec_usage', 'appsec_percentage', 'browser_usage', 'browser_percentage', 'container_usage', 'container_percentage', 'custom_timeseries_usage', 'custom_timeseries_percentage', 'estimated_indexed_logs_usage', 'estimated_indexed_logs_percentage', 'estimated_indexed_spans_usage', 'estimated_indexed_spans_percentage', 'fargate_usage', 'fargate_percentage', 'functions_usage', 'functions_percentage', 'indexed_logs_usage', 'indexed_logs_percentage', 'infra_host_usage', 'infra_host_percentage', 'invocations_usage', 'invocations_percentage', 'npm_host_usage', 'npm_host_percentage', 'profiled_container_usage', 'profiled_container_percentage', 'profiled_host_usage', 'profiled_host_percentage', 'snmp_usage', 'snmp_percentage', '*']
520+
allowable_values = ['api_usage', 'api_percentage', 'apm_host_usage', 'apm_host_percentage', 'appsec_usage', 'appsec_percentage', 'browser_usage', 'browser_percentage', 'container_usage', 'container_percentage', 'cspm_containers_percentage', 'cspm_containers_usage', 'cspm_hosts_percentage', 'cspm_hosts_usage', 'custom_timeseries_usage', 'custom_timeseries_percentage', 'cws_containers_percentage', 'cws_containers_usage', 'cws_hosts_percentage', 'cws_hosts_usage', 'dbm_hosts_percentage', 'dbm_hosts_usage', 'dbm_queries_percentage', 'dbm_queries_usage', 'estimated_indexed_logs_usage', 'estimated_indexed_logs_percentage', 'estimated_indexed_spans_usage', 'estimated_indexed_spans_percentage', 'fargate_usage', 'fargate_percentage', 'functions_usage', 'functions_percentage', 'indexed_logs_usage', 'indexed_logs_percentage', 'infra_host_usage', 'infra_host_percentage', 'invocations_usage', 'invocations_percentage', 'npm_host_usage', 'npm_host_percentage', 'profiled_container_usage', 'profiled_container_percentage', 'profiled_host_usage', 'profiled_host_percentage', 'snmp_usage', 'snmp_percentage', '*']
521521
if @api_client.config.client_side_validation && opts[:'sort_name'] && !allowable_values.include?(opts[:'sort_name'])
522522
fail ArgumentError, "invalid value for \"sort_name\", must be one of #{allowable_values}"
523523
end

lib/datadog_api_client/v1/models/hourly_usage_attribution_usage_type.rb

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,13 @@ class HourlyUsageAttributionUsageType
2626
APPSEC_USAGE = "appsec_usage".freeze
2727
BROWSER_USAGE = "browser_usage".freeze
2828
CONTAINER_USAGE = "container_usage".freeze
29+
CSPM_CONTAINERS_USAGE = "cspm_containers_usage".freeze
30+
CSPM_HOSTS_USAGE = "cspm_hosts_usage".freeze
2931
CUSTOM_TIMESERIES_USAGE = "custom_timeseries_usage".freeze
32+
CWS_CONTAINERS_USAGE = "cws_containers_usage".freeze
33+
CWS_HOSTS_USAGE = "cws_hosts_usage".freeze
34+
DBM_HOSTS_USAGE = "dbm_hosts_usage".freeze
35+
DBM_QUERIES_USAGE = "dbm_queries_usage".freeze
3036
ESTIMATED_INDEXED_LOGS_USAGE = "estimated_indexed_logs_usage".freeze
3137
ESTIMATED_INDEXED_SPANS_USAGE = "estimated_indexed_spans_usage".freeze
3238
FARGATE_USAGE = "fargate_usage".freeze

lib/datadog_api_client/v1/models/monthly_usage_attribution_supported_metrics.rb

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,20 @@ class MonthlyUsageAttributionSupportedMetrics
3131
BROWSER_PERCENTAGE = "browser_percentage".freeze
3232
CONTAINER_USAGE = "container_usage".freeze
3333
CONTAINER_PERCENTAGE = "container_percentage".freeze
34+
CSPM_CONTAINERS_PERCENTAGE = "cspm_containers_percentage".freeze
35+
CSPM_CONTAINERS_USAGE = "cspm_containers_usage".freeze
36+
CSPM_HOSTS_PERCENTAGE = "cspm_hosts_percentage".freeze
37+
CSPM_HOSTS_USAGE = "cspm_hosts_usage".freeze
3438
CUSTOM_TIMESERIES_USAGE = "custom_timeseries_usage".freeze
3539
CUSTOM_TIMESERIES_PERCENTAGE = "custom_timeseries_percentage".freeze
40+
CWS_CONTAINERS_PERCENTAGE = "cws_containers_percentage".freeze
41+
CWS_CONTAINERS_USAGE = "cws_containers_usage".freeze
42+
CWS_HOSTS_PERCENTAGE = "cws_hosts_percentage".freeze
43+
CWS_HOSTS_USAGE = "cws_hosts_usage".freeze
44+
DBM_HOSTS_PERCENTAGE = "dbm_hosts_percentage".freeze
45+
DBM_HOSTS_USAGE = "dbm_hosts_usage".freeze
46+
DBM_QUERIES_PERCENTAGE = "dbm_queries_percentage".freeze
47+
DBM_QUERIES_USAGE = "dbm_queries_usage".freeze
3648
ESTIMATED_INDEXED_LOGS_USAGE = "estimated_indexed_logs_usage".freeze
3749
ESTIMATED_INDEXED_LOGS_PERCENTAGE = "estimated_indexed_logs_percentage".freeze
3850
ESTIMATED_INDEXED_SPANS_USAGE = "estimated_indexed_spans_usage".freeze

0 commit comments

Comments
 (0)