diff --git a/.generator/schemas/v1/openapi.yaml b/.generator/schemas/v1/openapi.yaml index 150bd49be1..8ca5dd5a24 100644 --- a/.generator/schemas/v1/openapi.yaml +++ b/.generator/schemas/v1/openapi.yaml @@ -17622,8 +17622,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 f11972d91d..12c13c6ef4 100644 --- a/.generator/schemas/v2/openapi.yaml +++ b/.generator/schemas/v2/openapi.yaml @@ -55280,8 +55280,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..5fd61f2476 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..41f192f585 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..d8e7c55523 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..2a98ea38dc 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..7ab3cbd111 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..b88c0f1b04 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: