From b28efd68e65bbcb0a133fe80d84cd099c37697b3 Mon Sep 17 00:00:00 2001 From: "ci.datadog-api-spec" Date: Thu, 22 Jan 2026 19:30:47 +0000 Subject: [PATCH] Regenerate client from commit 1bce4c0 of spec repo --- .generator/schemas/v1/openapi.yaml | 4 +++- .generator/schemas/v2/openapi.yaml | 4 +++- .../v1/model/synthetics_global_variable_attributes.py | 2 +- .../v1/model/synthetics_mobile_test_options.py | 2 +- .../v1/model/synthetics_private_location_metadata.py | 2 +- .../v1/model/synthetics_restricted_roles.py | 2 +- src/datadog_api_client/v1/model/synthetics_test_options.py | 2 +- .../v2/model/synthetics_global_variable_attributes.py | 2 +- 8 files changed, 12 insertions(+), 8 deletions(-) diff --git a/.generator/schemas/v1/openapi.yaml b/.generator/schemas/v1/openapi.yaml index 832230d382..992ffcf045 100644 --- a/.generator/schemas/v1/openapi.yaml +++ b/.generator/schemas/v1/openapi.yaml @@ -17642,8 +17642,10 @@ components: type: string type: object SyntheticsRestrictedRoles: + deprecated: true description: A list of role identifiers that can be pulled from the Roles API, - for restricting read and write access. + for restricting read and write access. This field is deprecated. Use the restriction + policies API to manage permissions. example: - xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx items: diff --git a/.generator/schemas/v2/openapi.yaml b/.generator/schemas/v2/openapi.yaml index 6cd7c2ab9e..6c598feee5 100644 --- a/.generator/schemas/v2/openapi.yaml +++ b/.generator/schemas/v2/openapi.yaml @@ -58066,8 +58066,10 @@ components: type: string type: object SyntheticsRestrictedRoles: + deprecated: true description: A list of role identifiers that can be pulled from the Roles API, - for restricting read and write access. + for restricting read and write access. This field is deprecated. Use the restriction + policies API to manage permissions. example: - xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx items: diff --git a/src/datadog_api_client/v1/model/synthetics_global_variable_attributes.py b/src/datadog_api_client/v1/model/synthetics_global_variable_attributes.py index ca3e9512a4..e58f89160e 100644 --- a/src/datadog_api_client/v1/model/synthetics_global_variable_attributes.py +++ b/src/datadog_api_client/v1/model/synthetics_global_variable_attributes.py @@ -34,7 +34,7 @@ def __init__(self_, restricted_roles: Union[SyntheticsRestrictedRoles, UnsetType """ Attributes of the global variable. - :param restricted_roles: A list of role identifiers that can be pulled from the Roles API, for restricting read and write access. + :param restricted_roles: A list of role identifiers that can be pulled from the Roles API, for restricting read and write access. This field is deprecated. Use the restriction policies API to manage permissions. **Deprecated**. :type restricted_roles: SyntheticsRestrictedRoles, optional """ if restricted_roles is not unset: diff --git a/src/datadog_api_client/v1/model/synthetics_mobile_test_options.py b/src/datadog_api_client/v1/model/synthetics_mobile_test_options.py index 829fc11726..d869ef4b7d 100644 --- a/src/datadog_api_client/v1/model/synthetics_mobile_test_options.py +++ b/src/datadog_api_client/v1/model/synthetics_mobile_test_options.py @@ -168,7 +168,7 @@ def __init__( :param no_screenshot: A boolean set to not take a screenshot for the step. :type no_screenshot: bool, optional - :param restricted_roles: A list of role identifiers that can be pulled from the Roles API, for restricting read and write access. + :param restricted_roles: A list of role identifiers that can be pulled from the Roles API, for restricting read and write access. This field is deprecated. Use the restriction policies API to manage permissions. **Deprecated**. :type restricted_roles: SyntheticsRestrictedRoles, optional :param retry: Object describing the retry strategy to apply to a Synthetic test. diff --git a/src/datadog_api_client/v1/model/synthetics_private_location_metadata.py b/src/datadog_api_client/v1/model/synthetics_private_location_metadata.py index fa49bb1ac0..453cb79da3 100644 --- a/src/datadog_api_client/v1/model/synthetics_private_location_metadata.py +++ b/src/datadog_api_client/v1/model/synthetics_private_location_metadata.py @@ -34,7 +34,7 @@ def __init__(self_, restricted_roles: Union[SyntheticsRestrictedRoles, UnsetType """ Object containing metadata about the private location. - :param restricted_roles: A list of role identifiers that can be pulled from the Roles API, for restricting read and write access. + :param restricted_roles: A list of role identifiers that can be pulled from the Roles API, for restricting read and write access. This field is deprecated. Use the restriction policies API to manage permissions. **Deprecated**. :type restricted_roles: SyntheticsRestrictedRoles, optional """ if restricted_roles is not unset: diff --git a/src/datadog_api_client/v1/model/synthetics_restricted_roles.py b/src/datadog_api_client/v1/model/synthetics_restricted_roles.py index 2f107c6e17..22a7642abf 100644 --- a/src/datadog_api_client/v1/model/synthetics_restricted_roles.py +++ b/src/datadog_api_client/v1/model/synthetics_restricted_roles.py @@ -12,7 +12,7 @@ class SyntheticsRestrictedRoles(ModelSimple): """ - A list of role identifiers that can be pulled from the Roles API, for restricting read and write access. + A list of role identifiers that can be pulled from the Roles API, for restricting read and write access. This field is deprecated. Use the restriction policies API to manage permissions. :type value: [str] diff --git a/src/datadog_api_client/v1/model/synthetics_test_options.py b/src/datadog_api_client/v1/model/synthetics_test_options.py index abcbf1f0db..2ee4c39d45 100644 --- a/src/datadog_api_client/v1/model/synthetics_test_options.py +++ b/src/datadog_api_client/v1/model/synthetics_test_options.py @@ -204,7 +204,7 @@ def __init__( :param no_screenshot: Prevents saving screenshots of the steps. :type no_screenshot: bool, optional - :param restricted_roles: A list of role identifiers that can be pulled from the Roles API, for restricting read and write access. + :param restricted_roles: A list of role identifiers that can be pulled from the Roles API, for restricting read and write access. This field is deprecated. Use the restriction policies API to manage permissions. **Deprecated**. :type restricted_roles: SyntheticsRestrictedRoles, optional :param retry: Object describing the retry strategy to apply to a Synthetic test. diff --git a/src/datadog_api_client/v2/model/synthetics_global_variable_attributes.py b/src/datadog_api_client/v2/model/synthetics_global_variable_attributes.py index 00ac9e1f62..8c600f4a48 100644 --- a/src/datadog_api_client/v2/model/synthetics_global_variable_attributes.py +++ b/src/datadog_api_client/v2/model/synthetics_global_variable_attributes.py @@ -28,7 +28,7 @@ def __init__(self_, restricted_roles: Union[List[str], UnsetType] = unset, **kwa """ Attributes of the global variable. - :param restricted_roles: A list of role identifiers that can be pulled from the Roles API, for restricting read and write access. + :param restricted_roles: A list of role identifiers that can be pulled from the Roles API, for restricting read and write access. This field is deprecated. Use the restriction policies API to manage permissions. **Deprecated**. :type restricted_roles: [str], optional """ if restricted_roles is not unset: