@@ -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`` , ``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: ``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`` , ``on-call-schedule`` , ``on-call-escalation-policy`` , ``on-call-team-routing-rules`` .
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`` , ``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: ``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`` , ``on-call-schedule`` , ``on-call-escalation-policy`` , ``on-call-team-routing-rules`` .
133
133
:type resource_id: str
134
134
:rtype: RestrictionPolicyResponse
135
135
"""
@@ -173,6 +173,9 @@ def update_restriction_policy(
173
173
* RUM Applications: ``rum-application``
174
174
* Cross Org Connections: ``cross-org-connection``
175
175
* Spreadsheets: ``spreadsheet``
176
+ * On-Call Schedules: ``on-call-schedule``
177
+ * On-Call Escalation Policies: ``on-call-escalation-policy``
178
+ * On-Call Team Routing Rules: ``on-call-team-routing-rules``
176
179
177
180
**Supported relations for resources**
178
181
@@ -221,9 +224,15 @@ def update_restriction_policy(
221
224
- ``viewer`` , ``editor``
222
225
* - Spreadsheets
223
226
- ``viewer`` , ``editor``
227
+ * - On-Call Schedules
228
+ - ``viewer`` , ``overrider`` , ``editor``
229
+ * - On-Call Escalation Policies
230
+ - ``viewer`` , ``editor``
231
+ * - On-Call Team Routing Rules
232
+ - ``viewer`` , ``editor``
224
233
225
234
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``.
235
+ :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`` , ``on-call-schedule`` , ``on-call-escalation-policy`` , ``on-call-team-routing-rules`` .
227
236
:type resource_id: str
228
237
:param body: Restriction policy payload
229
238
:type body: RestrictionPolicyUpdateRequest
0 commit comments