@@ -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: ``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`` .
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: ``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`` .
133133 :type resource_id: str
134134 :rtype: RestrictionPolicyResponse
135135 """
@@ -173,6 +173,9 @@ def update_restriction_policy(
173173 * RUM Applications: ``rum-application``
174174 * Cross Org Connections: ``cross-org-connection``
175175 * 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``
176179
177180 **Supported relations for resources**
178181
@@ -221,9 +224,15 @@ def update_restriction_policy(
221224 - ``viewer`` , ``editor``
222225 * - Spreadsheets
223226 - ``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``
224233
225234
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`` .
227236 :type resource_id: str
228237 :param body: Restriction policy payload
229238 :type body: RestrictionPolicyUpdateRequest
0 commit comments