Reference documentation and code samples for the Cloud SQL Admin V1 API class Google::Cloud::Sql::V1::SqlInstancesSwitchoverRequest.
Instance switchover request.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#db_timeout
def db_timeout() -> ::Google::Protobuf::Duration
Returns
- (::Google::Protobuf::Duration) — Optional. (MySQL and PostgreSQL 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.
#db_timeout=
def db_timeout=(value) -> ::Google::Protobuf::Duration
Parameter
- value (::Google::Protobuf::Duration) — Optional. (MySQL and PostgreSQL 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.
Returns
- (::Google::Protobuf::Duration) — Optional. (MySQL and PostgreSQL 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.
#instance
def instance() -> ::String
Returns
- (::String) — Cloud SQL read replica instance name.
#instance=
def instance=(value) -> ::String
Parameter
- value (::String) — Cloud SQL read replica instance name.
Returns
- (::String) — Cloud SQL read replica instance name.
#project
def project() -> ::String
Returns
- (::String) — ID of the project that contains the replica.
#project=
def project=(value) -> ::String
Parameter
- value (::String) — ID of the project that contains the replica.
Returns
- (::String) — ID of the project that contains the replica.