Skip to content

Commit 1f9083c

Browse files
api-clients-generation-pipeline[bot]ci.datadog-api-spec
andauthored
[ACCESSINT-636] Remove integration-account from restriction policy API supported resources (#2731)
Co-authored-by: ci.datadog-api-spec <[email protected]>
1 parent ae60a1f commit 1f9083c

File tree

3 files changed

+9
-17
lines changed

3 files changed

+9
-17
lines changed

.generated-info

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
{
2-
"spec_repo_commit": "0fe80dc",
3-
"generated": "2025-07-28 18:48:28.237"
2+
"spec_repo_commit": "df31e44",
3+
"generated": "2025-07-28 19:54:45.232"
44
}

.generator/schemas/v2/openapi.yaml

Lines changed: 4 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -763,11 +763,10 @@ components:
763763
schema:
764764
type: string
765765
ResourceID:
766-
description: 'Identifier, formatted as `type:id`. Supported types: `connection`,
767-
`dashboard`, `integration-account`, `integration-service`, `integration-webhook`,
768-
`notebook`, `reference-table`, `security-rule`, `slo`, `workflow`, `app-builder-app`,
769-
`connection`, `connection-group`, `rum-application`, `cross-org-connection`,
770-
`spreadsheet`.'
766+
description: 'Identifier, formatted as `type:id`. Supported types: `dashboard`,
767+
`integration-service`, `integration-webhook`, `notebook`, `reference-table`,
768+
`security-rule`, `slo`, `workflow`, `app-builder-app`, `connection`, `connection-group`,
769+
`rum-application`, `cross-org-connection`, `spreadsheet`.'
771770
example: dashboard:abc-def-ghi
772771
in: path
773772
name: resource_id
@@ -57515,8 +57514,6 @@ paths:
5751557514

5751657515
- Dashboards: `dashboard`
5751757516

57518-
- Integration Accounts: `integration-account`
57519-
5752057517
- Integration Services: `integration-service`
5752157518

5752257519
- Integration Webhooks: `integration-webhook`
@@ -57562,8 +57559,6 @@ paths:
5756257559

5756357560
Dashboards | `viewer`, `editor`
5756457561

57565-
Integration Accounts | `viewer`, `editor`
57566-
5756757562
Integration Services | `viewer`, `editor`
5756857563

5756957564
Integration Webhooks | `viewer`, `editor`

src/datadog_api_client/v2/api/restriction_policies_api.py

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ def delete_restriction_policy(
112112
113113
Deletes the restriction policy associated with a specified resource.
114114
115-
: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``.
115+
: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``.
116116
:type resource_id: str
117117
:rtype: None
118118
"""
@@ -129,7 +129,7 @@ def get_restriction_policy(
129129
130130
Retrieves the restriction policy associated with a specified resource.
131131
132-
: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``.
132+
: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``.
133133
:type resource_id: str
134134
:rtype: RestrictionPolicyResponse
135135
"""
@@ -154,7 +154,6 @@ def update_restriction_policy(
154154
Restriction policies can be applied to the following resources:
155155
156156
* Dashboards: ``dashboard``
157-
* Integration Accounts: ``integration-account``
158157
* Integration Services: ``integration-service``
159158
* Integration Webhooks: ``integration-webhook``
160159
* Notebooks: ``notebook``
@@ -183,8 +182,6 @@ def update_restriction_policy(
183182
- Supported Relations
184183
* - Dashboards
185184
- ``viewer`` , ``editor``
186-
* - Integration Accounts
187-
- ``viewer`` , ``editor``
188185
* - Integration Services
189186
- ``viewer`` , ``editor``
190187
* - Integration Webhooks
@@ -223,7 +220,7 @@ def update_restriction_policy(
223220
- ``viewer`` , ``editor``
224221
225222
226-
: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``.
223+
: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``.
227224
:type resource_id: str
228225
:param body: Restriction policy payload
229226
:type body: RestrictionPolicyUpdateRequest

0 commit comments

Comments
 (0)