Skip to content

Commit

Permalink
Regenerate client from commit 9bdb5ee6 of spec repo
Browse files Browse the repository at this point in the history
  • Loading branch information
ci.datadog-api-spec committed Mar 24, 2023
1 parent 9c3fc3c commit 340c1d7
Show file tree
Hide file tree
Showing 6 changed files with 49 additions and 12 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.4",
"regenerated": "2023-03-24 15:23:57.540156",
"spec_repo_commit": "cdf4007e"
"regenerated": "2023-03-24 16:41:55.214844",
"spec_repo_commit": "9bdb5ee6"
},
"v2": {
"apigentools_version": "1.6.4",
"regenerated": "2023-03-24 15:23:57.577337",
"spec_repo_commit": "cdf4007e"
"regenerated": "2023-03-24 16:41:55.227275",
"spec_repo_commit": "9bdb5ee6"
}
}
}
18 changes: 16 additions & 2 deletions .generator/schemas/v1/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3655,6 +3655,7 @@ components:
- container_usage
- cspm_containers_usage
- cspm_hosts_usage
- custom_ingested_timeseries_usage
- custom_timeseries_usage
- cws_containers_usage
- cws_hosts_usage
Expand Down Expand Up @@ -3686,6 +3687,7 @@ components:
- CONTAINER_USAGE
- CSPM_CONTAINERS_USAGE
- CSPM_HOSTS_USAGE
- CUSTOM_INGESTED_TIMESERIES_USAGE
- CUSTOM_TIMESERIES_USAGE
- CWS_CONTAINERS_USAGE
- CWS_HOSTS_USAGE
Expand Down Expand Up @@ -7123,6 +7125,8 @@ components:
- cspm_hosts_usage
- custom_timeseries_usage
- custom_timeseries_percentage
- custom_ingested_timeseries_usage
- custom_ingested_timeseries_percentage
- cws_containers_percentage
- cws_containers_usage
- cws_hosts_percentage
Expand Down Expand Up @@ -7184,6 +7188,8 @@ components:
- CSPM_HOSTS_USAGE
- CUSTOM_TIMESERIES_USAGE
- CUSTOM_TIMESERIES_PERCENTAGE
- CUSTOM_INGESTED_TIMESERIES_USAGE
- CUSTOM_INGESTED_TIMESERIES_PERCENTAGE
- CWS_CONTAINERS_PERCENTAGE
- CWS_CONTAINERS_USAGE
- CWS_HOSTS_PERCENTAGE
Expand Down Expand Up @@ -7308,12 +7314,20 @@ components:
description: The CSPM host usage by tag(s).
format: double
type: number
custom_ingested_timeseries_percentage:
description: The percentage of ingested custom metrics usage by tag(s).
format: double
type: number
custom_ingested_timeseries_usage:
description: The ingested custom metrics usage by tag(s).
format: double
type: number
custom_timeseries_percentage:
description: The percentage of custom metrics usage by tag(s).
description: The percentage of indexed custom metrics usage by tag(s).
format: double
type: number
custom_timeseries_usage:
description: The custom metrics usage by tag(s).
description: The indexed custom metrics usage by tag(s).
format: double
type: number
cws_containers_percentage:
Expand Down
6 changes: 3 additions & 3 deletions lib/datadog_api_client/v1/api/usage_metering_api.rb
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@ def get_hourly_usage_attribution_with_http_info(start_hr, usage_type, opts = {})
fail ArgumentError, "Missing the required parameter 'usage_type' when calling UsageMeteringAPI.get_hourly_usage_attribution"
end
# verify enum value
allowable_values = ['api_usage', 'apm_fargate_usage', 'apm_host_usage', 'appsec_fargate_usage', 'appsec_usage', 'browser_usage', 'container_excl_agent_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_ingested_logs_usage', 'estimated_indexed_spans_usage', 'estimated_ingested_spans_usage', 'fargate_usage', 'functions_usage', 'infra_host_usage', 'invocations_usage', 'npm_host_usage', 'profiled_container_usage', 'profiled_fargate_usage', 'profiled_host_usage', 'snmp_usage', 'estimated_rum_sessions_usage']
allowable_values = ['api_usage', 'apm_fargate_usage', 'apm_host_usage', 'appsec_fargate_usage', 'appsec_usage', 'browser_usage', 'container_excl_agent_usage', 'container_usage', 'cspm_containers_usage', 'cspm_hosts_usage', 'custom_ingested_timeseries_usage', 'custom_timeseries_usage', 'cws_containers_usage', 'cws_hosts_usage', 'dbm_hosts_usage', 'dbm_queries_usage', 'estimated_indexed_logs_usage', 'estimated_ingested_logs_usage', 'estimated_indexed_spans_usage', 'estimated_ingested_spans_usage', 'fargate_usage', 'functions_usage', 'infra_host_usage', 'invocations_usage', 'npm_host_usage', 'profiled_container_usage', 'profiled_fargate_usage', 'profiled_host_usage', 'snmp_usage', 'estimated_rum_sessions_usage']
if @api_client.config.client_side_validation && !allowable_values.include?(usage_type)
fail ArgumentError, "invalid value for \"usage_type\", must be one of #{allowable_values}"
end
Expand Down Expand Up @@ -472,15 +472,15 @@ def get_monthly_usage_attribution_with_http_info(start_month, fields, opts = {})
fail ArgumentError, "Missing the required parameter 'fields' when calling UsageMeteringAPI.get_monthly_usage_attribution"
end
# verify enum value
allowable_values = ['api_usage', 'api_percentage', 'apm_fargate_usage', 'apm_fargate_percentage', 'appsec_fargate_usage', 'appsec_fargate_percentage', 'apm_host_usage', 'apm_host_percentage', 'appsec_usage', 'appsec_percentage', 'browser_usage', 'browser_percentage', 'container_excl_agent_usage', 'container_excl_agent_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_ingested_logs_usage', 'estimated_ingested_logs_percentage', 'estimated_indexed_spans_usage', 'estimated_indexed_spans_percentage', 'estimated_ingested_spans_usage', 'estimated_ingested_spans_percentage', 'fargate_usage', 'fargate_percentage', 'functions_usage', 'functions_percentage', 'infra_host_usage', 'infra_host_percentage', 'invocations_usage', 'invocations_percentage', 'npm_host_usage', 'npm_host_percentage', 'profiled_container_usage', 'profiled_container_percentage', 'profiled_fargate_usage', 'profiled_fargate_percentage', 'profiled_host_usage', 'profiled_host_percentage', 'snmp_usage', 'snmp_percentage', 'estimated_rum_sessions_usage', 'estimated_rum_sessions_percentage', '*']
allowable_values = ['api_usage', 'api_percentage', 'apm_fargate_usage', 'apm_fargate_percentage', 'appsec_fargate_usage', 'appsec_fargate_percentage', 'apm_host_usage', 'apm_host_percentage', 'appsec_usage', 'appsec_percentage', 'browser_usage', 'browser_percentage', 'container_excl_agent_usage', 'container_excl_agent_percentage', 'container_usage', 'container_percentage', 'cspm_containers_percentage', 'cspm_containers_usage', 'cspm_hosts_percentage', 'cspm_hosts_usage', 'custom_timeseries_usage', 'custom_timeseries_percentage', 'custom_ingested_timeseries_usage', 'custom_ingested_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_ingested_logs_usage', 'estimated_ingested_logs_percentage', 'estimated_indexed_spans_usage', 'estimated_indexed_spans_percentage', 'estimated_ingested_spans_usage', 'estimated_ingested_spans_percentage', 'fargate_usage', 'fargate_percentage', 'functions_usage', 'functions_percentage', 'infra_host_usage', 'infra_host_percentage', 'invocations_usage', 'invocations_percentage', 'npm_host_usage', 'npm_host_percentage', 'profiled_container_usage', 'profiled_container_percentage', 'profiled_fargate_usage', 'profiled_fargate_percentage', 'profiled_host_usage', 'profiled_host_percentage', 'snmp_usage', 'snmp_percentage', 'estimated_rum_sessions_usage', 'estimated_rum_sessions_percentage', '*']
if @api_client.config.client_side_validation && !allowable_values.include?(fields)
fail ArgumentError, "invalid value for \"fields\", must be one of #{allowable_values}"
end
allowable_values = ['desc', 'asc']
if @api_client.config.client_side_validation && opts[:'sort_direction'] && !allowable_values.include?(opts[:'sort_direction'])
fail ArgumentError, "invalid value for \"sort_direction\", must be one of #{allowable_values}"
end
allowable_values = ['api_usage', 'api_percentage', 'apm_fargate_usage', 'apm_fargate_percentage', 'appsec_fargate_usage', 'appsec_fargate_percentage', 'apm_host_usage', 'apm_host_percentage', 'appsec_usage', 'appsec_percentage', 'browser_usage', 'browser_percentage', 'container_excl_agent_usage', 'container_excl_agent_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_ingested_logs_usage', 'estimated_ingested_logs_percentage', 'estimated_indexed_spans_usage', 'estimated_indexed_spans_percentage', 'estimated_ingested_spans_usage', 'estimated_ingested_spans_percentage', 'fargate_usage', 'fargate_percentage', 'functions_usage', 'functions_percentage', 'infra_host_usage', 'infra_host_percentage', 'invocations_usage', 'invocations_percentage', 'npm_host_usage', 'npm_host_percentage', 'profiled_container_usage', 'profiled_container_percentage', 'profiled_fargate_usage', 'profiled_fargate_percentage', 'profiled_host_usage', 'profiled_host_percentage', 'snmp_usage', 'snmp_percentage', 'estimated_rum_sessions_usage', 'estimated_rum_sessions_percentage', '*']
allowable_values = ['api_usage', 'api_percentage', 'apm_fargate_usage', 'apm_fargate_percentage', 'appsec_fargate_usage', 'appsec_fargate_percentage', 'apm_host_usage', 'apm_host_percentage', 'appsec_usage', 'appsec_percentage', 'browser_usage', 'browser_percentage', 'container_excl_agent_usage', 'container_excl_agent_percentage', 'container_usage', 'container_percentage', 'cspm_containers_percentage', 'cspm_containers_usage', 'cspm_hosts_percentage', 'cspm_hosts_usage', 'custom_timeseries_usage', 'custom_timeseries_percentage', 'custom_ingested_timeseries_usage', 'custom_ingested_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_ingested_logs_usage', 'estimated_ingested_logs_percentage', 'estimated_indexed_spans_usage', 'estimated_indexed_spans_percentage', 'estimated_ingested_spans_usage', 'estimated_ingested_spans_percentage', 'fargate_usage', 'fargate_percentage', 'functions_usage', 'functions_percentage', 'infra_host_usage', 'infra_host_percentage', 'invocations_usage', 'invocations_percentage', 'npm_host_usage', 'npm_host_percentage', 'profiled_container_usage', 'profiled_container_percentage', 'profiled_fargate_usage', 'profiled_fargate_percentage', 'profiled_host_usage', 'profiled_host_percentage', 'snmp_usage', 'snmp_percentage', 'estimated_rum_sessions_usage', 'estimated_rum_sessions_percentage', '*']
if @api_client.config.client_side_validation && opts[:'sort_name'] && !allowable_values.include?(opts[:'sort_name'])
fail ArgumentError, "invalid value for \"sort_name\", must be one of #{allowable_values}"
end
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ class HourlyUsageAttributionUsageType
CONTAINER_USAGE = "container_usage".freeze
CSPM_CONTAINERS_USAGE = "cspm_containers_usage".freeze
CSPM_HOSTS_USAGE = "cspm_hosts_usage".freeze
CUSTOM_INGESTED_TIMESERIES_USAGE = "custom_ingested_timeseries_usage".freeze
CUSTOM_TIMESERIES_USAGE = "custom_timeseries_usage".freeze
CWS_CONTAINERS_USAGE = "cws_containers_usage".freeze
CWS_HOSTS_USAGE = "cws_hosts_usage".freeze
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,8 @@ class MonthlyUsageAttributionSupportedMetrics
CSPM_HOSTS_USAGE = "cspm_hosts_usage".freeze
CUSTOM_TIMESERIES_USAGE = "custom_timeseries_usage".freeze
CUSTOM_TIMESERIES_PERCENTAGE = "custom_timeseries_percentage".freeze
CUSTOM_INGESTED_TIMESERIES_USAGE = "custom_ingested_timeseries_usage".freeze
CUSTOM_INGESTED_TIMESERIES_PERCENTAGE = "custom_ingested_timeseries_percentage".freeze
CWS_CONTAINERS_PERCENTAGE = "cws_containers_percentage".freeze
CWS_CONTAINERS_USAGE = "cws_containers_usage".freeze
CWS_HOSTS_PERCENTAGE = "cws_hosts_percentage".freeze
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -85,10 +85,16 @@ class MonthlyUsageAttributionValues
# The CSPM host usage by tag(s).
attr_accessor :cspm_hosts_usage

