Class: Google::Cloud::Filestore::V1::Replication
- Inherits:
-
Object
- Object
- Google::Cloud::Filestore::V1::Replication
- Extended by:
- Protobuf::MessageExts::ClassMethods
- Includes:
- Protobuf::MessageExts
- Defined in:
- proto_docs/google/cloud/filestore/v1/cloud_filestore_service.rb
Overview
Replication specifications.
Defined Under Namespace
Modules: Role
Instance Attribute Summary collapse
-
#replicas ⇒ ::Array<::Google::Cloud::Filestore::V1::ReplicaConfig>
Optional.
-
#role ⇒ ::Google::Cloud::Filestore::V1::Replication::Role
Optional.
Instance Attribute Details
#replicas ⇒ ::Array<::Google::Cloud::Filestore::V1::ReplicaConfig>
Returns Optional. Replication configuration for the replica instance associated with this instance. Only a single replica is supported.
239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 |
# File 'proto_docs/google/cloud/filestore/v1/cloud_filestore_service.rb', line 239 class Replication include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Replication role. module Role # Role not set. ROLE_UNSPECIFIED = 0 # The instance is the `ACTIVE` replication member, functions as # the replication source instance. ACTIVE = 1 # The instance is the `STANDBY` replication member, functions as # the replication destination instance. STANDBY = 2 end end |
#role ⇒ ::Google::Cloud::Filestore::V1::Replication::Role
Returns Optional. The replication role.
239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 |
# File 'proto_docs/google/cloud/filestore/v1/cloud_filestore_service.rb', line 239 class Replication include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Replication role. module Role # Role not set. ROLE_UNSPECIFIED = 0 # The instance is the `ACTIVE` replication member, functions as # the replication source instance. ACTIVE = 1 # The instance is the `STANDBY` replication member, functions as # the replication destination instance. STANDBY = 2 end end |