deleteServiceAccount method

ResponseFuture<Empty> deleteServiceAccount(
  1. DeleteServiceAccountRequest request, {
  2. CallOptions? options,
})

Deletes a google.iam.admin.v1.ServiceAccount.

Warning: After you delete a service account, you might not be able to undelete it. If you know that you need to re-enable the service account in the future, use google.iam.admin.v1.IAM.DisableServiceAccount instead.

If you delete a service account, IAM permanently removes the service account 30 days later. Google Cloud cannot recover the service account after it is permanently removed, even if you file a support request.

To help avoid unplanned outages, we recommend that you disable the service account before you delete it. Use google.iam.admin.v1.IAM.DisableServiceAccount to disable the service account, then wait at least 24 hours and watch for unintended consequences. If there are no unintended consequences, you can delete the service account.

Implementation

$grpc.ResponseFuture<$1.Empty> deleteServiceAccount(
  $0.DeleteServiceAccountRequest request, {
  $grpc.CallOptions? options,
}) {
  return $createUnaryCall(_$deleteServiceAccount, request, options: options);
}