# The percentage of custom metrics usage by tag(s).
# The percentage of ingested custom metrics usage by tag(s).
attr_accessor :custom_ingested_timeseries_percentage

# The ingested custom metrics usage by tag(s).
attr_accessor :custom_ingested_timeseries_usage

# The percentage of indexed custom metrics usage by tag(s).
attr_accessor :custom_timeseries_percentage

# The custom metrics usage by tag(s).
# The indexed custom metrics usage by tag(s).
attr_accessor :custom_timeseries_usage

# The percentage of Cloud Workload Security container usage by tag(s).
Expand Down Expand Up @@ -223,6 +229,8 @@ def self.attribute_map
:'cspm_containers_usage' => :'cspm_containers_usage',
:'cspm_hosts_percentage' => :'cspm_hosts_percentage',
:'cspm_hosts_usage' => :'cspm_hosts_usage',
:'custom_ingested_timeseries_percentage' => :'custom_ingested_timeseries_percentage',
:'custom_ingested_timeseries_usage' => :'custom_ingested_timeseries_usage',
:'custom_timeseries_percentage' => :'custom_timeseries_percentage',
:'custom_timeseries_usage' => :'custom_timeseries_usage',
:'cws_containers_percentage' => :'cws_containers_percentage',
Expand Down Expand Up @@ -288,6 +296,8 @@ def self.openapi_types
:'cspm_containers_usage' => :'Float',
:'cspm_hosts_percentage' => :'Float',
:'cspm_hosts_usage' => :'Float',
:'custom_ingested_timeseries_percentage' => :'Float',
:'custom_ingested_timeseries_usage' => :'Float',
:'custom_timeseries_percentage' => :'Float',
:'custom_timeseries_usage' => :'Float',
:'cws_containers_percentage' => :'Float',
Expand Down Expand Up @@ -425,6 +435,14 @@ def initialize(attributes = {})
self.cspm_hosts_usage = attributes[:'cspm_hosts_usage']
end

