@@ -112,7 +112,7 @@ def delete_restriction_policy(
112
112
113
113
Deletes the restriction policy associated with a specified resource.
114
114
115
- :param resource_id: Identifier, formatted as ``type:id``. Supported types: ``connection`` , ``dashboard`` , ``notebook`` , ``reference-table`` , ``security-rule`` , ``slo`` , ``workflow`` , ``app-builder-app`` , ``connection`` , ``connection-group``.
115
+ :param resource_id: Identifier, formatted as ``type:id``. Supported types: ``connection`` , ``dashboard`` , ``integration-account`` , ``integration-webhook`` , `` notebook`` , ``reference-table`` , ``security-rule`` , ``slo`` , ``workflow`` , ``app-builder-app`` , ``connection`` , ``connection-group``.
116
116
:type resource_id: str
117
117
:rtype: None
118
118
"""
@@ -129,7 +129,7 @@ def get_restriction_policy(
129
129
130
130
Retrieves the restriction policy associated with a specified resource.
131
131
132
- :param resource_id: Identifier, formatted as ``type:id``. Supported types: ``connection`` , ``dashboard`` , ``notebook`` , ``reference-table`` , ``security-rule`` , ``slo`` , ``workflow`` , ``app-builder-app`` , ``connection`` , ``connection-group``.
132
+ :param resource_id: Identifier, formatted as ``type:id``. Supported types: ``connection`` , ``dashboard`` , ``integration-account`` , ``integration-webhook`` , `` notebook`` , ``reference-table`` , ``security-rule`` , ``slo`` , ``workflow`` , ``app-builder-app`` , ``connection`` , ``connection-group``.
133
133
:type resource_id: str
134
134
:rtype: RestrictionPolicyResponse
135
135
"""
@@ -154,6 +154,8 @@ def update_restriction_policy(
154
154
Restriction policies can be applied to the following resources:
155
155
156
156
* Dashboards: ``dashboard``
157
+ * Integration Accounts: ``integration-account``
158
+ * Integration Webhooks: ``integration-webhook``
157
159
* Notebooks: ``notebook``
158
160
* Powerpacks: ``powerpack``
159
161
* Reference Tables: ``reference-table``
@@ -177,6 +179,10 @@ def update_restriction_policy(
177
179
- Supported Relations
178
180
* - Dashboards
179
181
- ``viewer`` , ``editor``
182
+ * - Integration Accounts
183
+ - ``viewer`` , ``editor``
184
+ * - Integration Webhooks
185
+ - ``viewer`` , ``editor``
180
186
* - Notebooks
181
187
- ``viewer`` , ``editor``
182
188
* - Powerpacks
@@ -205,7 +211,7 @@ def update_restriction_policy(
205
211
- ``viewer`` , ``editor``
206
212
207
213
208
- :param resource_id: Identifier, formatted as ``type:id``. Supported types: ``connection`` , ``dashboard`` , ``notebook`` , ``reference-table`` , ``security-rule`` , ``slo`` , ``workflow`` , ``app-builder-app`` , ``connection`` , ``connection-group``.
214
+ :param resource_id: Identifier, formatted as ``type:id``. Supported types: ``connection`` , ``dashboard`` , ``integration-account`` , ``integration-webhook`` , `` notebook`` , ``reference-table`` , ``security-rule`` , ``slo`` , ``workflow`` , ``app-builder-app`` , ``connection`` , ``connection-group``.
209
215
:type resource_id: str
210
216
:param body: Restriction policy payload
211
217
:type body: RestrictionPolicyUpdateRequest
0 commit comments