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
- (::Google::Cloud::Memorystore::V1::CrossInstanceReplicationConfig::InstanceRole) — Required. The role of the instance in cross instance replication.
#instance_role=
def instance_role=(value) -> ::Google::Cloud::Memorystore::V1::CrossInstanceReplicationConfig::InstanceRole
- value (::Google::Cloud::Memorystore::V1::CrossInstanceReplicationConfig::InstanceRole) — Required. The role of the instance in cross instance replication.
- (::Google::Cloud::Memorystore::V1::CrossInstanceReplicationConfig::InstanceRole) — Required. The role of the instance in cross instance replication.
#membership
def membership() -> ::Google::Cloud::Memorystore::V1::CrossInstanceReplicationConfig::Membership
-
(::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
-
(::Google::Cloud::Memorystore::V1::CrossInstanceReplicationConfig::RemoteInstance) — Optional. Details of the primary instance that is used as the replication
source for this secondary instance.
This field is only set for a secondary instance.
#primary_instance=
def primary_instance=(value) -> ::Google::Cloud::Memorystore::V1::CrossInstanceReplicationConfig::RemoteInstance
-
value (::Google::Cloud::Memorystore::V1::CrossInstanceReplicationConfig::RemoteInstance) — Optional. Details of the primary instance that is used as the replication
source for this secondary instance.
This field is only set for a secondary instance.
-
(::Google::Cloud::Memorystore::V1::CrossInstanceReplicationConfig::RemoteInstance) — Optional. Details of the primary instance that is used as the replication
source for this secondary instance.
This field is only set for a secondary instance.
#secondary_instances
def secondary_instances() -> ::Array<::Google::Cloud::Memorystore::V1::CrossInstanceReplicationConfig::RemoteInstance>
-
(::Array<::Google::Cloud::Memorystore::V1::CrossInstanceReplicationConfig::RemoteInstance>) — Optional. List of secondary instances that are replicating from this
primary instance.
This field is only set for a primary instance.
#secondary_instances=
def secondary_instances=(value) -> ::Array<::Google::Cloud::Memorystore::V1::CrossInstanceReplicationConfig::RemoteInstance>
-
value (::Array<::Google::Cloud::Memorystore::V1::CrossInstanceReplicationConfig::RemoteInstance>) — Optional. List of secondary instances that are replicating from this
primary instance.
This field is only set for a primary instance.
-
(::Array<::Google::Cloud::Memorystore::V1::CrossInstanceReplicationConfig::RemoteInstance>) — Optional. List of secondary instances that are replicating from this
primary instance.
This field is only set for a primary instance.
#update_time
def update_time() -> ::Google::Protobuf::Timestamp
- (::Google::Protobuf::Timestamp) — Output only. The last time cross instance replication config was updated.