# Google Apps Events Subscriptions V1 Client - Class State (0.4.4)

0.4.4 (latest) 0.4.3 0.3.1 0.2.1 0.1.6 Reference documentation and code samples for the Google Apps Events Subscriptions V1 Client class State.

Possible states for the subscription.

Protobuf type `google.apps.events.subscriptions.v1.Subscription.State`

## Namespace

Google \\ Apps \\ Events \\ Subscriptions \\ V1 \\ Subscription

## Methods

### static::name

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `value` | `mixed` |

### static::value

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `name` | `mixed` |

## Constants

### STATE_UNSPECIFIED

    Value: 0

Default value. This value is unused.

Generated from protobuf enum `STATE_UNSPECIFIED = 0;`

### ACTIVE

    Value: 1

The subscription is active and can receive and deliver events to its
notification endpoint.

Generated from protobuf enum `ACTIVE = 1;`

### 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/php/docs/reference/apps-events-subscriptions/latest/V1.Subscription#_Google_Apps_Events_Subscriptions_V1_Subscription__getSuspensionReason__)
field.

Generated from protobuf enum `SUSPENDED = 2;`

### DELETED

    Value: 3

The subscription is deleted.

Generated from protobuf enum `DELETED = 3;`