if attributes.key?(:'custom_ingested_timeseries_percentage')
self.custom_ingested_timeseries_percentage = attributes[:'custom_ingested_timeseries_percentage']
end

if attributes.key?(:'custom_ingested_timeseries_usage')
self.custom_ingested_timeseries_usage = attributes[:'custom_ingested_timeseries_usage']
end

if attributes.key?(:'custom_timeseries_percentage')
self.custom_timeseries_percentage = attributes[:'custom_timeseries_percentage']
end
Expand Down Expand Up @@ -611,6 +629,8 @@ def ==(o)
cspm_containers_usage == o.cspm_containers_usage &&
cspm_hosts_percentage == o.cspm_hosts_percentage &&
cspm_hosts_usage == o.cspm_hosts_usage &&
custom_ingested_timeseries_percentage == o.custom_ingested_timeseries_percentage &&
custom_ingested_timeseries_usage == o.custom_ingested_timeseries_usage &&
custom_timeseries_percentage == o.custom_timeseries_percentage &&
custom_timeseries_usage == o.custom_timeseries_usage &&
cws_containers_percentage == o.cws_containers_percentage &&
Expand Down Expand Up @@ -655,7 +675,7 @@ def ==(o)
# @return [Integer] Hash code
# @!visibility private
def hash
[api_percentage, api_usage, apm_fargate_percentage, apm_fargate_usage, apm_host_percentage, apm_host_usage, appsec_fargate_percentage, appsec_fargate_usage, appsec_percentage, appsec_usage, browser_percentage, browser_usage, container_excl_agent_percentage, container_excl_agent_usage, container_percentage, container_usage, cspm_containers_percentage, cspm_containers_usage, cspm_hosts_percentage, cspm_hosts_usage, custom_timeseries_percentage, custom_timeseries_usage, 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_percentage, estimated_indexed_logs_usage, estimated_indexed_spans_percentage, estimated_indexed_spans_usage, estimated_ingested_logs_percentage, estimated_ingested_logs_usage, estimated_ingested_spans_percentage, estimated_ingested_spans_usage, estimated_rum_sessions_percentage, estimated_rum_sessions_usage, fargate_percentage, fargate_usage, functions_percentage, functions_usage, infra_host_percentage, infra_host_usage, invocations_percentage, invocations_usage, npm_host_percentage, npm_host_usage, profiled_container_percentage, profiled_container_usage, profiled_fargate_percentage, profiled_fargate_usage, profiled_host_percentage, profiled_host_usage, snmp_percentage, snmp_usage].hash
[api_percentage, api_usage, apm_fargate_percentage, apm_fargate_usage, apm_host_percentage, apm_host_usage, appsec_fargate_percentage, appsec_fargate_usage, appsec_percentage, appsec_usage, browser_percentage, browser_usage, container_excl_agent_percentage, container_excl_agent_usage, container_percentage, container_usage, cspm_containers_percentage, cspm_containers_usage, cspm_hosts_percentage, cspm_hosts_usage, custom_ingested_timeseries_percentage, custom_ingested_timeseries_usage, custom_timeseries_percentage, custom_timeseries_usage, 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_percentage, estimated_indexed_logs_usage, estimated_indexed_spans_percentage, estimated_indexed_spans_usage, estimated_ingested_logs_percentage, estimated_ingested_logs_usage, estimated_ingested_spans_percentage, estimated_ingested_spans_usage, estimated_rum_sessions_percentage, estimated_rum_sessions_usage, fargate_percentage, fargate_usage, functions_percentage, functions_usage, infra_host_percentage, infra_host_usage, invocations_percentage, invocations_usage, npm_host_percentage, npm_host_usage, profiled_container_percentage, profiled_container_usage, profiled_fargate_percentage, profiled_fargate_usage, profiled_host_percentage, profiled_host_usage, snmp_percentage, snmp_usage].hash
end
end
end

0 comments on commit 340c1d7

Please sign in to comment.