Reference documentation and code samples for the Google Cloud Memorystore for Redis V1 API class Google::Cloud::Redis::Cluster::V1::CrossClusterReplicationConfig.
Cross cluster replication config.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#cluster_role
def cluster_role() -> ::Google::Cloud::Redis::Cluster::V1::CrossClusterReplicationConfig::ClusterRole
- (::Google::Cloud::Redis::Cluster::V1::CrossClusterReplicationConfig::ClusterRole) — The role of the cluster in cross cluster replication.
#cluster_role=
def cluster_role=(value) -> ::Google::Cloud::Redis::Cluster::V1::CrossClusterReplicationConfig::ClusterRole
- value (::Google::Cloud::Redis::Cluster::V1::CrossClusterReplicationConfig::ClusterRole) — The role of the cluster in cross cluster replication.
- (::Google::Cloud::Redis::Cluster::V1::CrossClusterReplicationConfig::ClusterRole) — The role of the cluster in cross cluster replication.
#membership
def membership() -> ::Google::Cloud::Redis::Cluster::V1::CrossClusterReplicationConfig::Membership
-
(::Google::Cloud::Redis::Cluster::V1::CrossClusterReplicationConfig::Membership) — Output only. An output only view of all the member clusters participating
in the cross cluster replication. This view will be provided by every
member cluster irrespective of its cluster role(primary or secondary).
A primary cluster can provide information about all the secondary clusters replicating from it. However, a secondary cluster only knows about the primary cluster from which it is replicating. However, for scenarios, where the primary cluster is unavailable(e.g. regional outage), a GetCluster request can be sent to any other member cluster and this field will list all the member clusters participating in cross cluster replication.
#primary_cluster
def primary_cluster() -> ::Google::Cloud::Redis::Cluster::V1::CrossClusterReplicationConfig::RemoteCluster
-
(::Google::Cloud::Redis::Cluster::V1::CrossClusterReplicationConfig::RemoteCluster) — Details of the primary cluster that is used as the replication source for
this secondary cluster.
This field is only set for a secondary cluster.
#primary_cluster=
def primary_cluster=(value) -> ::Google::Cloud::Redis::Cluster::V1::CrossClusterReplicationConfig::RemoteCluster
-
value (::Google::Cloud::Redis::Cluster::V1::CrossClusterReplicationConfig::RemoteCluster) — Details of the primary cluster that is used as the replication source for
this secondary cluster.
This field is only set for a secondary cluster.
-
(::Google::Cloud::Redis::Cluster::V1::CrossClusterReplicationConfig::RemoteCluster) — Details of the primary cluster that is used as the replication source for
this secondary cluster.
This field is only set for a secondary cluster.
#secondary_clusters
def secondary_clusters() -> ::Array<::Google::Cloud::Redis::Cluster::V1::CrossClusterReplicationConfig::RemoteCluster>
-
(::Array<::Google::Cloud::Redis::Cluster::V1::CrossClusterReplicationConfig::RemoteCluster>) — List of secondary clusters that are replicating from this primary cluster.
This field is only set for a primary cluster.
#secondary_clusters=
def secondary_clusters=(value) -> ::Array<::Google::Cloud::Redis::Cluster::V1::CrossClusterReplicationConfig::RemoteCluster>
-
value (::Array<::Google::Cloud::Redis::Cluster::V1::CrossClusterReplicationConfig::RemoteCluster>) — List of secondary clusters that are replicating from this primary cluster.
This field is only set for a primary cluster.
-
(::Array<::Google::Cloud::Redis::Cluster::V1::CrossClusterReplicationConfig::RemoteCluster>) — List of secondary clusters that are replicating from this primary cluster.
This field is only set for a primary cluster.
#update_time
def update_time() -> ::Google::Protobuf::Timestamp
- (::Google::Protobuf::Timestamp) — Output only. The last time cross cluster replication config was updated.