state property

String? state
getter/setter pair

The state of the subscription.

Determines whether the subscription can receive events and deliver them to the notification endpoint.

Output only. Possible string values are:

  • "STATE_UNSPECIFIED" : Default value. This value is unused.
  • "ACTIVE" : The subscription is active and can receive and deliver events to its notification endpoint.
  • "SUSPENDED" : The subscription is unable to receive events due to an error. To identify the error, see the suspension_reason field.
  • "DELETED" : The subscription is deleted.

Implementation

core.String? state;