Cloud Pub/Sub V1 API - Module Google::Cloud::PubSub::V1::CloudStorageConfig::State (v1.1.1)

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

Possible states for a Cloud Storage subscription.

Constants

STATE_UNSPECIFIED

value: 0
Default value. This value is unused.

ACTIVE

value: 1
The subscription can actively send messages to Cloud Storage.

PERMISSION_DENIED

value: 2
Cannot write to the Cloud Storage bucket because of permission denied errors.

NOT_FOUND

value: 3
Cannot write to the Cloud Storage bucket because it does not exist.

IN_TRANSIT_LOCATION_RESTRICTION

value: 4
Cannot write to the destination because enforce_in_transit is set to true and the destination locations are not in the allowed regions.

SCHEMA_MISMATCH

value: 5
Cannot write to the Cloud Storage bucket due to an incompatibility between the topic schema and subscription settings.