# Google Workspace Events V1 API - Module Google::Apps::Events::Subscriptions::V1::Subscription::State (v0.8.0)

0.8.0 (latest) 0.7.0 0.6.1 0.5.0 0.4.0 0.3.1 0.2.0 0.1.1 Reference documentation and code samples for the Google Workspace Events V1 API module Google::Apps::Events::Subscriptions::V1::Subscription::State.

Possible states for the subscription.

## Constants

### STATE_UNSPECIFIED

**value:** 0  
Default value. This value is unused.

### ACTIVE

**value:** 1  
The subscription is active and can receive and deliver events to its
notification endpoint.

### SUSPENDED

**value:** 2  
The subscription is unable to receive events due to an error.
To identify the error, see the
[`suspension_reason`](https://docs.cloud.google.com/ruby/docs/reference/google-apps-events-subscriptions-v1/latest/Google-Apps-Events-Subscriptions-V1-Subscription#Google__Apps__Events__Subscriptions__V1__Subscription_suspension_reason_instance_ "Google::Apps::Events::Subscriptions::V1::Subscription#suspension_reason (method)")
field.

### DELETED

**value:** 3  
The subscription is deleted.