Google Cloud Memorystore for Redis V1 API - Class Google::Cloud::Redis::Cluster::V1::CrossClusterReplicationConfig (v0.6.0)

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
Returns

#cluster_role=

def cluster_role=(value) -> ::Google::Cloud::Redis::Cluster::V1::CrossClusterReplicationConfig::ClusterRole
Parameter
Returns

#membership

def membership() -> ::Google::Cloud::Redis::Cluster::V1::CrossClusterReplicationConfig::Membership
Returns
  • (::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
Returns

#primary_cluster=

def primary_cluster=(value) -> ::Google::Cloud::Redis::Cluster::V1::CrossClusterReplicationConfig::RemoteCluster
Parameter
Returns

#secondary_clusters

def secondary_clusters() -> ::Array<::Google::Cloud::Redis::Cluster::V1::CrossClusterReplicationConfig::RemoteCluster>
Returns

#secondary_clusters=

def secondary_clusters=(value) -> ::Array<::Google::Cloud::Redis::Cluster::V1::CrossClusterReplicationConfig::RemoteCluster>
Parameter
Returns

#update_time

def update_time() -> ::Google::Protobuf::Timestamp
Returns