1.11.0 (latest) 1.10.0 1.9.0 1.8.0 1.7.0 1.6.0 1.5.0 1.4.0 1.3.0 1.2.0 1.1.0 1.0.0

    public sealed class CrossClusterReplicationConfig.Types.Membership : IMessage<CrossClusterReplicationConfig.Types.Membership>, IEquatable<CrossClusterReplicationConfig.Types.Membership>, IDeepCloneable<CrossClusterReplicationConfig.Types.Membership>, IBufferMessage, IMessage

Reference documentation and code samples for the Google Cloud Memorystore for Redis (cluster management) v1 API class CrossClusterReplicationConfig.Types.Membership.

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

## Inheritance

[object](https://learn.microsoft.com/dotnet/api/system.object) \> CrossClusterReplicationConfig.Types.Membership

## Implements

[IMessage](https://docs.cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.md.txt)[CrossClusterReplicationConfig](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Redis.Cluster.V1/latest/Google.Cloud.Redis.Cluster.V1.CrossClusterReplicationConfig.md.txt)[Types](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Redis.Cluster.V1/latest/Google.Cloud.Redis.Cluster.V1.CrossClusterReplicationConfig.Types.md.txt)[Membership](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Redis.Cluster.V1/latest/Google.Cloud.Redis.Cluster.V1.CrossClusterReplicationConfig.Types.Membership.md.txt), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[CrossClusterReplicationConfig](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Redis.Cluster.V1/latest/Google.Cloud.Redis.Cluster.V1.CrossClusterReplicationConfig.md.txt)[Types](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Redis.Cluster.V1/latest/Google.Cloud.Redis.Cluster.V1.CrossClusterReplicationConfig.Types.md.txt)[Membership](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Redis.Cluster.V1/latest/Google.Cloud.Redis.Cluster.V1.CrossClusterReplicationConfig.Types.Membership.md.txt), [IDeepCloneable](https://docs.cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.md.txt)[CrossClusterReplicationConfig](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Redis.Cluster.V1/latest/Google.Cloud.Redis.Cluster.V1.CrossClusterReplicationConfig.md.txt)[Types](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Redis.Cluster.V1/latest/Google.Cloud.Redis.Cluster.V1.CrossClusterReplicationConfig.Types.md.txt)[Membership](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Redis.Cluster.V1/latest/Google.Cloud.Redis.Cluster.V1.CrossClusterReplicationConfig.Types.Membership.md.txt), [IBufferMessage](https://docs.cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IBufferMessage.md.txt), [IMessage](https://docs.cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage.md.txt)

## Inherited Members

[object.GetHashCode()](https://learn.microsoft.com/dotnet/api/system.object.gethashcode) [object.GetType()](https://learn.microsoft.com/dotnet/api/system.object.gettype) [object.ToString()](https://learn.microsoft.com/dotnet/api/system.object.tostring)

## Namespace

[Google.Cloud.Redis.Cluster.V1](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Redis.Cluster.V1/latest/Google.Cloud.Redis.Cluster.V1.md.txt)

## Assembly

Google.Cloud.Redis.Cluster.V1.dll

## Constructors

### Membership()

    public Membership()

### Membership(Membership)

    public Membership(CrossClusterReplicationConfig.Types.Membership other)

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `other` | `CrossClusterReplicationConfigTypesMembership` |

## Properties

### PrimaryCluster

    public CrossClusterReplicationConfig.Types.RemoteCluster PrimaryCluster { get; set; }

Output only. The primary cluster that acts as the source of replication
for the secondary clusters.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `CrossClusterReplicationConfigTypesRemoteCluster` |   |

### SecondaryClusters

    public RepeatedField<CrossClusterReplicationConfig.Types.RemoteCluster> SecondaryClusters { get; }

Output only. The list of secondary clusters replicating from the primary
cluster.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `RepeatedFieldCrossClusterReplicationConfigTypesRemoteCluster` |   |