Reference documentation and code samples for the Google Cloud Filestore V1 Client class ReplicaConfig.
Replica configuration for the instance.
Generated from protobuf message google.cloud.filestore.v1.ReplicaConfig
Namespace
Google \ Cloud \ Filestore \ V1Methods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ state
int
Output only. The replica state.
↳ state_reasons
array
Output only. Additional information about the replication state, if available.
↳ peer_instance
string
Optional. The peer instance.
↳ last_active_sync_time
Google\Protobuf\Timestamp
Output only. The timestamp of the latest replication snapshot taken on the active instance and is already replicated safely.
getState
Output only. The replica state.
int
setState
Output only. The replica state.
var
int
$this
getStateReasons
Output only. Additional information about the replication state, if available.
setStateReasons
Output only. Additional information about the replication state, if available.
var
int[]
$this
getPeerInstance
Optional. The peer instance.
string
setPeerInstance
Optional. The peer instance.
var
string
$this
getLastActiveSyncTime
Output only. The timestamp of the latest replication snapshot taken on the active instance and is already replicated safely.
hasLastActiveSyncTime
clearLastActiveSyncTime
setLastActiveSyncTime
Output only. The timestamp of the latest replication snapshot taken on the active instance and is already replicated safely.
$this