userBlockedByAdmin constant

ErrorReason const userBlockedByAdmin

The request is denied because the user is from a Google Workspace customer that blocks their users from accessing a particular service.

Example scenario: https://support.google.com/a/answer/9197205?hl=en

Example of an ErrorInfo when access to Google Cloud Storage service is blocked by the Google Workspace administrator:

{ "reason": "USER_BLOCKED_BY_ADMIN",
  "domain": "googleapis.com",
  "metadata": {
    "service": "storage.googleapis.com",
    "method": "google.storage.v1.Storage.GetObject",
  }
}

Implementation

static const userBlockedByAdmin = ErrorReason('USER_BLOCKED_BY_ADMIN');