class Google::Apis::SqladminV1beta4::DatabaseInstance::FailoverReplica
The name and status of the failover replica. This property is applicable only to Second Generation instances.
Attributes
available[RW]
The availability status of the failover replica. A false status indicates that the failover replica is out of sync. The master can only failover to the falover replica when the status is true. Corresponds to the JSON property `available` @return [Boolean]
available?[RW]
The availability status of the failover replica. A false status indicates that the failover replica is out of sync. The master can only failover to the falover replica when the status is true. Corresponds to the JSON property `available` @return [Boolean]
name[RW]
The name of the failover replica. Corresponds to the JSON property `name` @return [String]
Public Class Methods
new(**args)
click to toggle source
# File generated/google/apis/sqladmin_v1beta4/classes.rb, line 563 def initialize(**args) update!(**args) end
Public Instance Methods
update!(**args)
click to toggle source
Update properties of this object
# File generated/google/apis/sqladmin_v1beta4/classes.rb, line 568 def update!(**args) @available = args[:available] if args.key?(:available) @name = args[:name] if args.key?(:name) end