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 : IMessage<CrossClusterReplicationConfig>, IEquatable<CrossClusterReplicationConfig>, IDeepCloneable<CrossClusterReplicationConfig>, IBufferMessage, IMessage

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

Cross cluster replication config.

## Inheritance

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

## 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), [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), [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), [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

### CrossClusterReplicationConfig()

    public CrossClusterReplicationConfig()

### CrossClusterReplicationConfig(CrossClusterReplicationConfig)

    public CrossClusterReplicationConfig(CrossClusterReplicationConfig other)

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

## Properties

### ClusterRole

    public CrossClusterReplicationConfig.Types.ClusterRole ClusterRole { get; set; }

The role of the cluster in cross cluster replication.

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

### Membership

    public CrossClusterReplicationConfig.Types.Membership Membership { get; set; }

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.

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

### PrimaryCluster

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

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.

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

### SecondaryClusters

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

List of secondary clusters that are replicating from this primary cluster.

This field is only set for a primary cluster.

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

### UpdateTime

    public Timestamp UpdateTime { get; set; }

Output only. The last time cross cluster replication config was updated.

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