From 18c93303affef710e288ac4d9de9958aa2d8f119 Mon Sep 17 00:00:00 2001 From: "ci.datadog-api-spec" Date: Tue, 25 Oct 2022 16:40:26 +0000 Subject: [PATCH] Regenerate client from commit afdd6b70 of spec repo --- .apigentools-info | 8 +-- .generator/schemas/v1/openapi.yaml | 63 +++++++++++++++++++ .../v1/model/usage_sds_hour.py | 24 +++++++ .../v1/model/usage_summary_date.py | 24 +++++++ .../v1/model/usage_summary_date_org.py | 24 +++++++ .../v1/model/usage_summary_response.py | 24 +++++++ 6 files changed, 163 insertions(+), 4 deletions(-) diff --git a/.apigentools-info b/.apigentools-info index 0cfcf66e90..8d853c18e5 100644 --- a/.apigentools-info +++ b/.apigentools-info @@ -4,13 +4,13 @@ "spec_versions": { "v1": { "apigentools_version": "1.6.4", - "regenerated": "2022-10-25 14:15:26.509580", - "spec_repo_commit": "ecf2f022" + "regenerated": "2022-10-25 16:38:53.561467", + "spec_repo_commit": "afdd6b70" }, "v2": { "apigentools_version": "1.6.4", - "regenerated": "2022-10-25 14:15:26.532267", - "spec_repo_commit": "ecf2f022" + "regenerated": "2022-10-25 16:38:53.576826", + "spec_repo_commit": "afdd6b70" } } } \ No newline at end of file diff --git a/.generator/schemas/v1/openapi.yaml b/.generator/schemas/v1/openapi.yaml index a40d844232..efc6a9c99c 100644 --- a/.generator/schemas/v1/openapi.yaml +++ b/.generator/schemas/v1/openapi.yaml @@ -15677,6 +15677,18 @@ components: description: Sensitive Data Scanner usage for a given organization for a given hour. properties: + apm_scanned_bytes: + description: "The total number of bytes scanned of APM usage across all + usage types by the Sensitive Data Scanner from the start of the given + hour\u2019s month until the given hour." + format: int64 + type: integer + events_scanned_bytes: + description: "The total number of bytes scanned of Events usage across all + usage types by the Sensitive Data Scanner from the start of the given + hour\u2019s month until the given hour." + format: int64 + type: integer hour: description: The hour for the usage. format: date-time @@ -15693,6 +15705,12 @@ components: public_id: description: The organization public ID. type: string + rum_scanned_bytes: + description: "The total number of bytes scanned of RUM usage across all + usage types by the Sensitive Data Scanner from the start of the given + hour\u2019s month until the given hour." + format: int64 + type: integer total_scanned_bytes: description: "The total number of bytes scanned across all usage types by the Sensitive Data Scanner from the start of the given hour\u2019s month @@ -16120,11 +16138,26 @@ components: hours in the current date for all organizations. format: int64 type: integer + sds_apm_scanned_bytes_sum: + description: Sum of all APM bytes scanned with sensitive data scanner over + all hours in the current date for all organizations. + format: int64 + type: integer + sds_events_scanned_bytes_sum: + description: Sum of all event stream events bytes scanned with sensitive + data scanner over all hours in the current date for all organizations. + format: int64 + type: integer sds_logs_scanned_bytes_sum: description: Shows the sum of all bytes scanned of logs usage by the Sensitive Data Scanner over all hours in the current month for all organizations. format: int64 type: integer + sds_rum_scanned_bytes_sum: + description: Sum of all RUM bytes scanned with sensitive data scanner over + all hours in the current date for all organizations. + format: int64 + type: integer sds_total_scanned_bytes_sum: description: Shows the sum of all bytes scanned across all usage types by the Sensitive Data Scanner over all hours in the current month for all @@ -16458,11 +16491,26 @@ components: hours in the current date for the given org. format: int64 type: integer + sds_apm_scanned_bytes_sum: + description: Sum of all APM bytes scanned with sensitive data scanner over + all hours in the current date for the given org. + format: int64 + type: integer + sds_events_scanned_bytes_sum: + description: Sum of all event stream events bytes scanned with sensitive + data scanner over all hours in the current date for the given org. + format: int64 + type: integer sds_logs_scanned_bytes_sum: description: Shows the sum of all bytes scanned of logs usage by the Sensitive Data Scanner over all hours in the current month for the given org. format: int64 type: integer + sds_rum_scanned_bytes_sum: + description: Sum of all RUM bytes scanned with sensitive data scanner over + all hours in the current date for the given org. + format: int64 + type: integer sds_total_scanned_bytes_sum: description: Shows the sum of all bytes scanned across all usage types by the Sensitive Data Scanner over all hours in the current month for the @@ -16833,11 +16881,26 @@ components: hours in the current months for all organizations. format: int64 type: integer + sds_apm_scanned_bytes_sum: + description: Sum of all APM bytes scanned with sensitive data scanner in + the current months for all organizations. + format: int64 + type: integer + sds_events_scanned_bytes_sum: + description: Sum of all event stream events bytes scanned with sensitive + data scanner in the current months for all organizations. + format: int64 + type: integer sds_logs_scanned_bytes_sum: description: Shows the sum of all bytes scanned of logs usage by the Sensitive Data Scanner over all hours in the current month for all organizations. format: int64 type: integer + sds_rum_scanned_bytes_sum: + description: Sum of all RUM bytes scanned with sensitive data scanner in + the current months for all organizations. + format: int64 + type: integer sds_total_scanned_bytes_sum: description: Shows the sum of all bytes scanned across all usage types by the Sensitive Data Scanner over all hours in the current month for all diff --git a/src/datadog_api_client/v1/model/usage_sds_hour.py b/src/datadog_api_client/v1/model/usage_sds_hour.py index 5074e2e6ab..f4064c3765 100644 --- a/src/datadog_api_client/v1/model/usage_sds_hour.py +++ b/src/datadog_api_client/v1/model/usage_sds_hour.py @@ -18,33 +18,48 @@ class UsageSDSHour(ModelNormal): @cached_property def openapi_types(_): return { + "apm_scanned_bytes": (int,), + "events_scanned_bytes": (int,), "hour": (datetime,), "logs_scanned_bytes": (int,), "org_name": (str,), "public_id": (str,), + "rum_scanned_bytes": (int,), "total_scanned_bytes": (int,), } attribute_map = { + "apm_scanned_bytes": "apm_scanned_bytes", + "events_scanned_bytes": "events_scanned_bytes", "hour": "hour", "logs_scanned_bytes": "logs_scanned_bytes", "org_name": "org_name", "public_id": "public_id", + "rum_scanned_bytes": "rum_scanned_bytes", "total_scanned_bytes": "total_scanned_bytes", } def __init__( self_, + apm_scanned_bytes: Union[int, UnsetType] = unset, + events_scanned_bytes: Union[int, UnsetType] = unset, hour: Union[datetime, UnsetType] = unset, logs_scanned_bytes: Union[int, UnsetType] = unset, org_name: Union[str, UnsetType] = unset, public_id: Union[str, UnsetType] = unset, + rum_scanned_bytes: Union[int, UnsetType] = unset, total_scanned_bytes: Union[int, UnsetType] = unset, **kwargs, ): """ Sensitive Data Scanner usage for a given organization for a given hour. + :param apm_scanned_bytes: The total number of bytes scanned of APM usage across all usage types by the Sensitive Data Scanner from the start of the given hour’s month until the given hour. + :type apm_scanned_bytes: int, optional + + :param events_scanned_bytes: The total number of bytes scanned of Events usage across all usage types by the Sensitive Data Scanner from the start of the given hour’s month until the given hour. + :type events_scanned_bytes: int, optional + :param hour: The hour for the usage. :type hour: datetime, optional @@ -57,9 +72,16 @@ def __init__( :param public_id: The organization public ID. :type public_id: str, optional + :param rum_scanned_bytes: The total number of bytes scanned of RUM usage across all usage types by the Sensitive Data Scanner from the start of the given hour’s month until the given hour. + :type rum_scanned_bytes: int, optional + :param total_scanned_bytes: The total number of bytes scanned across all usage types by the Sensitive Data Scanner from the start of the given hour’s month until the given hour. :type total_scanned_bytes: int, optional """ + if apm_scanned_bytes is not unset: + kwargs["apm_scanned_bytes"] = apm_scanned_bytes + if events_scanned_bytes is not unset: + kwargs["events_scanned_bytes"] = events_scanned_bytes if hour is not unset: kwargs["hour"] = hour if logs_scanned_bytes is not unset: @@ -68,6 +90,8 @@ def __init__( kwargs["org_name"] = org_name if public_id is not unset: kwargs["public_id"] = public_id + if rum_scanned_bytes is not unset: + kwargs["rum_scanned_bytes"] = rum_scanned_bytes if total_scanned_bytes is not unset: kwargs["total_scanned_bytes"] = total_scanned_bytes super().__init__(kwargs) 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 65c304c3c5..050a18b325 100644 --- a/src/datadog_api_client/v1/model/usage_summary_date.py +++ b/src/datadog_api_client/v1/model/usage_summary_date.py @@ -83,7 +83,10 @@ def openapi_types(_): "rum_session_count_sum": (int,), "rum_total_session_count_sum": (int,), "rum_units_sum": (int,), + "sds_apm_scanned_bytes_sum": (int,), + "sds_events_scanned_bytes_sum": (int,), "sds_logs_scanned_bytes_sum": (int,), + "sds_rum_scanned_bytes_sum": (int,), "sds_total_scanned_bytes_sum": (int,), "synthetics_browser_check_calls_count_sum": (int,), "synthetics_check_calls_count_sum": (int,), @@ -152,7 +155,10 @@ def openapi_types(_): "rum_session_count_sum": "rum_session_count_sum", "rum_total_session_count_sum": "rum_total_session_count_sum", "rum_units_sum": "rum_units_sum", + "sds_apm_scanned_bytes_sum": "sds_apm_scanned_bytes_sum", + "sds_events_scanned_bytes_sum": "sds_events_scanned_bytes_sum", "sds_logs_scanned_bytes_sum": "sds_logs_scanned_bytes_sum", + "sds_rum_scanned_bytes_sum": "sds_rum_scanned_bytes_sum", "sds_total_scanned_bytes_sum": "sds_total_scanned_bytes_sum", "synthetics_browser_check_calls_count_sum": "synthetics_browser_check_calls_count_sum", "synthetics_check_calls_count_sum": "synthetics_check_calls_count_sum", @@ -222,7 +228,10 @@ def __init__( rum_session_count_sum: Union[int, UnsetType] = unset, rum_total_session_count_sum: Union[int, UnsetType] = unset, rum_units_sum: Union[int, UnsetType] = unset, + sds_apm_scanned_bytes_sum: Union[int, UnsetType] = unset, + sds_events_scanned_bytes_sum: Union[int, UnsetType] = unset, sds_logs_scanned_bytes_sum: Union[int, UnsetType] = unset, + sds_rum_scanned_bytes_sum: Union[int, UnsetType] = unset, sds_total_scanned_bytes_sum: Union[int, UnsetType] = unset, synthetics_browser_check_calls_count_sum: Union[int, UnsetType] = unset, synthetics_check_calls_count_sum: Union[int, UnsetType] = unset, @@ -411,9 +420,18 @@ def __init__( :param rum_units_sum: Shows the sum of all browser and mobile RUM units over all hours in the current date for all organizations. :type rum_units_sum: int, optional + :param sds_apm_scanned_bytes_sum: Sum of all APM bytes scanned with sensitive data scanner over all hours in the current date for all organizations. + :type sds_apm_scanned_bytes_sum: int, optional + + :param sds_events_scanned_bytes_sum: Sum of all event stream events bytes scanned with sensitive data scanner over all hours in the current date for all organizations. + :type sds_events_scanned_bytes_sum: int, optional + :param sds_logs_scanned_bytes_sum: Shows the sum of all bytes scanned of logs usage by the Sensitive Data Scanner over all hours in the current month for all organizations. :type sds_logs_scanned_bytes_sum: int, optional + :param sds_rum_scanned_bytes_sum: Sum of all RUM bytes scanned with sensitive data scanner over all hours in the current date for all organizations. + :type sds_rum_scanned_bytes_sum: int, optional + :param sds_total_scanned_bytes_sum: Shows the sum of all bytes scanned across all usage types by the Sensitive Data Scanner over all hours in the current month for all organizations. :type sds_total_scanned_bytes_sum: int, optional @@ -550,8 +568,14 @@ def __init__( kwargs["rum_total_session_count_sum"] = rum_total_session_count_sum if rum_units_sum is not unset: kwargs["rum_units_sum"] = rum_units_sum + if sds_apm_scanned_bytes_sum is not unset: + kwargs["sds_apm_scanned_bytes_sum"] = sds_apm_scanned_bytes_sum + if sds_events_scanned_bytes_sum is not unset: + kwargs["sds_events_scanned_bytes_sum"] = sds_events_scanned_bytes_sum if sds_logs_scanned_bytes_sum is not unset: kwargs["sds_logs_scanned_bytes_sum"] = sds_logs_scanned_bytes_sum + if sds_rum_scanned_bytes_sum is not unset: + kwargs["sds_rum_scanned_bytes_sum"] = sds_rum_scanned_bytes_sum if sds_total_scanned_bytes_sum is not unset: kwargs["sds_total_scanned_bytes_sum"] = sds_total_scanned_bytes_sum if synthetics_browser_check_calls_count_sum 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 da32114562..6b98b71971 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 @@ -78,7 +78,10 @@ def openapi_types(_): "rum_session_count_sum": (int,), "rum_total_session_count_sum": (int,), "rum_units_sum": (int,), + "sds_apm_scanned_bytes_sum": (int,), + "sds_events_scanned_bytes_sum": (int,), "sds_logs_scanned_bytes_sum": (int,), + "sds_rum_scanned_bytes_sum": (int,), "sds_total_scanned_bytes_sum": (int,), "synthetics_browser_check_calls_count_sum": (int,), "synthetics_check_calls_count_sum": (int,), @@ -149,7 +152,10 @@ def openapi_types(_): "rum_session_count_sum": "rum_session_count_sum", "rum_total_session_count_sum": "rum_total_session_count_sum", "rum_units_sum": "rum_units_sum", + "sds_apm_scanned_bytes_sum": "sds_apm_scanned_bytes_sum", + "sds_events_scanned_bytes_sum": "sds_events_scanned_bytes_sum", "sds_logs_scanned_bytes_sum": "sds_logs_scanned_bytes_sum", + "sds_rum_scanned_bytes_sum": "sds_rum_scanned_bytes_sum", "sds_total_scanned_bytes_sum": "sds_total_scanned_bytes_sum", "synthetics_browser_check_calls_count_sum": "synthetics_browser_check_calls_count_sum", "synthetics_check_calls_count_sum": "synthetics_check_calls_count_sum", @@ -221,7 +227,10 @@ def __init__( rum_session_count_sum: Union[int, UnsetType] = unset, rum_total_session_count_sum: Union[int, UnsetType] = unset, rum_units_sum: Union[int, UnsetType] = unset, + sds_apm_scanned_bytes_sum: Union[int, UnsetType] = unset, + sds_events_scanned_bytes_sum: Union[int, UnsetType] = unset, sds_logs_scanned_bytes_sum: Union[int, UnsetType] = unset, + sds_rum_scanned_bytes_sum: Union[int, UnsetType] = unset, sds_total_scanned_bytes_sum: Union[int, UnsetType] = unset, synthetics_browser_check_calls_count_sum: Union[int, UnsetType] = unset, synthetics_check_calls_count_sum: Union[int, UnsetType] = unset, @@ -416,9 +425,18 @@ def __init__( :param rum_units_sum: Shows the sum of all browser and mobile RUM units over all hours in the current date for the given org. :type rum_units_sum: int, optional + :param sds_apm_scanned_bytes_sum: Sum of all APM bytes scanned with sensitive data scanner over all hours in the current date for the given org. + :type sds_apm_scanned_bytes_sum: int, optional + + :param sds_events_scanned_bytes_sum: Sum of all event stream events bytes scanned with sensitive data scanner over all hours in the current date for the given org. + :type sds_events_scanned_bytes_sum: int, optional + :param sds_logs_scanned_bytes_sum: Shows the sum of all bytes scanned of logs usage by the Sensitive Data Scanner over all hours in the current month for the given org. :type sds_logs_scanned_bytes_sum: int, optional + :param sds_rum_scanned_bytes_sum: Sum of all RUM bytes scanned with sensitive data scanner over all hours in the current date for the given org. + :type sds_rum_scanned_bytes_sum: int, optional + :param sds_total_scanned_bytes_sum: Shows the sum of all bytes scanned across all usage types by the Sensitive Data Scanner over all hours in the current month for the given org. :type sds_total_scanned_bytes_sum: int, optional @@ -559,8 +577,14 @@ def __init__( kwargs["rum_total_session_count_sum"] = rum_total_session_count_sum if rum_units_sum is not unset: kwargs["rum_units_sum"] = rum_units_sum + if sds_apm_scanned_bytes_sum is not unset: + kwargs["sds_apm_scanned_bytes_sum"] = sds_apm_scanned_bytes_sum + if sds_events_scanned_bytes_sum is not unset: + kwargs["sds_events_scanned_bytes_sum"] = sds_events_scanned_bytes_sum if sds_logs_scanned_bytes_sum is not unset: kwargs["sds_logs_scanned_bytes_sum"] = sds_logs_scanned_bytes_sum + if sds_rum_scanned_bytes_sum is not unset: + kwargs["sds_rum_scanned_bytes_sum"] = sds_rum_scanned_bytes_sum if sds_total_scanned_bytes_sum is not unset: kwargs["sds_total_scanned_bytes_sum"] = sds_total_scanned_bytes_sum if synthetics_browser_check_calls_count_sum 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 d080d1fc6a..e7df6ee5de 100644 --- a/src/datadog_api_client/v1/model/usage_summary_response.py +++ b/src/datadog_api_client/v1/model/usage_summary_response.py @@ -92,7 +92,10 @@ def openapi_types(_): "rum_session_count_agg_sum": (int,), "rum_total_session_count_agg_sum": (int,), "rum_units_agg_sum": (int,), + "sds_apm_scanned_bytes_sum": (int,), + "sds_events_scanned_bytes_sum": (int,), "sds_logs_scanned_bytes_sum": (int,), + "sds_rum_scanned_bytes_sum": (int,), "sds_total_scanned_bytes_sum": (int,), "start_date": (datetime,), "synthetics_browser_check_calls_count_agg_sum": (int,), @@ -170,7 +173,10 @@ def openapi_types(_): "rum_session_count_agg_sum": "rum_session_count_agg_sum", "rum_total_session_count_agg_sum": "rum_total_session_count_agg_sum", "rum_units_agg_sum": "rum_units_agg_sum", + "sds_apm_scanned_bytes_sum": "sds_apm_scanned_bytes_sum", + "sds_events_scanned_bytes_sum": "sds_events_scanned_bytes_sum", "sds_logs_scanned_bytes_sum": "sds_logs_scanned_bytes_sum", + "sds_rum_scanned_bytes_sum": "sds_rum_scanned_bytes_sum", "sds_total_scanned_bytes_sum": "sds_total_scanned_bytes_sum", "start_date": "start_date", "synthetics_browser_check_calls_count_agg_sum": "synthetics_browser_check_calls_count_agg_sum", @@ -249,7 +255,10 @@ def __init__( rum_session_count_agg_sum: Union[int, UnsetType] = unset, rum_total_session_count_agg_sum: Union[int, UnsetType] = unset, rum_units_agg_sum: Union[int, UnsetType] = unset, + sds_apm_scanned_bytes_sum: Union[int, UnsetType] = unset, + sds_events_scanned_bytes_sum: Union[int, UnsetType] = unset, sds_logs_scanned_bytes_sum: Union[int, UnsetType] = unset, + sds_rum_scanned_bytes_sum: Union[int, UnsetType] = unset, sds_total_scanned_bytes_sum: Union[int, UnsetType] = unset, start_date: Union[datetime, UnsetType] = unset, synthetics_browser_check_calls_count_agg_sum: Union[int, UnsetType] = unset, @@ -461,9 +470,18 @@ def __init__( :param rum_units_agg_sum: Shows the sum of all browser and mobile RUM units over all hours in the current months for all organizations. :type rum_units_agg_sum: int, optional + :param sds_apm_scanned_bytes_sum: Sum of all APM bytes scanned with sensitive data scanner in the current months for all organizations. + :type sds_apm_scanned_bytes_sum: int, optional + + :param sds_events_scanned_bytes_sum: Sum of all event stream events bytes scanned with sensitive data scanner in the current months for all organizations. + :type sds_events_scanned_bytes_sum: int, optional + :param sds_logs_scanned_bytes_sum: Shows the sum of all bytes scanned of logs usage by the Sensitive Data Scanner over all hours in the current month for all organizations. :type sds_logs_scanned_bytes_sum: int, optional + :param sds_rum_scanned_bytes_sum: Sum of all RUM bytes scanned with sensitive data scanner in the current months for all organizations. + :type sds_rum_scanned_bytes_sum: int, optional + :param sds_total_scanned_bytes_sum: Shows the sum of all bytes scanned across all usage types by the Sensitive Data Scanner over all hours in the current month for all organizations. :type sds_total_scanned_bytes_sum: int, optional @@ -622,8 +640,14 @@ def __init__( kwargs["rum_total_session_count_agg_sum"] = rum_total_session_count_agg_sum if rum_units_agg_sum is not unset: kwargs["rum_units_agg_sum"] = rum_units_agg_sum + if sds_apm_scanned_bytes_sum is not unset: + kwargs["sds_apm_scanned_bytes_sum"] = sds_apm_scanned_bytes_sum + if sds_events_scanned_bytes_sum is not unset: + kwargs["sds_events_scanned_bytes_sum"] = sds_events_scanned_bytes_sum if sds_logs_scanned_bytes_sum is not unset: kwargs["sds_logs_scanned_bytes_sum"] = sds_logs_scanned_bytes_sum + if sds_rum_scanned_bytes_sum is not unset: + kwargs["sds_rum_scanned_bytes_sum"] = sds_rum_scanned_bytes_sum if sds_total_scanned_bytes_sum is not unset: kwargs["sds_total_scanned_bytes_sum"] = sds_total_scanned_bytes_sum if start_date is not unset: