@@ -35,7 +35,7 @@ def delete_restriction_policy(resource_id, opts = {})
3535 #
3636 # Deletes the restriction policy associated with a specified resource.
3737 #
38- # @param resource_id [String] Identifier, formatted as `type:id`. Supported types: `connection`, `dashboard`, `notebook`, `reference-table`, `security-rule`, `slo`, `workflow`, `app-builder-app`, `connection`, `connection-group`.
38+ # @param resource_id [String] 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`.
3939 # @param opts [Hash] the optional parameters
4040 # @return [Array<(nil, Integer, Hash)>] nil, response status code and response headers
4141 def delete_restriction_policy_with_http_info ( resource_id , opts = { } )
@@ -100,7 +100,7 @@ def get_restriction_policy(resource_id, opts = {})
100100 #
101101 # Retrieves the restriction policy associated with a specified resource.
102102 #
103- # @param resource_id [String] Identifier, formatted as `type:id`. Supported types: `connection`, `dashboard`, `notebook`, `reference-table`, `security-rule`, `slo`, `workflow`, `app-builder-app`, `connection`, `connection-group`.
103+ # @param resource_id [String] 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`.
104104 # @param opts [Hash] the optional parameters
105105 # @return [Array<(RestrictionPolicyResponse, Integer, Hash)>] RestrictionPolicyResponse data, response status code and response headers
106106 def get_restriction_policy_with_http_info ( resource_id , opts = { } )
@@ -168,6 +168,8 @@ def update_restriction_policy(resource_id, body, opts = {})
168168 # #### Supported resources
169169 # Restriction policies can be applied to the following resources:
170170 # - Dashboards: `dashboard`
171+ # - Integration Accounts: `integration-account`
172+ # - Integration Webhooks: `integration-webhook`
171173 # - Notebooks: `notebook`
172174 # - Powerpacks: `powerpack`
173175 # - Reference Tables: `reference-table`
@@ -186,6 +188,8 @@ def update_restriction_policy(resource_id, body, opts = {})
186188 # Resource Type | Supported Relations
187189 # ----------------------------|--------------------------
188190 # Dashboards | `viewer`, `editor`
191+ # Integration Accounts | `viewer`, `editor`
192+ # Integration Webhooks | `viewer`, `editor`
189193 # Notebooks | `viewer`, `editor`
190194 # Powerpacks | `viewer`, `editor`
191195 # Security Rules | `viewer`, `editor`
@@ -200,7 +204,7 @@ def update_restriction_policy(resource_id, body, opts = {})
200204 # Connections | `viewer`, `resolver`, `editor`
201205 # Connection Groups | `viewer`, `editor`
202206 #
203- # @param resource_id [String] Identifier, formatted as `type:id`. Supported types: `connection`, `dashboard`, `notebook`, `reference-table`, `security-rule`, `slo`, `workflow`, `app-builder-app`, `connection`, `connection-group`.
207+ # @param resource_id [String] 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`.
204208 # @param body [RestrictionPolicyUpdateRequest] Restriction policy payload
205209 # @param opts [Hash] the optional parameters
206210 # @option opts [Boolean] :allow_self_lockout Allows admins (users with the `user_access_manage` permission) to remove their own access from the resource if set to `true`. By default, this is set to `false`, preventing admins from locking themselves out.
0 commit comments