Reference documentation and code samples for the Google Cloud Sql Admin V1beta4 Client class ReplicationCluster.
Primary-DR replica pair
Generated from protobuf message google.cloud.sql.v1beta4.ReplicationCluster
Namespace
Google \ Cloud \ Sql \ V1beta4Methods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ failover_dr_replica_name
string
Optional. If the instance is a primary instance, then this field identifies the disaster recovery (DR) replica. A DR replica is an optional configuration for Enterprise Plus edition instances. If the instance is a read replica, then the field is not set. Users can set this field to set a designated DR replica for a primary. Removing this field removes the DR replica.
↳ dr_replica
bool
Output only. read-only field that indicates if the replica is a dr_replica; not set for a primary.
getFailoverDrReplicaName
Optional. If the instance is a primary instance, then this field identifies the disaster recovery (DR) replica. A DR replica is an optional configuration for Enterprise Plus edition instances. If the instance is a read replica, then the field is not set. Users can set this field to set a designated DR replica for a primary. Removing this field removes the DR replica.
string
hasFailoverDrReplicaName
clearFailoverDrReplicaName
setFailoverDrReplicaName
Optional. If the instance is a primary instance, then this field identifies the disaster recovery (DR) replica. A DR replica is an optional configuration for Enterprise Plus edition instances. If the instance is a read replica, then the field is not set. Users can set this field to set a designated DR replica for a primary. Removing this field removes the DR replica.
var
string
$this
getDrReplica
Output only. read-only field that indicates if the replica is a dr_replica; not set for a primary.
bool
hasDrReplica
clearDrReplica
setDrReplica
Output only. read-only field that indicates if the replica is a dr_replica; not set for a primary.
var
bool
$this