From df41ff55c9c7f440acb2d63d56542f72517ca826 Mon Sep 17 00:00:00 2001 From: "ci.datadog-api-spec" Date: Mon, 29 Aug 2022 14:56:39 +0000 Subject: [PATCH] Regenerate client from commit 71afb1ee of spec repo --- .apigentools-info | 8 ++--- .generator/schemas/v1/openapi.yaml | 34 +++++++++++++++++++ .../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 | 22 +++++++++++- 9 files changed, 92 insertions(+), 11 deletions(-) diff --git a/.apigentools-info b/.apigentools-info index a28c77b912ee..f2d610cf45e3 100644 --- a/.apigentools-info +++ b/.apigentools-info @@ -4,13 +4,13 @@ "spec_versions": { "v1": { "apigentools_version": "1.6.4", - "regenerated": "2022-08-26 14:03:14.079315", - "spec_repo_commit": "3f049059" + "regenerated": "2022-08-29 14:55:52.170253", + "spec_repo_commit": "71afb1ee" }, "v2": { "apigentools_version": "1.6.4", - "regenerated": "2022-08-26 14:03:14.095520", - "spec_repo_commit": "3f049059" + "regenerated": "2022-08-29 14:55:52.183301", + "spec_repo_commit": "71afb1ee" } } } \ No newline at end of file diff --git a/.generator/schemas/v1/openapi.yaml b/.generator/schemas/v1/openapi.yaml index 2693b1f73179..722d946151d2 100644 --- a/.generator/schemas/v1/openapi.yaml +++ b/.generator/schemas/v1/openapi.yaml @@ -3637,6 +3637,7 @@ components: - dbm_hosts_usage - dbm_queries_usage - estimated_indexed_logs_usage + - estimated_ingested_logs_usage - estimated_indexed_spans_usage - estimated_ingested_spans_usage - fargate_usage @@ -3663,6 +3664,7 @@ components: - DBM_HOSTS_USAGE - DBM_QUERIES_USAGE - ESTIMATED_INDEXED_LOGS_USAGE + - ESTIMATED_INGESTED_LOGS_USAGE - ESTIMATED_INDEXED_SPANS_USAGE - ESTIMATED_INGESTED_SPANS_USAGE - FARGATE_USAGE @@ -6888,6 +6890,8 @@ components: - 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 @@ -6939,6 +6943,8 @@ components: - 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 @@ -7034,6 +7040,16 @@ components: in private beta. format: double type: number + estimated_ingested_logs_percentage: + description: The percentage of estimated live ingested logs usage by tag(s). + This field is in private beta. + format: double + type: number + estimated_ingested_logs_usage: + description: The estimated live ingested logs usage by tag(s). This field + is 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. @@ -13585,6 +13601,8 @@ components: - lambda_invocations_percentage - 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 @@ -13615,6 +13633,8 @@ components: - LAMBDA_INVOCATIONS_PERCENTAGE - 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 @@ -13655,6 +13675,8 @@ components: - dbm_queries_percentage - estimated_indexed_logs_usage - estimated_indexed_logs_percentage + - estimated_ingested_logs_usage + - estimated_ingested_logs_percentage - appsec_usage - appsec_percentage - estimated_indexed_spans_usage @@ -13696,6 +13718,8 @@ components: - DBM_QUERIES_PERCENTAGE - ESTIMATED_INDEXED_LOGS_USAGE - ESTIMATED_INDEXED_LOGS_PERCENTAGE + - ESTIMATED_INGESTED_LOGS_USAGE + - ESTIMATED_INGESTED_LOGS_PERCENTAGE - APPSEC_USAGE - APPSEC_PERCENTAGE - ESTIMATED_INDEXED_SPANS_USAGE @@ -13855,6 +13879,16 @@ components: is in private beta. format: double type: number + estimated_ingested_logs_percentage: + description: The percentage of estimated live ingested logs usage by tag(s). + Note this field is in private beta. + format: double + type: number + estimated_ingested_logs_usage: + description: The estimated live ingested logs usage by tag(s). Note this + field 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. 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 4df6c3621bb8..c93e41d98c36 100644 --- a/lib/datadog_api_client/v1/api/usage_metering_api.rb +++ b/lib/datadog_api_client/v1/api/usage_metering_api.rb @@ -149,7 +149,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', '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'] + 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_ingested_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 @@ -466,7 +466,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', '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', '*'] + 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_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', '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 @@ -474,7 +474,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', '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', '*'] + 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_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', '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 @@ -768,7 +768,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', 'estimated_ingested_spans_usage', 'estimated_ingested_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', 'estimated_ingested_logs_usage', 'estimated_ingested_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 @@ -776,7 +776,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', 'estimated_ingested_spans_usage', 'estimated_ingested_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_ingested_logs_usage', 'estimated_ingested_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 316d8d637c50..8ad42fbdb506 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 @@ -34,6 +34,7 @@ class HourlyUsageAttributionUsageType DBM_HOSTS_USAGE = "dbm_hosts_usage".freeze DBM_QUERIES_USAGE = "dbm_queries_usage".freeze ESTIMATED_INDEXED_LOGS_USAGE = "estimated_indexed_logs_usage".freeze + ESTIMATED_INGESTED_LOGS_USAGE = "estimated_ingested_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 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 180506fc60ff..8904920742f0 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 @@ -47,6 +47,8 @@ class MonthlyUsageAttributionSupportedMetrics DBM_QUERIES_USAGE = "dbm_queries_usage".freeze ESTIMATED_INDEXED_LOGS_USAGE = "estimated_indexed_logs_usage".freeze ESTIMATED_INDEXED_LOGS_PERCENTAGE = "estimated_indexed_logs_percentage".freeze + ESTIMATED_INGESTED_LOGS_USAGE = "estimated_ingested_logs_usage".freeze + ESTIMATED_INGESTED_LOGS_PERCENTAGE = "estimated_ingested_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 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 e80ba6c04442..afc319c3e9c5 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 live ingested logs usage by tag(s). This field is in private beta. + attr_accessor :estimated_ingested_logs_percentage + + # The estimated live ingested logs usage by tag(s). This field is in private beta. + attr_accessor :estimated_ingested_logs_usage + # The percentage of estimated ingested spans usage by tag(s). This field is in private beta. attr_accessor :estimated_ingested_spans_percentage @@ -153,6 +159,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_logs_percentage' => :'estimated_ingested_logs_percentage', + :'estimated_ingested_logs_usage' => :'estimated_ingested_logs_usage', :'estimated_ingested_spans_percentage' => :'estimated_ingested_spans_percentage', :'estimated_ingested_spans_usage' => :'estimated_ingested_spans_usage', :'fargate_percentage' => :'fargate_percentage', @@ -202,6 +210,8 @@ def self.openapi_types :'estimated_indexed_logs_usage' => :'Float', :'estimated_indexed_spans_percentage' => :'Float', :'estimated_indexed_spans_usage' => :'Float', + :'estimated_ingested_logs_percentage' => :'Float', + :'estimated_ingested_logs_usage' => :'Float', :'estimated_ingested_spans_percentage' => :'Float', :'estimated_ingested_spans_usage' => :'Float', :'fargate_percentage' => :'Float', @@ -312,6 +322,14 @@ def initialize(attributes = {}) self.estimated_indexed_spans_usage = attributes[:'estimated_indexed_spans_usage'] end + if attributes.key?(:'estimated_ingested_logs_percentage') + self.estimated_ingested_logs_percentage = attributes[:'estimated_ingested_logs_percentage'] + end + + if attributes.key?(:'estimated_ingested_logs_usage') + self.estimated_ingested_logs_usage = attributes[:'estimated_ingested_logs_usage'] + end + if attributes.key?(:'estimated_ingested_spans_percentage') self.estimated_ingested_spans_percentage = attributes[:'estimated_ingested_spans_percentage'] end @@ -422,6 +440,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_logs_percentage == o.estimated_ingested_logs_percentage && + estimated_ingested_logs_usage == o.estimated_ingested_logs_usage && estimated_ingested_spans_percentage == o.estimated_ingested_spans_percentage && estimated_ingested_spans_usage == o.estimated_ingested_spans_usage && fargate_percentage == o.fargate_percentage && @@ -455,7 +475,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, 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 + [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_logs_percentage, estimated_ingested_logs_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 da0ab9d2d8d3..17d365a0fb01 100644 --- a/lib/datadog_api_client/v1/models/usage_attribution_sort.rb +++ b/lib/datadog_api_client/v1/models/usage_attribution_sort.rb @@ -45,6 +45,8 @@ class UsageAttributionSort LAMBDA_INVOCATIONS_PERCENTAGE = "lambda_invocations_percentage".freeze ESTIMATED_INDEXED_LOGS_USAGE = "estimated_indexed_logs_usage".freeze ESTIMATED_INDEXED_LOGS_PERCENTAGE = "estimated_indexed_logs_percentage".freeze + ESTIMATED_INGESTED_LOGS_USAGE = "estimated_ingested_logs_usage".freeze + ESTIMATED_INGESTED_LOGS_PERCENTAGE = "estimated_ingested_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 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 dcd3b43af4d4..92ed2dcc9020 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 @@ -53,6 +53,8 @@ class UsageAttributionSupportedMetrics DBM_QUERIES_PERCENTAGE = "dbm_queries_percentage".freeze ESTIMATED_INDEXED_LOGS_USAGE = "estimated_indexed_logs_usage".freeze ESTIMATED_INDEXED_LOGS_PERCENTAGE = "estimated_indexed_logs_percentage".freeze + ESTIMATED_INGESTED_LOGS_USAGE = "estimated_ingested_logs_usage".freeze + ESTIMATED_INGESTED_LOGS_PERCENTAGE = "estimated_ingested_logs_percentage".freeze APPSEC_USAGE = "appsec_usage".freeze APPSEC_PERCENTAGE = "appsec_percentage".freeze ESTIMATED_INDEXED_SPANS_USAGE = "estimated_indexed_spans_usage".freeze 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 2796a638f641..d88a9bb90cf6 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 live ingested logs usage by tag(s). Note this field is in private beta. + attr_accessor :estimated_ingested_logs_percentage + + # The estimated live ingested logs usage by tag(s). Note this field is in private beta. + attr_accessor :estimated_ingested_logs_usage + # The percentage of estimated ingested spans usage by tag(s). Note this field is in private beta. attr_accessor :estimated_ingested_spans_percentage @@ -189,6 +195,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_logs_percentage' => :'estimated_ingested_logs_percentage', + :'estimated_ingested_logs_usage' => :'estimated_ingested_logs_usage', :'estimated_ingested_spans_percentage' => :'estimated_ingested_spans_percentage', :'estimated_ingested_spans_usage' => :'estimated_ingested_spans_usage', :'infra_host_percentage' => :'infra_host_percentage', @@ -246,6 +254,8 @@ def self.openapi_types :'estimated_indexed_logs_usage' => :'Float', :'estimated_indexed_spans_percentage' => :'Float', :'estimated_indexed_spans_usage' => :'Float', + :'estimated_ingested_logs_percentage' => :'Float', + :'estimated_ingested_logs_usage' => :'Float', :'estimated_ingested_spans_percentage' => :'Float', :'estimated_ingested_spans_usage' => :'Float', :'infra_host_percentage' => :'Float', @@ -400,6 +410,14 @@ def initialize(attributes = {}) self.estimated_indexed_spans_usage = attributes[:'estimated_indexed_spans_usage'] end + if attributes.key?(:'estimated_ingested_logs_percentage') + self.estimated_ingested_logs_percentage = attributes[:'estimated_ingested_logs_percentage'] + end + + if attributes.key?(:'estimated_ingested_logs_usage') + self.estimated_ingested_logs_usage = attributes[:'estimated_ingested_logs_usage'] + end + if attributes.key?(:'estimated_ingested_spans_percentage') self.estimated_ingested_spans_percentage = attributes[:'estimated_ingested_spans_percentage'] end @@ -506,6 +524,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_logs_percentage == o.estimated_ingested_logs_percentage && + estimated_ingested_logs_usage == o.estimated_ingested_logs_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 && @@ -535,7 +555,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, 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 + [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_logs_percentage, estimated_ingested_logs_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