@@ -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: ``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 .
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: ``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 .
133133 :type resource_id: str
134134 :rtype: RestrictionPolicyResponse
135135 """
@@ -172,6 +172,9 @@ def update_restriction_policy(
172172 * RUM Applications: ``rum-application``
173173 * Cross Org Connections: ``cross-org-connection``
174174 * 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``
175178
176179 **Supported relations for resources**
177180
@@ -218,9 +221,15 @@ def update_restriction_policy(
218221 - ``viewer`` , ``editor``
219222 * - Spreadsheets
220223 - ``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``
221230
222231
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 .
224233 :type resource_id: str
225234 :param body: Restriction policy payload
226235 :type body: RestrictionPolicyUpdateRequest
0 commit comments