@@ -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`, `integration-account`, `integration-service`, `integration-webhook`, `notebook`, `reference-table`, `security-rule`, `slo`, `workflow`, `app-builder-app`, `connection`, `connection-group`, `rum-application`, `cross-org-connection`.
38+ # @param resource_id [String] 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` .
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`, `integration-account`, `integration-service`, `integration-webhook`, `notebook`, `reference-table`, `security-rule`, `slo`, `workflow`, `app-builder-app`, `connection`, `connection-group`, `rum-application`, `cross-org-connection`.
103+ # @param resource_id [String] 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` .
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 = { } )
@@ -186,6 +186,7 @@ def update_restriction_policy(resource_id, body, opts = {})
186186 # - Connection Groups: `connection-group`
187187 # - RUM Applications: `rum-application`
188188 # - Cross Org Connections: `cross-org-connection`
189+ # - Spreadsheets: `spreadsheet`
189190 #
190191 # #### Supported relations for resources
191192 # Resource Type | Supported Relations
@@ -209,8 +210,9 @@ def update_restriction_policy(resource_id, body, opts = {})
209210 # Connection Groups | `viewer`, `editor`
210211 # RUM Application | `viewer`, `editor`
211212 # Cross Org Connections | `viewer`, `editor`
213+ # Spreadsheets | `viewer`, `editor`
212214 #
213- # @param resource_id [String] 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`.
215+ # @param resource_id [String] 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` .
214216 # @param body [RestrictionPolicyUpdateRequest] Restriction policy payload
215217 # @param opts [Hash] the optional parameters
216218 # @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