# Filestore V1 API - Class Google::Cloud::Filestore::V1::ReplicaConfig (v2.7.0)

2.7.0 (latest) 2.6.1 2.5.0 2.4.1 2.3.1 2.2.0 2.1.1 2.0.0 1.2.0 1.1.0 1.0.1 0.9.0 0.8.2 0.7.0 0.6.0 0.5.0 0.4.1 0.3.0 0.2.0 0.1.3 Reference documentation and code samples for the Filestore V1 API class Google::Cloud::Filestore::V1::ReplicaConfig.

Replica configuration for the instance.

## Inherits

- Object

## Extended By

- Google::Protobuf::MessageExts::ClassMethods

## Includes

- Google::Protobuf::MessageExts

## Methods

### #last_active_sync_time

    def last_active_sync_time() -> ::Google::Protobuf::Timestamp

**Returns**

- ([::Google::Protobuf::Timestamp](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-filestore-v1/latest/Google-Protobuf-Timestamp)) --- Output only. The timestamp of the latest replication snapshot taken on the active instance and is already replicated safely.

### #peer_instance

    def peer_instance() -> ::String

**Returns**

- (::String) --- Optional. The peer instance.

### #peer_instance=

    def peer_instance=(value) -> ::String

**Parameter**

- **value** (::String) --- Optional. The peer instance.
**Returns**

- (::String) --- Optional. The peer instance.

### #state

    def state() -> ::Google::Cloud::Filestore::V1::ReplicaConfig::State

**Returns**

- ([::Google::Cloud::Filestore::V1::ReplicaConfig::State](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-filestore-v1/latest/Google-Cloud-Filestore-V1-ReplicaConfig-State)) --- Output only. The replica state.

### #state_reasons

    def state_reasons() -> ::Array<::Google::Cloud::Filestore::V1::ReplicaConfig::StateReason>

**Returns**

- (::Array\<[::Google::Cloud::Filestore::V1::ReplicaConfig::StateReason](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-filestore-v1/latest/Google-Cloud-Filestore-V1-ReplicaConfig-StateReason)\>) --- Output only. Additional information about the replication state, if available.