# Google Cloud Memorystore for Redis V1 API - Class Google::Cloud::Redis::Cluster::V1::CrossClusterReplicationConfig::Membership (v1.7.0)

1.7.0 (latest) 1.6.0 1.5.1 1.4.0 1.3.1 1.2.0 1.1.0 1.0.1 0.6.0 0.5.0 0.4.2 0.3.0 0.2.2 0.1.0 Reference documentation and code samples for the Google Cloud Memorystore for Redis V1 API class Google::Cloud::Redis::Cluster::V1::CrossClusterReplicationConfig::Membership.

An output only view of all the member clusters participating in the cross
cluster replication.

## Inherits

- Object

## Extended By

- Google::Protobuf::MessageExts::ClassMethods

## Includes

- Google::Protobuf::MessageExts

## Methods

### #primary_cluster

    def primary_cluster() -> ::Google::Cloud::Redis::Cluster::V1::CrossClusterReplicationConfig::RemoteCluster

**Returns**

- ([::Google::Cloud::Redis::Cluster::V1::CrossClusterReplicationConfig::RemoteCluster](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-redis-cluster-v1/latest/Google-Cloud-Redis-Cluster-V1-CrossClusterReplicationConfig-RemoteCluster)) --- Output only. The primary cluster that acts as the source of replication for the secondary clusters.

### #secondary_clusters

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

**Returns**

- (::Array\<[::Google::Cloud::Redis::Cluster::V1::CrossClusterReplicationConfig::RemoteCluster](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-redis-cluster-v1/latest/Google-Cloud-Redis-Cluster-V1-CrossClusterReplicationConfig-RemoteCluster)\>) --- Output only. The list of secondary clusters replicating from the primary cluster.