Reference documentation and code samples for the Cloud Pub/Sub V1 API module Google::Cloud::PubSub::V1::BigQueryConfig::State.
Possible states for a BigQuery subscription.
Constants
STATE_UNSPECIFIED
value: 0
Default value. This value is unused.
ACTIVE
value: 1
The subscription can actively send messages to BigQuery
PERMISSION_DENIED
value: 2
Cannot write to the BigQuery table because of permission denied errors. This can happen if
- Pub/Sub SA has not been granted the appropriate BigQuery IAM permissions
- bigquery.googleapis.com API is not enabled for the project (instructions)
NOT_FOUND
value: 3
Cannot write to the BigQuery table because it does not exist.
SCHEMA_MISMATCH
value: 4
Cannot write to the BigQuery table due to a schema mismatch.
IN_TRANSIT_LOCATION_RESTRICTION
value: 5
Cannot write to the destination because enforce_in_transit is set to true
and the destination locations are not in the allowed regions.