Memorystore V1 API - Class Google::Cloud::Memorystore::V1::CrossInstanceReplicationConfig (v1.2.0)

Reference documentation and code samples for the Memorystore V1 API class Google::Cloud::Memorystore::V1::CrossInstanceReplicationConfig.

Cross instance replication config.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#instance_role

def instance_role() -> ::Google::Cloud::Memorystore::V1::CrossInstanceReplicationConfig::InstanceRole
Returns

#instance_role=

def instance_role=(value) -> ::Google::Cloud::Memorystore::V1::CrossInstanceReplicationConfig::InstanceRole
Parameter
Returns

#membership

def membership() -> ::Google::Cloud::Memorystore::V1::CrossInstanceReplicationConfig::Membership
Returns
  • (::Google::Cloud::Memorystore::V1::CrossInstanceReplicationConfig::Membership) — Output only. An output only view of all the member instances participating in the cross instance replication. This view will be provided by every member instance irrespective of its instance role(primary or secondary).

    A primary instance can provide information about all the secondary instances replicating from it. However, a secondary instance only knows about the primary instance from which it is replicating. However, for scenarios, where the primary instance is unavailable(e.g. regional outage), a Getinstance request can be sent to any other member instance and this field will list all the member instances participating in cross instance replication.

#primary_instance

def primary_instance() -> ::Google::Cloud::Memorystore::V1::CrossInstanceReplicationConfig::RemoteInstance
Returns

#primary_instance=

def primary_instance=(value) -> ::Google::Cloud::Memorystore::V1::CrossInstanceReplicationConfig::RemoteInstance
Parameter
Returns

#secondary_instances

def secondary_instances() -> ::Array<::Google::Cloud::Memorystore::V1::CrossInstanceReplicationConfig::RemoteInstance>
Returns

#secondary_instances=

def secondary_instances=(value) -> ::Array<::Google::Cloud::Memorystore::V1::CrossInstanceReplicationConfig::RemoteInstance>
Parameter
Returns

#update_time

def update_time() -> ::Google::Protobuf::Timestamp
Returns