From 0ae826c3cac889d20a06d5d1fbf2a8af51d4b53c Mon Sep 17 00:00:00 2001 From: "ci.datadog-api-spec" Date: Tue, 12 Jul 2022 16:16:58 +0000 Subject: [PATCH] Regenerate client from commit 2d238f31 of spec repo --- .apigentools-info | 8 ++--- .generator/schemas/v1/openapi.yaml | 36 +++++++++++++++++++ .../v1/api/usage_metering_api.rb | 10 +++--- .../hourly_usage_attribution_usage_type.rb | 1 + ...hly_usage_attribution_supported_metrics.rb | 2 ++ .../monthly_usage_attribution_values.rb | 22 +++++++++++- .../v1/models/usage_attribution_sort.rb | 2 ++ .../usage_attribution_supported_metrics.rb | 2 ++ .../v1/models/usage_attribution_values.rb | 24 +++++++++++-- 9 files changed, 95 insertions(+), 12 deletions(-) diff --git a/.apigentools-info b/.apigentools-info index ee7464a4ee0d..3e0c3cd992cc 100644 --- a/.apigentools-info +++ b/.apigentools-info @@ -4,13 +4,13 @@ "spec_versions": { "v1": { "apigentools_version": "1.6.2", - "regenerated": "2022-07-11 17:47:05.327028", - "spec_repo_commit": "0b076011" + "regenerated": "2022-07-12 16:16:35.898577", + "spec_repo_commit": "2d238f31" }, "v2": { "apigentools_version": "1.6.2", - "regenerated": "2022-07-11 17:47:05.341949", - "spec_repo_commit": "0b076011" + "regenerated": "2022-07-12 16:16:35.910410", + "spec_repo_commit": "2d238f31" } } } \ No newline at end of file diff --git a/.generator/schemas/v1/openapi.yaml b/.generator/schemas/v1/openapi.yaml index 469bad4832fc..39e603e6c272 100644 --- a/.generator/schemas/v1/openapi.yaml +++ b/.generator/schemas/v1/openapi.yaml @@ -3638,6 +3638,7 @@ components: - dbm_queries_usage - estimated_indexed_logs_usage - estimated_indexed_spans_usage + - estimated_ingested_spans_usage - fargate_usage - functions_usage - indexed_logs_usage @@ -3663,6 +3664,7 @@ components: - DBM_QUERIES_USAGE - ESTIMATED_INDEXED_LOGS_USAGE - ESTIMATED_INDEXED_SPANS_USAGE + - ESTIMATED_INGESTED_SPANS_USAGE - FARGATE_USAGE - FUNCTIONS_USAGE - INDEXED_LOGS_USAGE @@ -6869,6 +6871,8 @@ components: - estimated_indexed_logs_percentage - estimated_indexed_spans_usage - estimated_indexed_spans_percentage + - estimated_ingested_spans_usage + - estimated_ingested_spans_percentage - fargate_usage - fargate_percentage - functions_usage @@ -6918,6 +6922,8 @@ components: - ESTIMATED_INDEXED_LOGS_PERCENTAGE - ESTIMATED_INDEXED_SPANS_USAGE - ESTIMATED_INDEXED_SPANS_PERCENTAGE + - ESTIMATED_INGESTED_SPANS_USAGE + - ESTIMATED_INGESTED_SPANS_PERCENTAGE - FARGATE_USAGE - FARGATE_PERCENTAGE - FUNCTIONS_USAGE @@ -7009,6 +7015,16 @@ components: in private beta. format: double type: number + estimated_ingested_spans_percentage: + description: The percentage of estimated ingested spans usage by tag(s). + This field is in private beta. + format: double + type: number + estimated_ingested_spans_usage: + description: The estimated ingested spans usage by tag(s). This field is + in private beta. + format: double + type: number fargate_percentage: description: The percentage of Fargate usage by tags. format: double @@ -13488,6 +13504,8 @@ components: - estimated_indexed_logs_percentage - estimated_indexed_spans_usage - estimated_indexed_spans_percentage + - estimated_ingested_spans_usage + - estimated_ingested_spans_percentage type: string x-enum-varnames: - API_PERCENTAGE @@ -13516,6 +13534,8 @@ components: - ESTIMATED_INDEXED_LOGS_PERCENTAGE - ESTIMATED_INDEXED_SPANS_USAGE - ESTIMATED_INDEXED_SPANS_PERCENTAGE + - ESTIMATED_INGESTED_SPANS_USAGE + - ESTIMATED_INGESTED_SPANS_PERCENTAGE UsageAttributionSupportedMetrics: description: Supported fields for usage attribution requests (valid requests contain one or more metrics, or `*` for all). @@ -13556,6 +13576,8 @@ components: - appsec_percentage - estimated_indexed_spans_usage - estimated_indexed_spans_percentage + - estimated_ingested_spans_usage + - estimated_ingested_spans_percentage - '*' type: string x-enum-varnames: @@ -13595,6 +13617,8 @@ components: - APPSEC_PERCENTAGE - ESTIMATED_INDEXED_SPANS_USAGE - ESTIMATED_INDEXED_SPANS_PERCENTAGE + - ESTIMATED_INGESTED_SPANS_USAGE + - ESTIMATED_INGESTED_SPANS_PERCENTAGE - ALL UsageAttributionTagNames: additionalProperties: @@ -13646,6 +13670,8 @@ components: appsec_percentage: description: The percentage of Application Security Monitoring host usage by tag(s). + format: double + type: number appsec_usage: description: The Application Security Monitoring host usage by tag(s). format: double @@ -13746,6 +13772,16 @@ components: is in private beta. format: double type: number + estimated_ingested_spans_percentage: + description: The percentage of estimated ingested spans usage by tag(s). + Note this field is in private beta. + format: double + type: number + estimated_ingested_spans_usage: + description: The estimated ingested spans usage by tag(s). Note this field + is in private beta. + format: double + type: number infra_host_percentage: description: The percentage of infrastructure host usage by tag(s). format: double diff --git a/lib/datadog_api_client/v1/api/usage_metering_api.rb b/lib/datadog_api_client/v1/api/usage_metering_api.rb index 4e908cab9fac..26123c36655a 100644 --- a/lib/datadog_api_client/v1/api/usage_metering_api.rb +++ b/lib/datadog_api_client/v1/api/usage_metering_api.rb @@ -164,7 +164,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_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'] + 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', 'estimated_ingested_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'] 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 @@ -509,7 +509,7 @@ 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_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', '*'] + 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', 'estimated_ingested_spans_usage', 'estimated_ingested_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', '*'] if @api_client.config.client_side_validation && !allowable_values.include?(fields) fail ArgumentError, "invalid value for \"fields\", must be one of #{allowable_values}" end @@ -517,7 +517,7 @@ def get_monthly_usage_attribution_with_http_info(start_month, fields, opts = {}) 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_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', '*'] + 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', 'estimated_ingested_spans_usage', 'estimated_ingested_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', '*'] 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 @@ -836,7 +836,7 @@ def get_usage_attribution_with_http_info(start_month, fields, opts = {}) fail ArgumentError, "Missing the required parameter 'fields' when calling UsageMeteringAPI.get_usage_attribution" end # verify enum value - allowable_values = ['custom_timeseries_usage', 'container_usage', 'snmp_percentage', 'apm_host_usage', 'browser_usage', 'npm_host_percentage', 'infra_host_usage', 'custom_timeseries_percentage', 'container_percentage', 'api_usage', 'apm_host_percentage', 'infra_host_percentage', 'snmp_usage', 'browser_percentage', 'api_percentage', 'npm_host_usage', 'lambda_functions_usage', 'lambda_functions_percentage', 'lambda_invocations_usage', 'lambda_invocations_percentage', 'fargate_usage', 'fargate_percentage', 'profiled_host_usage', 'profiled_host_percentage', 'profiled_container_usage', 'profiled_container_percentage', 'dbm_hosts_usage', 'dbm_hosts_percentage', 'dbm_queries_usage', 'dbm_queries_percentage', 'estimated_indexed_logs_usage', 'estimated_indexed_logs_percentage', 'appsec_usage', 'appsec_percentage', 'estimated_indexed_spans_usage', 'estimated_indexed_spans_percentage', '*'] + allowable_values = ['custom_timeseries_usage', 'container_usage', 'snmp_percentage', 'apm_host_usage', 'browser_usage', 'npm_host_percentage', 'infra_host_usage', 'custom_timeseries_percentage', 'container_percentage', 'api_usage', 'apm_host_percentage', 'infra_host_percentage', 'snmp_usage', 'browser_percentage', 'api_percentage', 'npm_host_usage', 'lambda_functions_usage', 'lambda_functions_percentage', 'lambda_invocations_usage', 'lambda_invocations_percentage', 'fargate_usage', 'fargate_percentage', 'profiled_host_usage', 'profiled_host_percentage', 'profiled_container_usage', 'profiled_container_percentage', 'dbm_hosts_usage', 'dbm_hosts_percentage', 'dbm_queries_usage', 'dbm_queries_percentage', 'estimated_indexed_logs_usage', 'estimated_indexed_logs_percentage', 'appsec_usage', 'appsec_percentage', 'estimated_indexed_spans_usage', 'estimated_indexed_spans_percentage', 'estimated_ingested_spans_usage', 'estimated_ingested_spans_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 @@ -844,7 +844,7 @@ def get_usage_attribution_with_http_info(start_month, fields, opts = {}) 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_percentage', 'snmp_usage', 'apm_host_usage', 'api_usage', 'appsec_usage', 'appsec_percentage', 'container_usage', 'custom_timeseries_percentage', 'container_percentage', 'apm_host_percentage', 'npm_host_percentage', 'browser_percentage', 'browser_usage', 'infra_host_percentage', 'snmp_percentage', 'npm_host_usage', 'infra_host_usage', 'custom_timeseries_usage', 'lambda_functions_usage', 'lambda_functions_percentage', 'lambda_invocations_usage', 'lambda_invocations_percentage', 'estimated_indexed_logs_usage', 'estimated_indexed_logs_percentage', 'estimated_indexed_spans_usage', 'estimated_indexed_spans_percentage'] + allowable_values = ['api_percentage', 'snmp_usage', 'apm_host_usage', 'api_usage', 'appsec_usage', 'appsec_percentage', 'container_usage', 'custom_timeseries_percentage', 'container_percentage', 'apm_host_percentage', 'npm_host_percentage', 'browser_percentage', 'browser_usage', 'infra_host_percentage', 'snmp_percentage', 'npm_host_usage', 'infra_host_usage', 'custom_timeseries_usage', 'lambda_functions_usage', 'lambda_functions_percentage', 'lambda_invocations_usage', 'lambda_invocations_percentage', 'estimated_indexed_logs_usage', 'estimated_indexed_logs_percentage', 'estimated_indexed_spans_usage', 'estimated_indexed_spans_percentage', 'estimated_ingested_spans_usage', 'estimated_ingested_spans_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 diff --git a/lib/datadog_api_client/v1/models/hourly_usage_attribution_usage_type.rb b/lib/datadog_api_client/v1/models/hourly_usage_attribution_usage_type.rb index de345f628477..316d8d637c50 100644 --- a/lib/datadog_api_client/v1/models/hourly_usage_attribution_usage_type.rb +++ b/lib/datadog_api_client/v1/models/hourly_usage_attribution_usage_type.rb @@ -35,6 +35,7 @@ class HourlyUsageAttributionUsageType DBM_QUERIES_USAGE = "dbm_queries_usage".freeze ESTIMATED_INDEXED_LOGS_USAGE = "estimated_indexed_logs_usage".freeze ESTIMATED_INDEXED_SPANS_USAGE = "estimated_indexed_spans_usage".freeze + ESTIMATED_INGESTED_SPANS_USAGE = "estimated_ingested_spans_usage".freeze FARGATE_USAGE = "fargate_usage".freeze FUNCTIONS_USAGE = "functions_usage".freeze INDEXED_LOGS_USAGE = "indexed_logs_usage".freeze diff --git a/lib/datadog_api_client/v1/models/monthly_usage_attribution_supported_metrics.rb b/lib/datadog_api_client/v1/models/monthly_usage_attribution_supported_metrics.rb index f3093553df41..180506fc60ff 100644 --- a/lib/datadog_api_client/v1/models/monthly_usage_attribution_supported_metrics.rb +++ b/lib/datadog_api_client/v1/models/monthly_usage_attribution_supported_metrics.rb @@ -49,6 +49,8 @@ class MonthlyUsageAttributionSupportedMetrics ESTIMATED_INDEXED_LOGS_PERCENTAGE = "estimated_indexed_logs_percentage".freeze ESTIMATED_INDEXED_SPANS_USAGE = "estimated_indexed_spans_usage".freeze ESTIMATED_INDEXED_SPANS_PERCENTAGE = "estimated_indexed_spans_percentage".freeze + ESTIMATED_INGESTED_SPANS_USAGE = "estimated_ingested_spans_usage".freeze + ESTIMATED_INGESTED_SPANS_PERCENTAGE = "estimated_ingested_spans_percentage".freeze FARGATE_USAGE = "fargate_usage".freeze FARGATE_PERCENTAGE = "fargate_percentage".freeze FUNCTIONS_USAGE = "functions_usage".freeze diff --git a/lib/datadog_api_client/v1/models/monthly_usage_attribution_values.rb b/lib/datadog_api_client/v1/models/monthly_usage_attribution_values.rb index cb66f37684c1..e80ba6c04442 100644 --- a/lib/datadog_api_client/v1/models/monthly_usage_attribution_values.rb +++ b/lib/datadog_api_client/v1/models/monthly_usage_attribution_values.rb @@ -73,6 +73,12 @@ class MonthlyUsageAttributionValues # The estimated indexed spans usage by tag(s). This field is in private beta. attr_accessor :estimated_indexed_spans_usage + # The percentage of estimated ingested spans usage by tag(s). This field is in private beta. + attr_accessor :estimated_ingested_spans_percentage + + # The estimated ingested spans usage by tag(s). This field is in private beta. + attr_accessor :estimated_ingested_spans_usage + # The percentage of Fargate usage by tags. attr_accessor :fargate_percentage @@ -147,6 +153,8 @@ def self.attribute_map :'estimated_indexed_logs_usage' => :'estimated_indexed_logs_usage', :'estimated_indexed_spans_percentage' => :'estimated_indexed_spans_percentage', :'estimated_indexed_spans_usage' => :'estimated_indexed_spans_usage', + :'estimated_ingested_spans_percentage' => :'estimated_ingested_spans_percentage', + :'estimated_ingested_spans_usage' => :'estimated_ingested_spans_usage', :'fargate_percentage' => :'fargate_percentage', :'fargate_usage' => :'fargate_usage', :'functions_percentage' => :'functions_percentage', @@ -194,6 +202,8 @@ def self.openapi_types :'estimated_indexed_logs_usage' => :'Float', :'estimated_indexed_spans_percentage' => :'Float', :'estimated_indexed_spans_usage' => :'Float', + :'estimated_ingested_spans_percentage' => :'Float', + :'estimated_ingested_spans_usage' => :'Float', :'fargate_percentage' => :'Float', :'fargate_usage' => :'Float', :'functions_percentage' => :'Float', @@ -302,6 +312,14 @@ def initialize(attributes = {}) self.estimated_indexed_spans_usage = attributes[:'estimated_indexed_spans_usage'] end + if attributes.key?(:'estimated_ingested_spans_percentage') + self.estimated_ingested_spans_percentage = attributes[:'estimated_ingested_spans_percentage'] + end + + if attributes.key?(:'estimated_ingested_spans_usage') + self.estimated_ingested_spans_usage = attributes[:'estimated_ingested_spans_usage'] + end + if attributes.key?(:'fargate_percentage') self.fargate_percentage = attributes[:'fargate_percentage'] end @@ -404,6 +422,8 @@ def ==(o) estimated_indexed_logs_usage == o.estimated_indexed_logs_usage && estimated_indexed_spans_percentage == o.estimated_indexed_spans_percentage && estimated_indexed_spans_usage == o.estimated_indexed_spans_usage && + estimated_ingested_spans_percentage == o.estimated_ingested_spans_percentage && + estimated_ingested_spans_usage == o.estimated_ingested_spans_usage && fargate_percentage == o.fargate_percentage && fargate_usage == o.fargate_usage && functions_percentage == o.functions_percentage && @@ -435,7 +455,7 @@ def eql?(o) # @return [Integer] Hash code # @!visibility private def hash - [api_percentage, api_usage, apm_host_percentage, apm_host_usage, appsec_percentage, appsec_usage, browser_percentage, browser_usage, container_percentage, container_usage, custom_timeseries_percentage, custom_timeseries_usage, estimated_indexed_logs_percentage, estimated_indexed_logs_usage, estimated_indexed_spans_percentage, estimated_indexed_spans_usage, fargate_percentage, fargate_usage, functions_percentage, functions_usage, indexed_logs_percentage, indexed_logs_usage, infra_host_percentage, infra_host_usage, invocations_percentage, invocations_usage, npm_host_percentage, npm_host_usage, profiled_container_percentage, profiled_container_usage, profiled_host_percentage, profiled_host_usage, snmp_percentage, snmp_usage].hash + [api_percentage, api_usage, apm_host_percentage, apm_host_usage, appsec_percentage, appsec_usage, browser_percentage, browser_usage, container_percentage, container_usage, custom_timeseries_percentage, custom_timeseries_usage, estimated_indexed_logs_percentage, estimated_indexed_logs_usage, estimated_indexed_spans_percentage, estimated_indexed_spans_usage, estimated_ingested_spans_percentage, estimated_ingested_spans_usage, fargate_percentage, fargate_usage, functions_percentage, functions_usage, indexed_logs_percentage, indexed_logs_usage, infra_host_percentage, infra_host_usage, invocations_percentage, invocations_usage, npm_host_percentage, npm_host_usage, profiled_container_percentage, profiled_container_usage, profiled_host_percentage, profiled_host_usage, snmp_percentage, snmp_usage].hash end end end diff --git a/lib/datadog_api_client/v1/models/usage_attribution_sort.rb b/lib/datadog_api_client/v1/models/usage_attribution_sort.rb index d46bee826d27..da0ab9d2d8d3 100644 --- a/lib/datadog_api_client/v1/models/usage_attribution_sort.rb +++ b/lib/datadog_api_client/v1/models/usage_attribution_sort.rb @@ -47,5 +47,7 @@ class UsageAttributionSort ESTIMATED_INDEXED_LOGS_PERCENTAGE = "estimated_indexed_logs_percentage".freeze ESTIMATED_INDEXED_SPANS_USAGE = "estimated_indexed_spans_usage".freeze ESTIMATED_INDEXED_SPANS_PERCENTAGE = "estimated_indexed_spans_percentage".freeze + ESTIMATED_INGESTED_SPANS_USAGE = "estimated_ingested_spans_usage".freeze + ESTIMATED_INGESTED_SPANS_PERCENTAGE = "estimated_ingested_spans_percentage".freeze end end diff --git a/lib/datadog_api_client/v1/models/usage_attribution_supported_metrics.rb b/lib/datadog_api_client/v1/models/usage_attribution_supported_metrics.rb index ae2c30080d75..dcd3b43af4d4 100644 --- a/lib/datadog_api_client/v1/models/usage_attribution_supported_metrics.rb +++ b/lib/datadog_api_client/v1/models/usage_attribution_supported_metrics.rb @@ -57,6 +57,8 @@ class UsageAttributionSupportedMetrics APPSEC_PERCENTAGE = "appsec_percentage".freeze ESTIMATED_INDEXED_SPANS_USAGE = "estimated_indexed_spans_usage".freeze ESTIMATED_INDEXED_SPANS_PERCENTAGE = "estimated_indexed_spans_percentage".freeze + ESTIMATED_INGESTED_SPANS_USAGE = "estimated_ingested_spans_usage".freeze + ESTIMATED_INGESTED_SPANS_PERCENTAGE = "estimated_ingested_spans_percentage".freeze ALL = "*".freeze end end diff --git a/lib/datadog_api_client/v1/models/usage_attribution_values.rb b/lib/datadog_api_client/v1/models/usage_attribution_values.rb index e2b6a4d8a797..2796a638f641 100644 --- a/lib/datadog_api_client/v1/models/usage_attribution_values.rb +++ b/lib/datadog_api_client/v1/models/usage_attribution_values.rb @@ -109,6 +109,12 @@ class UsageAttributionValues # The estimated indexed spans usage by tag(s). Note this field is in private beta. attr_accessor :estimated_indexed_spans_usage + # The percentage of estimated ingested spans usage by tag(s). Note this field is in private beta. + attr_accessor :estimated_ingested_spans_percentage + + # The estimated ingested spans usage by tag(s). Note this field is in private beta. + attr_accessor :estimated_ingested_spans_usage + # The percentage of infrastructure host usage by tag(s). attr_accessor :infra_host_percentage @@ -183,6 +189,8 @@ def self.attribute_map :'estimated_indexed_logs_usage' => :'estimated_indexed_logs_usage', :'estimated_indexed_spans_percentage' => :'estimated_indexed_spans_percentage', :'estimated_indexed_spans_usage' => :'estimated_indexed_spans_usage', + :'estimated_ingested_spans_percentage' => :'estimated_ingested_spans_percentage', + :'estimated_ingested_spans_usage' => :'estimated_ingested_spans_usage', :'infra_host_percentage' => :'infra_host_percentage', :'infra_host_usage' => :'infra_host_usage', :'lambda_functions_percentage' => :'lambda_functions_percentage', @@ -214,7 +222,7 @@ def self.openapi_types :'api_usage' => :'Float', :'apm_host_percentage' => :'Float', :'apm_host_usage' => :'Float', - :'appsec_percentage' => :'Object', + :'appsec_percentage' => :'Float', :'appsec_usage' => :'Float', :'browser_percentage' => :'Float', :'browser_usage' => :'Float', @@ -238,6 +246,8 @@ def self.openapi_types :'estimated_indexed_logs_usage' => :'Float', :'estimated_indexed_spans_percentage' => :'Float', :'estimated_indexed_spans_usage' => :'Float', + :'estimated_ingested_spans_percentage' => :'Float', + :'estimated_ingested_spans_usage' => :'Float', :'infra_host_percentage' => :'Float', :'infra_host_usage' => :'Float', :'lambda_functions_percentage' => :'Float', @@ -390,6 +400,14 @@ def initialize(attributes = {}) self.estimated_indexed_spans_usage = attributes[:'estimated_indexed_spans_usage'] end + if attributes.key?(:'estimated_ingested_spans_percentage') + self.estimated_ingested_spans_percentage = attributes[:'estimated_ingested_spans_percentage'] + end + + if attributes.key?(:'estimated_ingested_spans_usage') + self.estimated_ingested_spans_usage = attributes[:'estimated_ingested_spans_usage'] + end + if attributes.key?(:'infra_host_percentage') self.infra_host_percentage = attributes[:'infra_host_percentage'] end @@ -488,6 +506,8 @@ def ==(o) estimated_indexed_logs_usage == o.estimated_indexed_logs_usage && estimated_indexed_spans_percentage == o.estimated_indexed_spans_percentage && estimated_indexed_spans_usage == o.estimated_indexed_spans_usage && + estimated_ingested_spans_percentage == o.estimated_ingested_spans_percentage && + estimated_ingested_spans_usage == o.estimated_ingested_spans_usage && infra_host_percentage == o.infra_host_percentage && infra_host_usage == o.infra_host_usage && lambda_functions_percentage == o.lambda_functions_percentage && @@ -515,7 +535,7 @@ def eql?(o) # @return [Integer] Hash code # @!visibility private def hash - [api_percentage, api_usage, apm_host_percentage, apm_host_usage, appsec_percentage, appsec_usage, browser_percentage, browser_usage, container_percentage, container_usage, cspm_container_percentage, cspm_container_usage, cspm_host_percentage, cspm_host_usage, custom_timeseries_percentage, custom_timeseries_usage, cws_container_percentage, cws_container_usage, cws_host_percentage, cws_host_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, infra_host_percentage, infra_host_usage, lambda_functions_percentage, lambda_functions_usage, lambda_invocations_percentage, lambda_invocations_usage, npm_host_percentage, npm_host_usage, profiled_container_percentage, profiled_container_usage, profiled_hosts_percentage, profiled_hosts_usage, snmp_percentage, snmp_usage].hash + [api_percentage, api_usage, apm_host_percentage, apm_host_usage, appsec_percentage, appsec_usage, browser_percentage, browser_usage, container_percentage, container_usage, cspm_container_percentage, cspm_container_usage, cspm_host_percentage, cspm_host_usage, custom_timeseries_percentage, custom_timeseries_usage, cws_container_percentage, cws_container_usage, cws_host_percentage, cws_host_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_spans_percentage, estimated_ingested_spans_usage, infra_host_percentage, infra_host_usage, lambda_functions_percentage, lambda_functions_usage, lambda_invocations_percentage, lambda_invocations_usage, npm_host_percentage, npm_host_usage, profiled_container_percentage, profiled_container_usage, profiled_hosts_percentage, profiled_hosts_usage, snmp_percentage, snmp_usage].hash end end end