Reference documentation and code samples for the Google BigQuery Reservation V1 Client class FailoverReservationRequest.
The request for ReservationService.FailoverReservation.
Generated from protobuf message google.cloud.bigquery.reservation.v1.FailoverReservationRequest
Namespace
Google \ Cloud \ BigQuery \ Reservation \ V1Methods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ name |
string
Required. Resource name of the reservation to failover. E.g., |
↳ failover_mode |
int
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. |
getName
Required. Resource name of the reservation to failover. E.g.,
projects/myproject/locations/US/reservations/team1-prod
| Returns | |
|---|---|
| Type | Description |
string |
|
setName
Required. Resource name of the reservation to failover. E.g.,
projects/myproject/locations/US/reservations/team1-prod
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getFailoverMode
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 | |
|---|---|
| Type | Description |
int |
Enum of type FailoverMode. |
setFailoverMode
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.
| Parameter | |
|---|---|
| Name | Description |
var |
int
Enum of type FailoverMode. |
| Returns | |
|---|---|
| Type | Description |
$this |
|