@@ -35,7 +35,7 @@ def delete_restriction_policy(resource_id, opts = {})
35
35
#
36
36
# Deletes the restriction policy associated with a specified resource.
37
37
#
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`.
39
39
# @param opts [Hash] the optional parameters
40
40
# @return [Array<(nil, Integer, Hash)>] nil, response status code and response headers
41
41
def delete_restriction_policy_with_http_info ( resource_id , opts = { } )
@@ -100,7 +100,7 @@ def get_restriction_policy(resource_id, opts = {})
100
100
#
101
101
# Retrieves the restriction policy associated with a specified resource.
102
102
#
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`.
104
104
# @param opts [Hash] the optional parameters
105
105
# @return [Array<(RestrictionPolicyResponse, Integer, Hash)>] RestrictionPolicyResponse data, response status code and response headers
106
106
def get_restriction_policy_with_http_info ( resource_id , opts = { } )
@@ -168,6 +168,8 @@ def update_restriction_policy(resource_id, body, opts = {})
168
168
# #### Supported resources
169
169
# Restriction policies can be applied to the following resources:
170
170
# - Dashboards: `dashboard`
171
+ # - Integration Accounts: `integration-account`
172
+ # - Integration Webhooks: `integration-webhook`
171
173
# - Notebooks: `notebook`
172
174
# - Powerpacks: `powerpack`
173
175
# - Reference Tables: `reference-table`
@@ -186,6 +188,8 @@ def update_restriction_policy(resource_id, body, opts = {})
186
188
# Resource Type | Supported Relations
187
189
# ----------------------------|--------------------------
188
190
# Dashboards | `viewer`, `editor`
191
+ # Integration Accounts | `viewer`, `editor`
192
+ # Integration Webhooks | `viewer`, `editor`
189
193
# Notebooks | `viewer`, `editor`
190
194
# Powerpacks | `viewer`, `editor`
191
195
# Security Rules | `viewer`, `editor`
@@ -200,7 +204,7 @@ def update_restriction_policy(resource_id, body, opts = {})
200
204
# Connections | `viewer`, `resolver`, `editor`
201
205
# Connection Groups | `viewer`, `editor`
202
206
#
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`.
204
208
# @param body [RestrictionPolicyUpdateRequest] Restriction policy payload
205
209
# @param opts [Hash] the optional parameters
206
210
# @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