Cloud SQL Admin V1BETA4 API - Class Google::Cloud::Sql::V1beta4::SqlInstancesPromoteReplicaRequest (v0.3.0)

Reference documentation and code samples for the Cloud SQL Admin V1BETA4 API class Google::Cloud::Sql::V1beta4::SqlInstancesPromoteReplicaRequest.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#failover

def failover() -> ::Boolean
Returns
  • (::Boolean) — Set to true to invoke a replica failover to the DR replica. As part of replica failover, the promote operation attempts to add the original primary instance as a replica of the promoted DR replica when the original primary instance comes back online. If set to false or not specified, then the original primary instance becomes an independent Cloud SQL primary instance.

#failover=

def failover=(value) -> ::Boolean
Parameter
  • value (::Boolean) — Set to true to invoke a replica failover to the DR replica. As part of replica failover, the promote operation attempts to add the original primary instance as a replica of the promoted DR replica when the original primary instance comes back online. If set to false or not specified, then the original primary instance becomes an independent Cloud SQL primary instance.
Returns
  • (::Boolean) — Set to true to invoke a replica failover to the DR replica. As part of replica failover, the promote operation attempts to add the original primary instance as a replica of the promoted DR replica when the original primary instance comes back online. If set to false or not specified, then the original primary instance becomes an independent Cloud SQL primary instance.

#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.

#location

def location() -> ::String
Returns
  • (::String) — Optional. Region of the Cloud SQL instance.

#location=

def location=(value) -> ::String
Parameter
  • value (::String) — Optional. Region of the Cloud SQL instance.
Returns
  • (::String) — Optional. Region of the Cloud SQL instance.

#project

def project() -> ::String
Returns
  • (::String) — ID of the project that contains the read replica.

#project=

def project=(value) -> ::String
Parameter
  • value (::String) — ID of the project that contains the read replica.
Returns
  • (::String) — ID of the project that contains the read replica.