@@ -2213,6 +2213,13 @@ def test_vmware_admin_cluster_iam_permissions(resource, test_iam_permissions_req
2213
2213
# The current etag of the VMware admin cluster. If an etag is provided and does
2214
2214
# not match the current etag of the cluster, deletion will be blocked and an
2215
2215
# ABORTED error will be returned.
2216
+ # @param [Boolean] ignore_errors
2217
+ # Optional. If set to true, the unenrollment of a vmware admin cluster resource
2218
+ # will succeed even if errors occur during unenrollment. This parameter can be
2219
+ # used when you want to unenroll admin cluster resource and the on-prem admin
2220
+ # cluster is disconnected / unreachable. WARNING: Using this parameter when your
2221
+ # admin cluster still exists may result in a deleted GCP admin cluster but
2222
+ # existing resourcelink in on-prem admin cluster and membership.
2216
2223
# @param [Boolean] validate_only
2217
2224
# Validate the request without actually doing any updates.
2218
2225
# @param [String] fields
@@ -2232,13 +2239,14 @@ def test_vmware_admin_cluster_iam_permissions(resource, test_iam_permissions_req
2232
2239
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
2233
2240
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2234
2241
# @raise [Google::Apis::AuthorizationError] Authorization is required
2235
- def unenroll_project_location_vmware_admin_cluster ( name , allow_missing : nil , etag : nil , validate_only : nil , fields : nil , quota_user : nil , options : nil , &block )
2242
+ def unenroll_project_location_vmware_admin_cluster ( name , allow_missing : nil , etag : nil , ignore_errors : nil , validate_only : nil , fields : nil , quota_user : nil , options : nil , &block )
2236
2243
command = make_simple_command ( :delete , 'v1/{+name}:unenroll' , options )
2237
2244
command . response_representation = Google ::Apis ::GkeonpremV1 ::Operation ::Representation
2238
2245
command . response_class = Google ::Apis ::GkeonpremV1 ::Operation
2239
2246
command . params [ 'name' ] = name unless name . nil?
2240
2247
command . query [ 'allowMissing' ] = allow_missing unless allow_missing . nil?
2241
2248
command . query [ 'etag' ] = etag unless etag . nil?
2249
+ command . query [ 'ignoreErrors' ] = ignore_errors unless ignore_errors . nil?
2242
2250
command . query [ 'validateOnly' ] = validate_only unless validate_only . nil?
2243
2251
command . query [ 'fields' ] = fields unless fields . nil?
2244
2252
command . query [ 'quotaUser' ] = quota_user unless quota_user . nil?
0 commit comments