Reference documentation and code samples for the Filestore V1 API class Google::Cloud::Filestore::V1::Replication.
Replication specifications.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#replicas
def replicas() -> ::Array<::Google::Cloud::Filestore::V1::ReplicaConfig>
Returns
- (::Array<::Google::Cloud::Filestore::V1::ReplicaConfig>) — Optional. Replication configuration for the replica instance associated with this instance. Only a single replica is supported.
#replicas=
def replicas=(value) -> ::Array<::Google::Cloud::Filestore::V1::ReplicaConfig>
Parameter
- value (::Array<::Google::Cloud::Filestore::V1::ReplicaConfig>) — Optional. Replication configuration for the replica instance associated with this instance. Only a single replica is supported.
Returns
- (::Array<::Google::Cloud::Filestore::V1::ReplicaConfig>) — Optional. Replication configuration for the replica instance associated with this instance. Only a single replica is supported.
#role
def role() -> ::Google::Cloud::Filestore::V1::Replication::Role
Returns
- (::Google::Cloud::Filestore::V1::Replication::Role) — Optional. The replication role.
#role=
def role=(value) -> ::Google::Cloud::Filestore::V1::Replication::Role
Parameter
- value (::Google::Cloud::Filestore::V1::Replication::Role) — Optional. The replication role.
Returns
- (::Google::Cloud::Filestore::V1::Replication::Role) — Optional. The replication role.