suspensionReason property

String? suspensionReason
getter/setter pair

The error that suspended the subscription.

To reactivate the subscription, resolve the error and call the ReactivateSubscription method.

Output only. Possible string values are:

  • "ERROR_TYPE_UNSPECIFIED" : Default value. This value is unused.
  • "USER_SCOPE_REVOKED" : The authorizing user has revoked the grant of one or more OAuth scopes. To learn more about authorization for Google Workspace, see Configure the OAuth consent screen.
  • "RESOURCE_DELETED" : The target resource for the subscription no longer exists.
  • "USER_AUTHORIZATION_FAILURE" : The user that authorized the creation of the subscription no longer has access to the subscription's target resource.
  • "ENDPOINT_PERMISSION_DENIED" : The Google Workspace application doesn't have access to deliver events to your subscription's notification endpoint.
  • "ENDPOINT_NOT_FOUND" : The subscription's notification endpoint doesn't exist, or the endpoint can't be found in the Google Cloud project where you created the subscription.
  • "ENDPOINT_RESOURCE_EXHAUSTED" : The subscription's notification endpoint failed to receive events due to insufficient quota or reaching rate limiting.
  • "OTHER" : An unidentified error has occurred.

Implementation

core.String? suspensionReason;