From 68fcbd119ce127d564084091e465385519e7ad58 Mon Sep 17 00:00:00 2001 From: "ci.datadog-api-spec" Date: Mon, 7 Oct 2024 14:32:36 +0000 Subject: [PATCH] Regenerate client from commit ef7c2778 of spec repo --- .apigentools-info | 8 ++--- .generator/schemas/v1/openapi.yaml | 30 +++++++++++++++++++ .generator/schemas/v2/openapi.yaml | 2 +- .../v1/model/usage_summary_date.py | 16 ++++++++++ .../v1/model/usage_summary_date_org.py | 16 ++++++++++ .../v1/model/usage_summary_response.py | 16 ++++++++++ .../v2/api/usage_metering_api.py | 2 +- 7 files changed, 84 insertions(+), 6 deletions(-) diff --git a/.apigentools-info b/.apigentools-info index 1445caf341..d6dd9e6fd6 100644 --- a/.apigentools-info +++ b/.apigentools-info @@ -4,13 +4,13 @@ "spec_versions": { "v1": { "apigentools_version": "1.6.6", - "regenerated": "2024-10-04 15:32:02.020509", - "spec_repo_commit": "f28ad048" + "regenerated": "2024-10-07 14:32:05.490650", + "spec_repo_commit": "ef7c2778" }, "v2": { "apigentools_version": "1.6.6", - "regenerated": "2024-10-04 15:32:02.034224", - "spec_repo_commit": "f28ad048" + "regenerated": "2024-10-07 14:32:05.504415", + "spec_repo_commit": "ef7c2778" } } } \ No newline at end of file diff --git a/.generator/schemas/v1/openapi.yaml b/.generator/schemas/v1/openapi.yaml index 7bdcbc0abc..e7f042346f 100644 --- a/.generator/schemas/v1/openapi.yaml +++ b/.generator/schemas/v1/openapi.yaml @@ -19609,6 +19609,16 @@ components: events over all hours in the current date for the given org. format: int64 type: integer + code_analysis_sa_committers_hwm: + description: Shows the high-water mark of all Static Analysis committers + over all hours in the current date for the given org. + format: int64 + type: integer + code_analysis_sca_committers_hwm: + description: Shows the high-water mark of all static Software Composition + Analysis committers over all hours in the current date for the given org. + format: int64 + type: integer container_avg: description: Shows the average of all distinct containers over all hours in the current date for all organizations. @@ -20349,6 +20359,16 @@ components: events over all hours in the current date for the given org. format: int64 type: integer + code_analysis_sa_committers_hwm: + description: Shows the high-water mark of all Static Analysis committers + over all hours in the current date for the given org. + format: int64 + type: integer + code_analysis_sca_committers_hwm: + description: Shows the high-water mark of all static Software Composition + Analysis committers over all hours in the current date for the given org. + format: int64 + type: integer container_avg: description: Shows the average of all distinct containers over all hours in the current date for the given org. @@ -21100,6 +21120,16 @@ components: events over all hours in the current month for all organizations. format: int64 type: integer + code_analysis_sa_committers_hwm_sum: + description: Shows the high-water mark of all Static Analysis committers + over all hours in the current month for all organizations. + format: int64 + type: integer + code_analysis_sca_committers_hwm_sum: + description: Shows the high-water mark of all static Software Composition + Analysis committers over all hours in the current month for all organizations. + format: int64 + type: integer container_avg_sum: description: Shows the average of all distinct containers over all hours in the current month for all organizations. diff --git a/.generator/schemas/v2/openapi.yaml b/.generator/schemas/v2/openapi.yaml index e24460a1bd..adb07799f7 100644 --- a/.generator/schemas/v2/openapi.yaml +++ b/.generator/schemas/v2/openapi.yaml @@ -40326,7 +40326,7 @@ paths: `observability_pipelines`, `online_archive`, `profiling`, `rum`, `rum_browser_sessions`, `rum_mobile_sessions`, - `sds`, `snmp`, + `sds`, `snmp`, `software_delivery`, `synthetics_api`, `synthetics_browser`, `synthetics_mobile`, `synthetics_parallel_testing`, `timeseries`, `vuln_management`, diff --git a/src/datadog_api_client/v1/model/usage_summary_date.py b/src/datadog_api_client/v1/model/usage_summary_date.py index 3196641b3d..f292f415db 100644 --- a/src/datadog_api_client/v1/model/usage_summary_date.py +++ b/src/datadog_api_client/v1/model/usage_summary_date.py @@ -52,6 +52,8 @@ def openapi_types(_): "cloud_cost_management_gcp_host_count_avg": (int,), "cloud_cost_management_host_count_avg": (int,), "cloud_siem_events_sum": (int,), + "code_analysis_sa_committers_hwm": (int,), + "code_analysis_sca_committers_hwm": (int,), "container_avg": (int,), "container_excl_agent_avg": (int,), "container_hwm": (int,), @@ -190,6 +192,8 @@ def openapi_types(_): "cloud_cost_management_gcp_host_count_avg": "cloud_cost_management_gcp_host_count_avg", "cloud_cost_management_host_count_avg": "cloud_cost_management_host_count_avg", "cloud_siem_events_sum": "cloud_siem_events_sum", + "code_analysis_sa_committers_hwm": "code_analysis_sa_committers_hwm", + "code_analysis_sca_committers_hwm": "code_analysis_sca_committers_hwm", "container_avg": "container_avg", "container_excl_agent_avg": "container_excl_agent_avg", "container_hwm": "container_hwm", @@ -329,6 +333,8 @@ def __init__( cloud_cost_management_gcp_host_count_avg: Union[int, UnsetType] = unset, cloud_cost_management_host_count_avg: Union[int, UnsetType] = unset, cloud_siem_events_sum: Union[int, UnsetType] = unset, + code_analysis_sa_committers_hwm: Union[int, UnsetType] = unset, + code_analysis_sca_committers_hwm: Union[int, UnsetType] = unset, container_avg: Union[int, UnsetType] = unset, container_excl_agent_avg: Union[int, UnsetType] = unset, container_hwm: Union[int, UnsetType] = unset, @@ -525,6 +531,12 @@ def __init__( :param cloud_siem_events_sum: Shows the sum of all Cloud Security Information and Event Management events over all hours in the current date for the given org. :type cloud_siem_events_sum: int, optional + :param code_analysis_sa_committers_hwm: Shows the high-water mark of all Static Analysis committers over all hours in the current date for the given org. + :type code_analysis_sa_committers_hwm: int, optional + + :param code_analysis_sca_committers_hwm: Shows the high-water mark of all static Software Composition Analysis committers over all hours in the current date for the given org. + :type code_analysis_sca_committers_hwm: int, optional + :param container_avg: Shows the average of all distinct containers over all hours in the current date for all organizations. :type container_avg: int, optional @@ -902,6 +914,10 @@ def __init__( kwargs["cloud_cost_management_host_count_avg"] = cloud_cost_management_host_count_avg if cloud_siem_events_sum is not unset: kwargs["cloud_siem_events_sum"] = cloud_siem_events_sum + if code_analysis_sa_committers_hwm is not unset: + kwargs["code_analysis_sa_committers_hwm"] = code_analysis_sa_committers_hwm + if code_analysis_sca_committers_hwm is not unset: + kwargs["code_analysis_sca_committers_hwm"] = code_analysis_sca_committers_hwm if container_avg is not unset: kwargs["container_avg"] = container_avg if container_excl_agent_avg is not unset: diff --git a/src/datadog_api_client/v1/model/usage_summary_date_org.py b/src/datadog_api_client/v1/model/usage_summary_date_org.py index 4cd6fa272d..cd89426560 100644 --- a/src/datadog_api_client/v1/model/usage_summary_date_org.py +++ b/src/datadog_api_client/v1/model/usage_summary_date_org.py @@ -47,6 +47,8 @@ def openapi_types(_): "cloud_cost_management_gcp_host_count_avg": (int,), "cloud_cost_management_host_count_avg": (int,), "cloud_siem_events_sum": (int,), + "code_analysis_sa_committers_hwm": (int,), + "code_analysis_sca_committers_hwm": (int,), "container_avg": (int,), "container_excl_agent_avg": (int,), "container_hwm": (int,), @@ -191,6 +193,8 @@ def openapi_types(_): "cloud_cost_management_gcp_host_count_avg": "cloud_cost_management_gcp_host_count_avg", "cloud_cost_management_host_count_avg": "cloud_cost_management_host_count_avg", "cloud_siem_events_sum": "cloud_siem_events_sum", + "code_analysis_sa_committers_hwm": "code_analysis_sa_committers_hwm", + "code_analysis_sca_committers_hwm": "code_analysis_sca_committers_hwm", "container_avg": "container_avg", "container_excl_agent_avg": "container_excl_agent_avg", "container_hwm": "container_hwm", @@ -336,6 +340,8 @@ def __init__( cloud_cost_management_gcp_host_count_avg: Union[int, UnsetType] = unset, cloud_cost_management_host_count_avg: Union[int, UnsetType] = unset, cloud_siem_events_sum: Union[int, UnsetType] = unset, + code_analysis_sa_committers_hwm: Union[int, UnsetType] = unset, + code_analysis_sca_committers_hwm: Union[int, UnsetType] = unset, container_avg: Union[int, UnsetType] = unset, container_excl_agent_avg: Union[int, UnsetType] = unset, container_hwm: Union[int, UnsetType] = unset, @@ -542,6 +548,12 @@ def __init__( :param cloud_siem_events_sum: Shows the sum of all Cloud Security Information and Event Management events over all hours in the current date for the given org. :type cloud_siem_events_sum: int, optional + :param code_analysis_sa_committers_hwm: Shows the high-water mark of all Static Analysis committers over all hours in the current date for the given org. + :type code_analysis_sa_committers_hwm: int, optional + + :param code_analysis_sca_committers_hwm: Shows the high-water mark of all static Software Composition Analysis committers over all hours in the current date for the given org. + :type code_analysis_sca_committers_hwm: int, optional + :param container_avg: Shows the average of all distinct containers over all hours in the current date for the given org. :type container_avg: int, optional @@ -935,6 +947,10 @@ def __init__( kwargs["cloud_cost_management_host_count_avg"] = cloud_cost_management_host_count_avg if cloud_siem_events_sum is not unset: kwargs["cloud_siem_events_sum"] = cloud_siem_events_sum + if code_analysis_sa_committers_hwm is not unset: + kwargs["code_analysis_sa_committers_hwm"] = code_analysis_sa_committers_hwm + if code_analysis_sca_committers_hwm is not unset: + kwargs["code_analysis_sca_committers_hwm"] = code_analysis_sca_committers_hwm if container_avg is not unset: kwargs["container_avg"] = container_avg if container_excl_agent_avg is not unset: diff --git a/src/datadog_api_client/v1/model/usage_summary_response.py b/src/datadog_api_client/v1/model/usage_summary_response.py index aa2a4005da..0d75cafa95 100644 --- a/src/datadog_api_client/v1/model/usage_summary_response.py +++ b/src/datadog_api_client/v1/model/usage_summary_response.py @@ -55,6 +55,8 @@ def openapi_types(_): "cloud_cost_management_gcp_host_count_avg_sum": (int,), "cloud_cost_management_host_count_avg_sum": (int,), "cloud_siem_events_agg_sum": (int,), + "code_analysis_sa_committers_hwm_sum": (int,), + "code_analysis_sca_committers_hwm_sum": (int,), "container_avg_sum": (int,), "container_excl_agent_avg_sum": (int,), "container_hwm_sum": (int,), @@ -204,6 +206,8 @@ def openapi_types(_): "cloud_cost_management_gcp_host_count_avg_sum": "cloud_cost_management_gcp_host_count_avg_sum", "cloud_cost_management_host_count_avg_sum": "cloud_cost_management_host_count_avg_sum", "cloud_siem_events_agg_sum": "cloud_siem_events_agg_sum", + "code_analysis_sa_committers_hwm_sum": "code_analysis_sa_committers_hwm_sum", + "code_analysis_sca_committers_hwm_sum": "code_analysis_sca_committers_hwm_sum", "container_avg_sum": "container_avg_sum", "container_excl_agent_avg_sum": "container_excl_agent_avg_sum", "container_hwm_sum": "container_hwm_sum", @@ -354,6 +358,8 @@ def __init__( cloud_cost_management_gcp_host_count_avg_sum: Union[int, UnsetType] = unset, cloud_cost_management_host_count_avg_sum: Union[int, UnsetType] = unset, cloud_siem_events_agg_sum: Union[int, UnsetType] = unset, + code_analysis_sa_committers_hwm_sum: Union[int, UnsetType] = unset, + code_analysis_sca_committers_hwm_sum: Union[int, UnsetType] = unset, container_avg_sum: Union[int, UnsetType] = unset, container_excl_agent_avg_sum: Union[int, UnsetType] = unset, container_hwm_sum: Union[int, UnsetType] = unset, @@ -563,6 +569,12 @@ def __init__( :param cloud_siem_events_agg_sum: Shows the sum of all Cloud Security Information and Event Management events over all hours in the current month for all organizations. :type cloud_siem_events_agg_sum: int, optional + :param code_analysis_sa_committers_hwm_sum: Shows the high-water mark of all Static Analysis committers over all hours in the current month for all organizations. + :type code_analysis_sa_committers_hwm_sum: int, optional + + :param code_analysis_sca_committers_hwm_sum: Shows the high-water mark of all static Software Composition Analysis committers over all hours in the current month for all organizations. + :type code_analysis_sca_committers_hwm_sum: int, optional + :param container_avg_sum: Shows the average of all distinct containers over all hours in the current month for all organizations. :type container_avg_sum: int, optional @@ -972,6 +984,10 @@ def __init__( kwargs["cloud_cost_management_host_count_avg_sum"] = cloud_cost_management_host_count_avg_sum if cloud_siem_events_agg_sum is not unset: kwargs["cloud_siem_events_agg_sum"] = cloud_siem_events_agg_sum + if code_analysis_sa_committers_hwm_sum is not unset: + kwargs["code_analysis_sa_committers_hwm_sum"] = code_analysis_sa_committers_hwm_sum + if code_analysis_sca_committers_hwm_sum is not unset: + kwargs["code_analysis_sca_committers_hwm_sum"] = code_analysis_sca_committers_hwm_sum if container_avg_sum is not unset: kwargs["container_avg_sum"] = container_avg_sum if container_excl_agent_avg_sum is not unset: diff --git a/src/datadog_api_client/v2/api/usage_metering_api.py b/src/datadog_api_client/v2/api/usage_metering_api.py index 6a7f57a555..bde2e2e8a8 100644 --- a/src/datadog_api_client/v2/api/usage_metering_api.py +++ b/src/datadog_api_client/v2/api/usage_metering_api.py @@ -573,7 +573,7 @@ def get_hourly_usage( ``csm_container_enterprise`` , ``csm_host_enterprise`` , ``cspm`` , ``custom_events`` , ``cws`` , ``dbm`` , ``error_tracking`` , ``fargate`` , ``infra_hosts`` , ``incident_management`` , ``indexed_logs`` , ``indexed_spans`` , ``ingested_spans`` , ``iot`` , ``lambda_traced_invocations`` , ``logs`` , ``network_flows`` , ``network_hosts`` , ``network_monitoring`` , ``observability_pipelines`` , - ``online_archive`` , ``profiling`` , ``rum`` , ``rum_browser_sessions`` , ``rum_mobile_sessions`` , ``sds`` , ``snmp`` , + ``online_archive`` , ``profiling`` , ``rum`` , ``rum_browser_sessions`` , ``rum_mobile_sessions`` , ``sds`` , ``snmp`` , ``software_delivery`` , ``synthetics_api`` , ``synthetics_browser`` , ``synthetics_mobile`` , ``synthetics_parallel_testing`` , ``timeseries`` , ``vuln_management`` , and ``workflow_executions``. The following product family has been **deprecated** : ``audit_logs``.