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