Class State (2.26.0)

State(value)

Possible states for a BigQuery subscription.

    -  Pub/Sub SA has not been granted the `appropriate BigQuery
       IAM
       permissions <https://cloud.google.com/pubsub/docs/create-subscription#assign_bigquery_service_account>`__
    -  bigquery.googleapis.com API is not enabled for the
       project
       (`instructions <https://cloud.google.com/service-usage/docs/enable-disable>`__)
NOT_FOUND (3):
    Cannot write to the BigQuery table because it
    does not exist.
SCHEMA_MISMATCH (4):
    Cannot write to the BigQuery table due to a
    schema mismatch.
IN_TRANSIT_LOCATION_RESTRICTION (5):
    Cannot write to the destination because enforce_in_transit
    is set to true and the destination locations are not in the
    allowed regions.

Enums

Name Description
STATE_UNSPECIFIED Default value. This value is unused.
ACTIVE The subscription can actively send messages to BigQuery
PERMISSION_DENIED Cannot write to the BigQuery table because of permission denied errors. This can happen if