Reference documentation and code samples for the Cloud SQL Admin V1 API class Google::Cloud::Sql::V1::DatabaseInstance::SqlFailoverReplica.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#available
def available() -> ::Google::Protobuf::BoolValue
Returns
- (::Google::Protobuf::BoolValue) — The availability status of the failover replica. A false status indicates that the failover replica is out of sync. The primary instance can only failover to the failover replica when the status is true.
#available=
def available=(value) -> ::Google::Protobuf::BoolValue
Parameter
- value (::Google::Protobuf::BoolValue) — The availability status of the failover replica. A false status indicates that the failover replica is out of sync. The primary instance can only failover to the failover replica when the status is true.
Returns
- (::Google::Protobuf::BoolValue) — The availability status of the failover replica. A false status indicates that the failover replica is out of sync. The primary instance can only failover to the failover replica when the status is true.
#name
def name() -> ::String
Returns
- (::String) — The name of the failover replica. If specified at instance creation, a failover replica is created for the instance. The name doesn't include the project ID.
#name=
def name=(value) -> ::String
Parameter
- value (::String) — The name of the failover replica. If specified at instance creation, a failover replica is created for the instance. The name doesn't include the project ID.
Returns
- (::String) — The name of the failover replica. If specified at instance creation, a failover replica is created for the instance. The name doesn't include the project ID.