Reference documentation and code samples for the Cloud Pub/Sub V1 API module Google::Cloud::PubSub::V1::BigtableConfig::State.
Possible states for a Bigtable subscription. Note: more states could be added in the future. Please code accordingly.
Constants
STATE_UNSPECIFIED
value: 0
Default value. This value is unused.
ACTIVE
value: 1
The subscription can actively send messages to Bigtable.
NOT_FOUND
value: 2
Cannot write to Bigtable because the instance, table, or app profile
does not exist.
APP_PROFILE_MISCONFIGURED
value: 3
Cannot write to Bigtable because the app profile is not configured for
single-cluster routing.
PERMISSION_DENIED
value: 4
Cannot write to Bigtable because of permission denied errors. This can happen if:
- The Pub/Sub service agent has not been granted the appropriate Bigtable IAM permission bigtable.tables.mutateRows
- The bigtable.googleapis.com API is not enabled for the project (instructions)
SCHEMA_MISMATCH
value: 5
Cannot write to Bigtable because of a missing column family ("data") or
if there is no structured row key for the subscription name + message ID.
IN_TRANSIT_LOCATION_RESTRICTION
value: 6
Cannot write to the destination because enforce_in_transit is set to true
and the destination locations are not in the allowed regions.
VERTEX_AI_LOCATION_RESTRICTION
value: 7
Cannot write to Bigtable because the table is not in the same location as
where Vertex AI models used in message_transforms are deployed.