From 8b73c7bd22d85801f012b0f3c3661b88c8d51085 Mon Sep 17 00:00:00 2001 From: "ci.datadog-api-spec" Date: Mon, 23 Sep 2024 21:02:43 +0000 Subject: [PATCH] Regenerate client from commit ec2c66bc of spec repo --- .apigentools-info | 8 ++++---- .generator/schemas/v1/openapi.yaml | 10 ++++++++++ .../v1/model/hourly_usage_attribution_usage_type.py | 7 ++++++- .../monthly_usage_attribution_supported_metrics.py | 12 +++++++++++- .../v1/model/monthly_usage_attribution_values.py | 8 ++++++++ 5 files changed, 39 insertions(+), 6 deletions(-) diff --git a/.apigentools-info b/.apigentools-info index 2cb1430fcc..fa4fbdaa5a 100644 --- a/.apigentools-info +++ b/.apigentools-info @@ -4,13 +4,13 @@ "spec_versions": { "v1": { "apigentools_version": "1.6.6", - "regenerated": "2024-09-23 19:10:10.087479", - "spec_repo_commit": "41592dc6" + "regenerated": "2024-09-23 21:02:13.091272", + "spec_repo_commit": "ec2c66bc" }, "v2": { "apigentools_version": "1.6.6", - "regenerated": "2024-09-23 19:10:10.101269", - "spec_repo_commit": "41592dc6" + "regenerated": "2024-09-23 21:02:13.105234", + "spec_repo_commit": "ec2c66bc" } } } \ No newline at end of file diff --git a/.generator/schemas/v1/openapi.yaml b/.generator/schemas/v1/openapi.yaml index a018712734..6d058368fd 100644 --- a/.generator/schemas/v1/openapi.yaml +++ b/.generator/schemas/v1/openapi.yaml @@ -4182,6 +4182,7 @@ components: - custom_timeseries_usage - cws_containers_usage - cws_hosts_usage + - data_jobs_monitoring_usage - dbm_hosts_usage - dbm_queries_usage - error_tracking_usage @@ -4255,6 +4256,7 @@ components: - CUSTOM_TIMESERIES_USAGE - CWS_CONTAINERS_USAGE - CWS_HOSTS_USAGE + - DATA_JOBS_MONITORING_USAGE - DBM_HOSTS_USAGE - DBM_QUERIES_USAGE - ERROR_TRACKING_USAGE @@ -7935,6 +7937,8 @@ components: - cws_containers_usage - cws_hosts_percentage - cws_hosts_usage + - data_jobs_monitoring_usage + - data_jobs_monitoring_percentage - dbm_hosts_percentage - dbm_hosts_usage - dbm_queries_percentage @@ -8076,6 +8080,8 @@ components: - CWS_CONTAINERS_USAGE - CWS_HOSTS_PERCENTAGE - CWS_HOSTS_USAGE + - DATA_JOBS_MONITORING_USAGE + - DATA_JOBS_MONITORING_PERCENTAGE - DBM_HOSTS_PERCENTAGE - DBM_HOSTS_USAGE - DBM_QUERIES_PERCENTAGE @@ -8363,6 +8369,10 @@ components: description: The Cloud Workload Security host usage by tag(s). format: double type: number + data_jobs_monitoring_usage: + description: The Data Jobs Monitoring usage by tag(s). + format: double + type: number dbm_hosts_percentage: description: The percentage of Database Monitoring host usage by tag(s). format: double diff --git a/src/datadog_api_client/v1/model/hourly_usage_attribution_usage_type.py b/src/datadog_api_client/v1/model/hourly_usage_attribution_usage_type.py index 08613a670d..9876e7ad7b 100644 --- a/src/datadog_api_client/v1/model/hourly_usage_attribution_usage_type.py +++ b/src/datadog_api_client/v1/model/hourly_usage_attribution_usage_type.py @@ -16,7 +16,7 @@ class HourlyUsageAttributionUsageType(ModelSimple): """ Supported products for hourly usage attribution requests. - :param value: Must be one of ["api_usage", "apm_fargate_usage", "apm_host_usage", "apm_usm_usage", "appsec_fargate_usage", "appsec_usage", "asm_serverless_traced_invocations_usage", "asm_serverless_traced_invocations_percentage", "browser_usage", "ci_pipeline_indexed_spans_usage", "ci_test_indexed_spans_usage", "ci_visibility_itr_usage", "cloud_siem_usage", "container_excl_agent_usage", "container_usage", "cspm_containers_usage", "cspm_hosts_usage", "custom_event_usage", "custom_ingested_timeseries_usage", "custom_timeseries_usage", "cws_containers_usage", "cws_hosts_usage", "dbm_hosts_usage", "dbm_queries_usage", "error_tracking_usage", "error_tracking_percentage", "estimated_indexed_logs_usage", "estimated_indexed_spans_usage", "estimated_ingested_logs_usage", "estimated_ingested_spans_usage", "estimated_rum_sessions_usage", "fargate_usage", "functions_usage", "incident_management_monthly_active_users_usage", "indexed_spans_usage", "infra_host_usage", "ingested_logs_bytes_usage", "ingested_spans_bytes_usage", "invocations_usage", "lambda_traced_invocations_usage", "logs_indexed_15day_usage", "logs_indexed_180day_usage", "logs_indexed_1day_usage", "logs_indexed_30day_usage", "logs_indexed_360day_usage", "logs_indexed_3day_usage", "logs_indexed_45day_usage", "logs_indexed_60day_usage", "logs_indexed_7day_usage", "logs_indexed_90day_usage", "logs_indexed_custom_retention_usage", "mobile_app_testing_usage", "ndm_netflow_usage", "npm_host_usage", "obs_pipeline_bytes_usage", "obs_pipelines_vcpu_usage", "online_archive_usage", "profiled_container_usage", "profiled_fargate_usage", "profiled_host_usage", "rum_browser_mobile_sessions_usage", "rum_replay_sessions_usage", "sca_fargate_usage", "sds_scanned_bytes_usage", "serverless_apps_usage", "siem_analyzed_logs_add_on_usage", "siem_ingested_bytes_usage", "snmp_usage", "universal_service_monitoring_usage", "vuln_management_hosts_usage", "workflow_executions_usage"]. + :param value: Must be one of ["api_usage", "apm_fargate_usage", "apm_host_usage", "apm_usm_usage", "appsec_fargate_usage", "appsec_usage", "asm_serverless_traced_invocations_usage", "asm_serverless_traced_invocations_percentage", "browser_usage", "ci_pipeline_indexed_spans_usage", "ci_test_indexed_spans_usage", "ci_visibility_itr_usage", "cloud_siem_usage", "container_excl_agent_usage", "container_usage", "cspm_containers_usage", "cspm_hosts_usage", "custom_event_usage", "custom_ingested_timeseries_usage", "custom_timeseries_usage", "cws_containers_usage", "cws_hosts_usage", "data_jobs_monitoring_usage", "dbm_hosts_usage", "dbm_queries_usage", "error_tracking_usage", "error_tracking_percentage", "estimated_indexed_logs_usage", "estimated_indexed_spans_usage", "estimated_ingested_logs_usage", "estimated_ingested_spans_usage", "estimated_rum_sessions_usage", "fargate_usage", "functions_usage", "incident_management_monthly_active_users_usage", "indexed_spans_usage", "infra_host_usage", "ingested_logs_bytes_usage", "ingested_spans_bytes_usage", "invocations_usage", "lambda_traced_invocations_usage", "logs_indexed_15day_usage", "logs_indexed_180day_usage", "logs_indexed_1day_usage", "logs_indexed_30day_usage", "logs_indexed_360day_usage", "logs_indexed_3day_usage", "logs_indexed_45day_usage", "logs_indexed_60day_usage", "logs_indexed_7day_usage", "logs_indexed_90day_usage", "logs_indexed_custom_retention_usage", "mobile_app_testing_usage", "ndm_netflow_usage", "npm_host_usage", "obs_pipeline_bytes_usage", "obs_pipelines_vcpu_usage", "online_archive_usage", "profiled_container_usage", "profiled_fargate_usage", "profiled_host_usage", "rum_browser_mobile_sessions_usage", "rum_replay_sessions_usage", "sca_fargate_usage", "sds_scanned_bytes_usage", "serverless_apps_usage", "siem_analyzed_logs_add_on_usage", "siem_ingested_bytes_usage", "snmp_usage", "universal_service_monitoring_usage", "vuln_management_hosts_usage", "workflow_executions_usage"]. :type value: str """ @@ -43,6 +43,7 @@ class HourlyUsageAttributionUsageType(ModelSimple): "custom_timeseries_usage", "cws_containers_usage", "cws_hosts_usage", + "data_jobs_monitoring_usage", "dbm_hosts_usage", "dbm_queries_usage", "error_tracking_usage", @@ -115,6 +116,7 @@ class HourlyUsageAttributionUsageType(ModelSimple): CUSTOM_TIMESERIES_USAGE: ClassVar["HourlyUsageAttributionUsageType"] CWS_CONTAINERS_USAGE: ClassVar["HourlyUsageAttributionUsageType"] CWS_HOSTS_USAGE: ClassVar["HourlyUsageAttributionUsageType"] + DATA_JOBS_MONITORING_USAGE: ClassVar["HourlyUsageAttributionUsageType"] DBM_HOSTS_USAGE: ClassVar["HourlyUsageAttributionUsageType"] DBM_QUERIES_USAGE: ClassVar["HourlyUsageAttributionUsageType"] ERROR_TRACKING_USAGE: ClassVar["HourlyUsageAttributionUsageType"] @@ -206,6 +208,9 @@ def openapi_types(_): HourlyUsageAttributionUsageType.CUSTOM_TIMESERIES_USAGE = HourlyUsageAttributionUsageType("custom_timeseries_usage") HourlyUsageAttributionUsageType.CWS_CONTAINERS_USAGE = HourlyUsageAttributionUsageType("cws_containers_usage") HourlyUsageAttributionUsageType.CWS_HOSTS_USAGE = HourlyUsageAttributionUsageType("cws_hosts_usage") +HourlyUsageAttributionUsageType.DATA_JOBS_MONITORING_USAGE = HourlyUsageAttributionUsageType( + "data_jobs_monitoring_usage" +) HourlyUsageAttributionUsageType.DBM_HOSTS_USAGE = HourlyUsageAttributionUsageType("dbm_hosts_usage") HourlyUsageAttributionUsageType.DBM_QUERIES_USAGE = HourlyUsageAttributionUsageType("dbm_queries_usage") HourlyUsageAttributionUsageType.ERROR_TRACKING_USAGE = HourlyUsageAttributionUsageType("error_tracking_usage") diff --git a/src/datadog_api_client/v1/model/monthly_usage_attribution_supported_metrics.py b/src/datadog_api_client/v1/model/monthly_usage_attribution_supported_metrics.py index 172b60218e..b4b20e28fe 100644 --- a/src/datadog_api_client/v1/model/monthly_usage_attribution_supported_metrics.py +++ b/src/datadog_api_client/v1/model/monthly_usage_attribution_supported_metrics.py @@ -16,7 +16,7 @@ class MonthlyUsageAttributionSupportedMetrics(ModelSimple): """ Supported metrics for monthly usage attribution requests. - :param value: Must be one of ["api_usage", "api_percentage", "apm_fargate_usage", "apm_fargate_percentage", "appsec_fargate_usage", "appsec_fargate_percentage", "apm_host_usage", "apm_host_percentage", "apm_usm_usage", "apm_usm_percentage", "appsec_usage", "appsec_percentage", "asm_serverless_traced_invocations_usage", "asm_serverless_traced_invocations_percentage", "browser_usage", "browser_percentage", "ci_visibility_itr_usage", "ci_visibility_itr_percentage", "cloud_siem_usage", "cloud_siem_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", "error_tracking_usage", "error_tracking_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", "fargate_usage", "fargate_percentage", "functions_usage", "functions_percentage", "incident_management_monthly_active_users_usage", "incident_management_monthly_active_users_percentage", "infra_host_usage", "infra_host_percentage", "invocations_usage", "invocations_percentage", "lambda_traced_invocations_usage", "lambda_traced_invocations_percentage", "mobile_app_testing_percentage", "mobile_app_testing_usage", "ndm_netflow_usage", "ndm_netflow_percentage", "npm_host_usage", "npm_host_percentage", "obs_pipeline_bytes_usage", "obs_pipeline_bytes_percentage", "obs_pipelines_vcpu_usage", "obs_pipelines_vcpu_percentage", "online_archive_usage", "online_archive_percentage", "profiled_container_usage", "profiled_container_percentage", "profiled_fargate_usage", "profiled_fargate_percentage", "profiled_host_usage", "profiled_host_percentage", "serverless_apps_usage", "serverless_apps_percentage", "snmp_usage", "snmp_percentage", "estimated_rum_sessions_usage", "estimated_rum_sessions_percentage", "universal_service_monitoring_usage", "universal_service_monitoring_percentage", "vuln_management_hosts_usage", "vuln_management_hosts_percentage", "sds_scanned_bytes_usage", "sds_scanned_bytes_percentage", "ci_test_indexed_spans_usage", "ci_test_indexed_spans_percentage", "ingested_logs_bytes_usage", "ingested_logs_bytes_percentage", "ci_pipeline_indexed_spans_usage", "ci_pipeline_indexed_spans_percentage", "indexed_spans_usage", "indexed_spans_percentage", "custom_event_usage", "custom_event_percentage", "logs_indexed_custom_retention_usage", "logs_indexed_custom_retention_percentage", "logs_indexed_360day_usage", "logs_indexed_360day_percentage", "logs_indexed_180day_usage", "logs_indexed_180day_percentage", "logs_indexed_90day_usage", "logs_indexed_90day_percentage", "logs_indexed_60day_usage", "logs_indexed_60day_percentage", "logs_indexed_45day_usage", "logs_indexed_45day_percentage", "logs_indexed_30day_usage", "logs_indexed_30day_percentage", "logs_indexed_15day_usage", "logs_indexed_15day_percentage", "logs_indexed_7day_usage", "logs_indexed_7day_percentage", "logs_indexed_3day_usage", "logs_indexed_3day_percentage", "logs_indexed_1day_usage", "logs_indexed_1day_percentage", "rum_replay_sessions_usage", "rum_replay_sessions_percentage", "rum_browser_mobile_sessions_usage", "rum_browser_mobile_sessions_percentage", "ingested_spans_bytes_usage", "ingested_spans_bytes_percentage", "siem_analyzed_logs_add_on_usage", "siem_analyzed_logs_add_on_percentage", "siem_ingested_bytes_usage", "siem_ingested_bytes_percentage", "workflow_executions_usage", "workflow_executions_percentage", "sca_fargate_usage", "sca_fargate_percentage", "*"]. + :param value: Must be one of ["api_usage", "api_percentage", "apm_fargate_usage", "apm_fargate_percentage", "appsec_fargate_usage", "appsec_fargate_percentage", "apm_host_usage", "apm_host_percentage", "apm_usm_usage", "apm_usm_percentage", "appsec_usage", "appsec_percentage", "asm_serverless_traced_invocations_usage", "asm_serverless_traced_invocations_percentage", "browser_usage", "browser_percentage", "ci_visibility_itr_usage", "ci_visibility_itr_percentage", "cloud_siem_usage", "cloud_siem_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", "data_jobs_monitoring_usage", "data_jobs_monitoring_percentage", "dbm_hosts_percentage", "dbm_hosts_usage", "dbm_queries_percentage", "dbm_queries_usage", "error_tracking_usage", "error_tracking_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", "fargate_usage", "fargate_percentage", "functions_usage", "functions_percentage", "incident_management_monthly_active_users_usage", "incident_management_monthly_active_users_percentage", "infra_host_usage", "infra_host_percentage", "invocations_usage", "invocations_percentage", "lambda_traced_invocations_usage", "lambda_traced_invocations_percentage", "mobile_app_testing_percentage", "mobile_app_testing_usage", "ndm_netflow_usage", "ndm_netflow_percentage", "npm_host_usage", "npm_host_percentage", "obs_pipeline_bytes_usage", "obs_pipeline_bytes_percentage", "obs_pipelines_vcpu_usage", "obs_pipelines_vcpu_percentage", "online_archive_usage", "online_archive_percentage", "profiled_container_usage", "profiled_container_percentage", "profiled_fargate_usage", "profiled_fargate_percentage", "profiled_host_usage", "profiled_host_percentage", "serverless_apps_usage", "serverless_apps_percentage", "snmp_usage", "snmp_percentage", "estimated_rum_sessions_usage", "estimated_rum_sessions_percentage", "universal_service_monitoring_usage", "universal_service_monitoring_percentage", "vuln_management_hosts_usage", "vuln_management_hosts_percentage", "sds_scanned_bytes_usage", "sds_scanned_bytes_percentage", "ci_test_indexed_spans_usage", "ci_test_indexed_spans_percentage", "ingested_logs_bytes_usage", "ingested_logs_bytes_percentage", "ci_pipeline_indexed_spans_usage", "ci_pipeline_indexed_spans_percentage", "indexed_spans_usage", "indexed_spans_percentage", "custom_event_usage", "custom_event_percentage", "logs_indexed_custom_retention_usage", "logs_indexed_custom_retention_percentage", "logs_indexed_360day_usage", "logs_indexed_360day_percentage", "logs_indexed_180day_usage", "logs_indexed_180day_percentage", "logs_indexed_90day_usage", "logs_indexed_90day_percentage", "logs_indexed_60day_usage", "logs_indexed_60day_percentage", "logs_indexed_45day_usage", "logs_indexed_45day_percentage", "logs_indexed_30day_usage", "logs_indexed_30day_percentage", "logs_indexed_15day_usage", "logs_indexed_15day_percentage", "logs_indexed_7day_usage", "logs_indexed_7day_percentage", "logs_indexed_3day_usage", "logs_indexed_3day_percentage", "logs_indexed_1day_usage", "logs_indexed_1day_percentage", "rum_replay_sessions_usage", "rum_replay_sessions_percentage", "rum_browser_mobile_sessions_usage", "rum_browser_mobile_sessions_percentage", "ingested_spans_bytes_usage", "ingested_spans_bytes_percentage", "siem_analyzed_logs_add_on_usage", "siem_analyzed_logs_add_on_percentage", "siem_ingested_bytes_usage", "siem_ingested_bytes_percentage", "workflow_executions_usage", "workflow_executions_percentage", "sca_fargate_usage", "sca_fargate_percentage", "*"]. :type value: str """ @@ -57,6 +57,8 @@ class MonthlyUsageAttributionSupportedMetrics(ModelSimple): "cws_containers_usage", "cws_hosts_percentage", "cws_hosts_usage", + "data_jobs_monitoring_usage", + "data_jobs_monitoring_percentage", "dbm_hosts_percentage", "dbm_hosts_usage", "dbm_queries_percentage", @@ -197,6 +199,8 @@ class MonthlyUsageAttributionSupportedMetrics(ModelSimple): CWS_CONTAINERS_USAGE: ClassVar["MonthlyUsageAttributionSupportedMetrics"] CWS_HOSTS_PERCENTAGE: ClassVar["MonthlyUsageAttributionSupportedMetrics"] CWS_HOSTS_USAGE: ClassVar["MonthlyUsageAttributionSupportedMetrics"] + DATA_JOBS_MONITORING_USAGE: ClassVar["MonthlyUsageAttributionSupportedMetrics"] + DATA_JOBS_MONITORING_PERCENTAGE: ClassVar["MonthlyUsageAttributionSupportedMetrics"] DBM_HOSTS_PERCENTAGE: ClassVar["MonthlyUsageAttributionSupportedMetrics"] DBM_HOSTS_USAGE: ClassVar["MonthlyUsageAttributionSupportedMetrics"] DBM_QUERIES_PERCENTAGE: ClassVar["MonthlyUsageAttributionSupportedMetrics"] @@ -392,6 +396,12 @@ def openapi_types(_): "cws_hosts_percentage" ) MonthlyUsageAttributionSupportedMetrics.CWS_HOSTS_USAGE = MonthlyUsageAttributionSupportedMetrics("cws_hosts_usage") +MonthlyUsageAttributionSupportedMetrics.DATA_JOBS_MONITORING_USAGE = MonthlyUsageAttributionSupportedMetrics( + "data_jobs_monitoring_usage" +) +MonthlyUsageAttributionSupportedMetrics.DATA_JOBS_MONITORING_PERCENTAGE = MonthlyUsageAttributionSupportedMetrics( + "data_jobs_monitoring_percentage" +) MonthlyUsageAttributionSupportedMetrics.DBM_HOSTS_PERCENTAGE = MonthlyUsageAttributionSupportedMetrics( "dbm_hosts_percentage" ) diff --git a/src/datadog_api_client/v1/model/monthly_usage_attribution_values.py b/src/datadog_api_client/v1/model/monthly_usage_attribution_values.py index d046f77354..21127d56aa 100644 --- a/src/datadog_api_client/v1/model/monthly_usage_attribution_values.py +++ b/src/datadog_api_client/v1/model/monthly_usage_attribution_values.py @@ -59,6 +59,7 @@ def openapi_types(_): "cws_containers_usage": (float,), "cws_hosts_percentage": (float,), "cws_hosts_usage": (float,), + "data_jobs_monitoring_usage": (float,), "dbm_hosts_percentage": (float,), "dbm_hosts_usage": (float,), "dbm_queries_percentage": (float,), @@ -200,6 +201,7 @@ def openapi_types(_): "cws_containers_usage": "cws_containers_usage", "cws_hosts_percentage": "cws_hosts_percentage", "cws_hosts_usage": "cws_hosts_usage", + "data_jobs_monitoring_usage": "data_jobs_monitoring_usage", "dbm_hosts_percentage": "dbm_hosts_percentage", "dbm_hosts_usage": "dbm_hosts_usage", "dbm_queries_percentage": "dbm_queries_percentage", @@ -342,6 +344,7 @@ def __init__( cws_containers_usage: Union[float, UnsetType] = unset, cws_hosts_percentage: Union[float, UnsetType] = unset, cws_hosts_usage: Union[float, UnsetType] = unset, + data_jobs_monitoring_usage: Union[float, UnsetType] = unset, dbm_hosts_percentage: Union[float, UnsetType] = unset, dbm_hosts_usage: Union[float, UnsetType] = unset, dbm_queries_percentage: Union[float, UnsetType] = unset, @@ -569,6 +572,9 @@ def __init__( :param cws_hosts_usage: The Cloud Workload Security host usage by tag(s). :type cws_hosts_usage: float, optional + :param data_jobs_monitoring_usage: The Data Jobs Monitoring usage by tag(s). + :type data_jobs_monitoring_usage: float, optional + :param dbm_hosts_percentage: The percentage of Database Monitoring host usage by tag(s). :type dbm_hosts_percentage: float, optional @@ -941,6 +947,8 @@ def __init__( kwargs["cws_hosts_percentage"] = cws_hosts_percentage if cws_hosts_usage is not unset: kwargs["cws_hosts_usage"] = cws_hosts_usage + if data_jobs_monitoring_usage is not unset: + kwargs["data_jobs_monitoring_usage"] = data_jobs_monitoring_usage if dbm_hosts_percentage is not unset: kwargs["dbm_hosts_percentage"] = dbm_hosts_percentage if dbm_hosts_usage is not unset: