enableServiceAccount method

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

Enables a google.iam.admin.v1.ServiceAccount that was disabled by google.iam.admin.v1.IAM.DisableServiceAccount.

If the service account is already enabled, then this method has no effect.

If the service account was disabled by other means—for example, if Google disabled the service account because it was compromised—you cannot use this method to enable the service account.

Implementation

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