Skip to content

Commit 7685d15

Browse files
api-clients-generation-pipeline[bot]ci.datadog-api-spec
andauthored
Add case-management-project resource type for restriction policies (#3139)
Co-authored-by: ci.datadog-api-spec <packages@datadoghq.com>
1 parent 4db84c2 commit 7685d15

2 files changed

Lines changed: 8 additions & 1 deletion

File tree

.generator/schemas/v2/openapi.yaml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88029,6 +88029,8 @@ paths:
8802988029

8803088030
- Logs Pipelines: `logs-pipeline`
8803188031

88032+
- Case Management Projects: `case-management-project`
88033+
8803288034

8803388035
#### Supported relations for resources
8803488036

@@ -88080,7 +88082,9 @@ paths:
8808088082

8808188083
On-Call Team Routing Rules | `viewer`, `editor`
8808288084

88083-
Logs Pipelines | `viewer`, `processors_editor`, `editor`'
88085+
Logs Pipelines | `viewer`, `processors_editor`, `editor`
88086+
88087+
Case Management Projects | `viewer`, `contributor`, `manager`'
8808488088
operationId: UpdateRestrictionPolicy
8808588089
parameters:
8808688090
- $ref: '#/components/parameters/ResourceID'

src/datadog_api_client/v2/api/restriction_policies_api.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -176,6 +176,7 @@ def update_restriction_policy(
176176
* On-Call Escalation Policies: ``on-call-escalation-policy``
177177
* On-Call Team Routing Rules: ``on-call-team-routing-rules``
178178
* Logs Pipelines: ``logs-pipeline``
179+
* Case Management Projects: ``case-management-project``
179180
180181
**Supported relations for resources**
181182
@@ -230,6 +231,8 @@ def update_restriction_policy(
230231
- ``viewer`` , ``editor``
231232
* - Logs Pipelines
232233
- ``viewer`` , ``processors_editor`` , ``editor``
234+
* - Case Management Projects
235+
- ``viewer`` , ``contributor`` , ``manager``
233236
234237
235238
: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``.

0 commit comments

Comments
 (0)