diff --git a/.apigentools-info b/.apigentools-info index f2d610cf45e3..00e69611ed5e 100644 --- a/.apigentools-info +++ b/.apigentools-info @@ -4,13 +4,13 @@ "spec_versions": { "v1": { "apigentools_version": "1.6.4", - "regenerated": "2022-08-29 14:55:52.170253", - "spec_repo_commit": "71afb1ee" + "regenerated": "2022-08-29 15:23:50.079765", + "spec_repo_commit": "592474c8" }, "v2": { "apigentools_version": "1.6.4", - "regenerated": "2022-08-29 14:55:52.183301", - "spec_repo_commit": "71afb1ee" + "regenerated": "2022-08-29 15:23:50.095711", + "spec_repo_commit": "592474c8" } } } \ No newline at end of file diff --git a/.generator/schemas/v1/openapi.yaml b/.generator/schemas/v1/openapi.yaml index 722d946151d2..b9d2683cd813 100644 --- a/.generator/schemas/v1/openapi.yaml +++ b/.generator/schemas/v1/openapi.yaml @@ -14040,6 +14040,9 @@ components: description: Shows usage aggregation for a billing period. format: double type: number + region: + description: The region of the organization. + type: string start_date: description: Shows the first date of usage. format: date-time @@ -15838,6 +15841,9 @@ components: public_id: description: The organization public id. type: string + region: + description: The region of the organization. + type: string rum_browser_and_mobile_session_count: description: Shows the sum of all mobile sessions and all browser lite and legacy sessions over all hours in the current date for the given org. diff --git a/lib/datadog_api_client/v1/models/usage_billable_summary_hour.rb b/lib/datadog_api_client/v1/models/usage_billable_summary_hour.rb index 2f25c1e5d2ed..59e3454d4f13 100644 --- a/lib/datadog_api_client/v1/models/usage_billable_summary_hour.rb +++ b/lib/datadog_api_client/v1/models/usage_billable_summary_hour.rb @@ -43,6 +43,9 @@ class UsageBillableSummaryHour # Shows usage aggregation for a billing period. attr_accessor :ratio_in_month + # The region of the organization. + attr_accessor :region + # Shows the first date of usage. attr_accessor :start_date @@ -59,6 +62,7 @@ def self.attribute_map :'org_name' => :'org_name', :'public_id' => :'public_id', :'ratio_in_month' => :'ratio_in_month', + :'region' => :'region', :'start_date' => :'start_date', :'usage' => :'usage' } @@ -80,6 +84,7 @@ def self.openapi_types :'org_name' => :'String', :'public_id' => :'String', :'ratio_in_month' => :'Float', + :'region' => :'String', :'start_date' => :'Time', :'usage' => :'UsageBillableSummaryKeys' } @@ -132,6 +137,10 @@ def initialize(attributes = {}) self.ratio_in_month = attributes[:'ratio_in_month'] end + if attributes.key?(:'region') + self.region = attributes[:'region'] + end + if attributes.key?(:'start_date') self.start_date = attributes[:'start_date'] end @@ -160,6 +169,7 @@ def ==(o) org_name == o.org_name && public_id == o.public_id && ratio_in_month == o.ratio_in_month && + region == o.region && start_date == o.start_date && usage == o.usage end @@ -175,7 +185,7 @@ def eql?(o) # @return [Integer] Hash code # @!visibility private def hash - [billing_plan, end_date, num_orgs, org_name, public_id, ratio_in_month, start_date, usage].hash + [billing_plan, end_date, num_orgs, org_name, public_id, ratio_in_month, region, start_date, usage].hash end end end diff --git a/lib/datadog_api_client/v1/models/usage_summary_date_org.rb b/lib/datadog_api_client/v1/models/usage_summary_date_org.rb index baa621f2f474..42b902087901 100644 --- a/lib/datadog_api_client/v1/models/usage_summary_date_org.rb +++ b/lib/datadog_api_client/v1/models/usage_summary_date_org.rb @@ -190,6 +190,9 @@ class UsageSummaryDateOrg # The organization public id. attr_accessor :public_id + # The region of the organization. + attr_accessor :region + # Shows the sum of all mobile sessions and all browser lite and legacy sessions over all hours in the current date for the given org. attr_accessor :rum_browser_and_mobile_session_count @@ -282,6 +285,7 @@ def self.attribute_map :'opentelemetry_host_top99p' => :'opentelemetry_host_top99p', :'profiling_host_top99p' => :'profiling_host_top99p', :'public_id' => :'public_id', + :'region' => :'region', :'rum_browser_and_mobile_session_count' => :'rum_browser_and_mobile_session_count', :'rum_session_count_sum' => :'rum_session_count_sum', :'rum_total_session_count_sum' => :'rum_total_session_count_sum', @@ -361,6 +365,7 @@ def self.openapi_types :'opentelemetry_host_top99p' => :'Integer', :'profiling_host_top99p' => :'Integer', :'public_id' => :'String', + :'region' => :'String', :'rum_browser_and_mobile_session_count' => :'Integer', :'rum_session_count_sum' => :'Integer', :'rum_total_session_count_sum' => :'Integer', @@ -618,6 +623,10 @@ def initialize(attributes = {}) self.public_id = attributes[:'public_id'] end + if attributes.key?(:'region') + self.region = attributes[:'region'] + end + if attributes.key?(:'rum_browser_and_mobile_session_count') self.rum_browser_and_mobile_session_count = attributes[:'rum_browser_and_mobile_session_count'] end @@ -731,6 +740,7 @@ def ==(o) opentelemetry_host_top99p == o.opentelemetry_host_top99p && profiling_host_top99p == o.profiling_host_top99p && public_id == o.public_id && + region == o.region && rum_browser_and_mobile_session_count == o.rum_browser_and_mobile_session_count && rum_session_count_sum == o.rum_session_count_sum && rum_total_session_count_sum == o.rum_total_session_count_sum && @@ -755,7 +765,7 @@ def eql?(o) # @return [Integer] Hash code # @!visibility private def hash - [agent_host_top99p, apm_azure_app_service_host_top99p, apm_host_top99p, audit_logs_lines_indexed_sum, avg_profiled_fargate_tasks, aws_host_top99p, aws_lambda_func_count, aws_lambda_invocations_sum, azure_app_service_top99p, billable_ingested_bytes_sum, browser_rum_lite_session_count_sum, browser_rum_replay_session_count_sum, browser_rum_units_sum, ci_pipeline_indexed_spans_sum, ci_test_indexed_spans_sum, ci_visibility_pipeline_committers_hwm, ci_visibility_test_committers_hwm, container_avg, container_hwm, cspm_aas_host_top99p, cspm_aws_host_top99p, cspm_azure_host_top99p, cspm_container_avg, cspm_container_hwm, cspm_host_top99p, custom_ts_avg, cws_container_count_avg, cws_host_top99p, dbm_host_top99p_sum, dbm_queries_avg_sum, fargate_tasks_count_avg, fargate_tasks_count_hwm, gcp_host_top99p, heroku_host_top99p, id, incident_management_monthly_active_users_hwm, indexed_events_count_sum, infra_host_top99p, ingested_events_bytes_sum, iot_device_agg_sum, iot_device_top99p_sum, mobile_rum_lite_session_count_sum, mobile_rum_session_count_android_sum, mobile_rum_session_count_ios_sum, mobile_rum_session_count_reactnative_sum, mobile_rum_session_count_sum, mobile_rum_units_sum, name, netflow_indexed_events_count_sum, npm_host_top99p, observability_pipelines_bytes_processed_sum, online_archive_events_count_sum, opentelemetry_host_top99p, profiling_host_top99p, public_id, rum_browser_and_mobile_session_count, rum_session_count_sum, rum_total_session_count_sum, rum_units_sum, sds_logs_scanned_bytes_sum, sds_total_scanned_bytes_sum, synthetics_browser_check_calls_count_sum, synthetics_check_calls_count_sum, trace_search_indexed_events_count_sum, twol_ingested_events_bytes_sum, vsphere_host_top99p].hash + [agent_host_top99p, apm_azure_app_service_host_top99p, apm_host_top99p, audit_logs_lines_indexed_sum, avg_profiled_fargate_tasks, aws_host_top99p, aws_lambda_func_count, aws_lambda_invocations_sum, azure_app_service_top99p, billable_ingested_bytes_sum, browser_rum_lite_session_count_sum, browser_rum_replay_session_count_sum, browser_rum_units_sum, ci_pipeline_indexed_spans_sum, ci_test_indexed_spans_sum, ci_visibility_pipeline_committers_hwm, ci_visibility_test_committers_hwm, container_avg, container_hwm, cspm_aas_host_top99p, cspm_aws_host_top99p, cspm_azure_host_top99p, cspm_container_avg, cspm_container_hwm, cspm_host_top99p, custom_ts_avg, cws_container_count_avg, cws_host_top99p, dbm_host_top99p_sum, dbm_queries_avg_sum, fargate_tasks_count_avg, fargate_tasks_count_hwm, gcp_host_top99p, heroku_host_top99p, id, incident_management_monthly_active_users_hwm, indexed_events_count_sum, infra_host_top99p, ingested_events_bytes_sum, iot_device_agg_sum, iot_device_top99p_sum, mobile_rum_lite_session_count_sum, mobile_rum_session_count_android_sum, mobile_rum_session_count_ios_sum, mobile_rum_session_count_reactnative_sum, mobile_rum_session_count_sum, mobile_rum_units_sum, name, netflow_indexed_events_count_sum, npm_host_top99p, observability_pipelines_bytes_processed_sum, online_archive_events_count_sum, opentelemetry_host_top99p, profiling_host_top99p, public_id, region, rum_browser_and_mobile_session_count, rum_session_count_sum, rum_total_session_count_sum, rum_units_sum, sds_logs_scanned_bytes_sum, sds_total_scanned_bytes_sum, synthetics_browser_check_calls_count_sum, synthetics_check_calls_count_sum, trace_search_indexed_events_count_sum, twol_ingested_events_bytes_sum, vsphere_host_top99p].hash end end end