2.8.0 (latest) 2.7.0 2.6.0 2.5.0 2.4.0 2.3.0 2.2.0 2.1.0 2.0.0 1.2.0 1.1.0 1.0.0

    public sealed class ReplicaConfig : IMessage<ReplicaConfig>, IEquatable<ReplicaConfig>, IDeepCloneable<ReplicaConfig>, IBufferMessage, IMessage

Reference documentation and code samples for the Cloud Filestore v1 API class ReplicaConfig.

Replica configuration for the instance.

## Inheritance

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

## Implements

[IMessage](https://docs.cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.md.txt)[ReplicaConfig](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Filestore.V1/latest/Google.Cloud.Filestore.V1.ReplicaConfig.md.txt), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[ReplicaConfig](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Filestore.V1/latest/Google.Cloud.Filestore.V1.ReplicaConfig.md.txt), [IDeepCloneable](https://docs.cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.md.txt)[ReplicaConfig](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Filestore.V1/latest/Google.Cloud.Filestore.V1.ReplicaConfig.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.Filestore.V1](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Filestore.V1/latest/Google.Cloud.Filestore.V1.md.txt)

## Assembly

Google.Cloud.Filestore.V1.dll

## Constructors

### ReplicaConfig()

    public ReplicaConfig()

### ReplicaConfig(ReplicaConfig)

    public ReplicaConfig(ReplicaConfig other)

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

## Properties

### LastActiveSyncTime

    public Timestamp LastActiveSyncTime { get; set; }

Output only. The timestamp of the latest replication snapshot taken on the
active instance and is already replicated safely.

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

### PeerInstance

    public string PeerInstance { get; set; }

Optional. The peer instance.

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

### PeerInstanceAsInstanceName

    public InstanceName PeerInstanceAsInstanceName { get; set; }

[InstanceName](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Filestore.V1/latest/Google.Cloud.Filestore.V1.InstanceName.md.txt)-typed view over the [PeerInstance](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Filestore.V1/latest/Google.Cloud.Filestore.V1.ReplicaConfig.md.txt#Google_Cloud_Filestore_V1_ReplicaConfig_PeerInstance) resource name property.

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

### State

    public ReplicaConfig.Types.State State { get; set; }

Output only. The replica state.

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

### StateReasons

    public RepeatedField<ReplicaConfig.Types.StateReason> StateReasons { get; }

Output only. Additional information about the replication state, if
available.

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