BigQuery Reservation V1 API - Module Google::Cloud::Bigquery::Reservation::V1::FailoverMode (v1.7.0)

Reference documentation and code samples for the BigQuery Reservation V1 API module Google::Cloud::Bigquery::Reservation::V1::FailoverMode.

The failover mode when a user initiates a failover on a reservation determines how writes that arepending replication are handled after the failover is initiated.

Constants

FAILOVER_MODE_UNSPECIFIED

value: 0
Invalid value.

SOFT

value: 1
When customers initiate a soft failover, BigQuery will wait until all committed writes are replicated to the secondary. This mode requires both regions to be available for the failover to succeed and prevents data loss.

HARD

value: 2
When customers initiate a hard failover, BigQuery will not wait until all committed writes are replicated to the secondary. There can be data loss for hard failover.