Cloud Pub/Sub V1 API - Module Google::Cloud::PubSub::V1::Subscription::State (v0.22.0)

Reference documentation and code samples for the Cloud Pub/Sub V1 API module Google::Cloud::PubSub::V1::Subscription::State.

Possible states for a subscription.

Constants

STATE_UNSPECIFIED

value: 0
Default value. This value is unused.

ACTIVE

value: 1
The subscription can actively receive messages

RESOURCE_ERROR

value: 2
The subscription cannot receive messages because of an error with the resource to which it pushes messages. See the more detailed error state in the corresponding configuration.