Reference documentation and code samples for the BigQuery Reservation V1 API class Google::Cloud::Bigquery::Reservation::V1::FailoverReservationRequest.
The request for ReservationService.FailoverReservation.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#failover_mode
def failover_mode() -> ::Google::Cloud::Bigquery::Reservation::V1::FailoverMode
Returns
- (::Google::Cloud::Bigquery::Reservation::V1::FailoverMode) — Optional. A parameter that determines how writes that are pending replication are handled after a failover is initiated. If not specified, HARD failover mode is used by default.
#failover_mode=
def failover_mode=(value) -> ::Google::Cloud::Bigquery::Reservation::V1::FailoverMode
Parameter
- value (::Google::Cloud::Bigquery::Reservation::V1::FailoverMode) — Optional. A parameter that determines how writes that are pending replication are handled after a failover is initiated. If not specified, HARD failover mode is used by default.
Returns
- (::Google::Cloud::Bigquery::Reservation::V1::FailoverMode) — Optional. A parameter that determines how writes that are pending replication are handled after a failover is initiated. If not specified, HARD failover mode is used by default.
#name
def name() -> ::String
Returns
-
(::String) — Required. Resource name of the reservation to failover. E.g.,
projects/myproject/locations/US/reservations/team1-prod
#name=
def name=(value) -> ::String
Parameter
-
value (::String) — Required. Resource name of the reservation to failover. E.g.,
projects/myproject/locations/US/reservations/team1-prod
Returns
-
(::String) — Required. Resource name of the reservation to failover. E.g.,
projects/myproject/locations/US/reservations/team1-prod