Reference documentation and code samples for the Google Cloud Sql Admin V1 Client class SqlInstancesSwitchoverRequest.
Instance switchover request.
Generated from protobuf message google.cloud.sql.v1.SqlInstancesSwitchoverRequest
Namespace
Google \ Cloud \ Sql \ V1Methods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ instance
string
Cloud SQL read replica instance name.
↳ project
string
ID of the project that contains the replica.
↳ db_timeout
Google\Protobuf\Duration
Optional. (MySQL only) Cloud SQL instance operations timeout, which is a sum of all database operations. Default value is 10 minutes and can be modified to a maximum value of 24 hours.
getInstance
Cloud SQL read replica instance name.
string
setInstance
Cloud SQL read replica instance name.
var
string
$this
getProject
ID of the project that contains the replica.
string
setProject
ID of the project that contains the replica.
var
string
$this
getDbTimeout
Optional. (MySQL only) Cloud SQL instance operations timeout, which is a sum of all database operations. Default value is 10 minutes and can be modified to a maximum value of 24 hours.
hasDbTimeout
clearDbTimeout
setDbTimeout
Optional. (MySQL only) Cloud SQL instance operations timeout, which is a sum of all database operations. Default value is 10 minutes and can be modified to a maximum value of 24 hours.
$this