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

1.12.0 (latest) 1.11.0 1.10.0 1.9.2 1.8.0 1.7.0 1.6.0 1.5.0 1.4.1 1.3.0 1.2.0 1.1.0 1.0.1 0.12.0 0.11.2 0.10.0 0.9.0 0.8.1 0.7.0 0.6.0 0.5.0 0.4.2 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 are pending 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.