Module: Google::Cloud::PubSub::V1::BigQueryConfig::State
- Defined in:
- proto_docs/google/pubsub/v1/pubsub.rb
Overview
Possible states for a BigQuery subscription.
Constant Summary collapse
- STATE_UNSPECIFIED =
Default value. This value is unused.
0
- ACTIVE =
The subscription can actively send messages to BigQuery
1
- PERMISSION_DENIED =
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)
2
- NOT_FOUND =
Cannot write to the BigQuery table because it does not exist.
3
- SCHEMA_MISMATCH =
Cannot write to the BigQuery table due to a schema mismatch.
4
- IN_TRANSIT_LOCATION_RESTRICTION =
Cannot write to the destination because enforce_in_transit is set to true and the destination locations are not in the allowed regions.
5