From 88ce06fe3840e7de696b02cb1ccf8e5db29481b2 Mon Sep 17 00:00:00 2001 From: "ci.datadog-api-spec" Date: Fri, 30 Jan 2026 09:45:32 +0000 Subject: [PATCH] Regenerate client from commit dfc9b13 of spec repo --- .generator/schemas/v2/openapi.yaml | 6 +++++- src/datadog_api_client/v2/api/restriction_policies_api.py | 3 +++ 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/.generator/schemas/v2/openapi.yaml b/.generator/schemas/v2/openapi.yaml index 0fb2ea8943..ee7193724a 100644 --- a/.generator/schemas/v2/openapi.yaml +++ b/.generator/schemas/v2/openapi.yaml @@ -87798,6 +87798,8 @@ paths: - Logs Pipelines: `logs-pipeline` + - Case Management Projects: `case-management-project` + #### Supported relations for resources @@ -87849,7 +87851,9 @@ paths: On-Call Team Routing Rules | `viewer`, `editor` - Logs Pipelines | `viewer`, `processors_editor`, `editor`' + Logs Pipelines | `viewer`, `processors_editor`, `editor` + + Case Management Projects | `viewer`, `contributor`, `manager`' operationId: UpdateRestrictionPolicy parameters: - $ref: '#/components/parameters/ResourceID' diff --git a/src/datadog_api_client/v2/api/restriction_policies_api.py b/src/datadog_api_client/v2/api/restriction_policies_api.py index e761d595bf..75491b7379 100644 --- a/src/datadog_api_client/v2/api/restriction_policies_api.py +++ b/src/datadog_api_client/v2/api/restriction_policies_api.py @@ -176,6 +176,7 @@ def update_restriction_policy( * On-Call Escalation Policies: ``on-call-escalation-policy`` * On-Call Team Routing Rules: ``on-call-team-routing-rules`` * Logs Pipelines: ``logs-pipeline`` + * Case Management Projects: ``case-management-project`` **Supported relations for resources** @@ -230,6 +231,8 @@ def update_restriction_policy( - ``viewer`` , ``editor`` * - Logs Pipelines - ``viewer`` , ``processors_editor`` , ``editor`` + * - Case Management Projects + - ``viewer`` , ``contributor`` , ``manager`` :param resource_id: Identifier, formatted as ``type:id``. Supported types: ``dashboard`` , ``integration-service`` , ``integration-webhook`` , ``notebook`` , ``reference-table`` , ``security-rule`` , ``slo`` , ``workflow`` , ``app-builder-app`` , ``connection`` , ``connection-group`` , ``rum-application`` , ``cross-org-connection`` , ``spreadsheet`` , ``on-call-schedule`` , ``on-call-escalation-policy`` , ``on-call-team-routing-rules`` , ``logs-pipeline``.