Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .generated-info
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{
"spec_repo_commit": "0fe80dc",
"generated": "2025-07-28 18:48:28.237"
"spec_repo_commit": "df31e44",
"generated": "2025-07-28 19:54:45.232"
}
13 changes: 4 additions & 9 deletions .generator/schemas/v2/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -763,11 +763,10 @@ components:
schema:
type: string
ResourceID:
description: 'Identifier, formatted as `type:id`. Supported types: `connection`,
`dashboard`, `integration-account`, `integration-service`, `integration-webhook`,
`notebook`, `reference-table`, `security-rule`, `slo`, `workflow`, `app-builder-app`,
`connection`, `connection-group`, `rum-application`, `cross-org-connection`,
`spreadsheet`.'
description: '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`.'
example: dashboard:abc-def-ghi
in: path
name: resource_id
Expand Down Expand Up @@ -57515,8 +57514,6 @@ paths:

- Dashboards: `dashboard`

- Integration Accounts: `integration-account`

- Integration Services: `integration-service`

- Integration Webhooks: `integration-webhook`
Expand Down Expand Up @@ -57562,8 +57559,6 @@ paths:

Dashboards | `viewer`, `editor`

Integration Accounts | `viewer`, `editor`

Integration Services | `viewer`, `editor`

Integration Webhooks | `viewer`, `editor`
Expand Down
9 changes: 3 additions & 6 deletions src/datadog_api_client/v2/api/restriction_policies_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ def delete_restriction_policy(

Deletes the restriction policy associated with a specified resource.

:param resource_id: Identifier, formatted as ``type:id``. Supported types: ``connection`` , ``dashboard`` , ``integration-account`` , ``integration-service`` , ``integration-webhook`` , ``notebook`` , ``reference-table`` , ``security-rule`` , ``slo`` , ``workflow`` , ``app-builder-app`` , ``connection`` , ``connection-group`` , ``rum-application`` , ``cross-org-connection`` , ``spreadsheet``.
: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``.
:type resource_id: str
:rtype: None
"""
Expand All @@ -129,7 +129,7 @@ def get_restriction_policy(

Retrieves the restriction policy associated with a specified resource.

:param resource_id: Identifier, formatted as ``type:id``. Supported types: ``connection`` , ``dashboard`` , ``integration-account`` , ``integration-service`` , ``integration-webhook`` , ``notebook`` , ``reference-table`` , ``security-rule`` , ``slo`` , ``workflow`` , ``app-builder-app`` , ``connection`` , ``connection-group`` , ``rum-application`` , ``cross-org-connection`` , ``spreadsheet``.
: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``.
:type resource_id: str
:rtype: RestrictionPolicyResponse
"""
Expand All @@ -154,7 +154,6 @@ def update_restriction_policy(
Restriction policies can be applied to the following resources:

* Dashboards: ``dashboard``
* Integration Accounts: ``integration-account``
* Integration Services: ``integration-service``
* Integration Webhooks: ``integration-webhook``
* Notebooks: ``notebook``
Expand Down Expand Up @@ -183,8 +182,6 @@ def update_restriction_policy(
- Supported Relations
* - Dashboards
- ``viewer`` , ``editor``
* - Integration Accounts
- ``viewer`` , ``editor``
* - Integration Services
- ``viewer`` , ``editor``
* - Integration Webhooks
Expand Down Expand Up @@ -223,7 +220,7 @@ def update_restriction_policy(
- ``viewer`` , ``editor``


:param resource_id: Identifier, formatted as ``type:id``. Supported types: ``connection`` , ``dashboard`` , ``integration-account`` , ``integration-service`` , ``integration-webhook`` , ``notebook`` , ``reference-table`` , ``security-rule`` , ``slo`` , ``workflow`` , ``app-builder-app`` , ``connection`` , ``connection-group`` , ``rum-application`` , ``cross-org-connection`` , ``spreadsheet``.
: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``.
:type resource_id: str
:param body: Restriction policy payload
:type body: RestrictionPolicyUpdateRequest
Expand Down
Loading