Class: Google::Cloud::Filestore::V1::ReplicaConfig
- Inherits:
-
Object
- Object
- Google::Cloud::Filestore::V1::ReplicaConfig
- Extended by:
- Protobuf::MessageExts::ClassMethods
- Includes:
- Protobuf::MessageExts
- Defined in:
- proto_docs/google/cloud/filestore/v1/cloud_filestore_service.rb
Overview
Replica configuration for the instance.
Defined Under Namespace
Modules: State, StateReason
Instance Attribute Summary collapse
-
#last_active_sync_time ⇒ ::Google::Protobuf::Timestamp
readonly
Output only.
-
#peer_instance ⇒ ::String
Optional.
-
#state ⇒ ::Google::Cloud::Filestore::V1::ReplicaConfig::State
readonly
Output only.
-
#state_reasons ⇒ ::Array<::Google::Cloud::Filestore::V1::ReplicaConfig::StateReason>
readonly
Output only.
Instance Attribute Details
#last_active_sync_time ⇒ ::Google::Protobuf::Timestamp (readonly)
Returns Output only. The timestamp of the latest replication snapshot taken on the active instance and is already replicated safely.
194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 |
# File 'proto_docs/google/cloud/filestore/v1/cloud_filestore_service.rb', line 194 class ReplicaConfig include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # The replica state. module State # State not set. STATE_UNSPECIFIED = 0 # The replica is being created. CREATING = 1 # The replica is ready. READY = 3 # The replica is being removed. REMOVING = 4 # The replica is experiencing an issue and might be unusable. You can get # further details from the `stateReasons` field of the `ReplicaConfig` # object. FAILED = 5 end # Additional information about the replication state, if available. module StateReason # Reason not specified. STATE_REASON_UNSPECIFIED = 0 # The peer instance is unreachable. PEER_INSTANCE_UNREACHABLE = 1 # The remove replica peer instance operation failed. REMOVE_FAILED = 2 end end |
#peer_instance ⇒ ::String
Returns Optional. The peer instance.
194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 |
# File 'proto_docs/google/cloud/filestore/v1/cloud_filestore_service.rb', line 194 class ReplicaConfig include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # The replica state. module State # State not set. STATE_UNSPECIFIED = 0 # The replica is being created. CREATING = 1 # The replica is ready. READY = 3 # The replica is being removed. REMOVING = 4 # The replica is experiencing an issue and might be unusable. You can get # further details from the `stateReasons` field of the `ReplicaConfig` # object. FAILED = 5 end # Additional information about the replication state, if available. module StateReason # Reason not specified. STATE_REASON_UNSPECIFIED = 0 # The peer instance is unreachable. PEER_INSTANCE_UNREACHABLE = 1 # The remove replica peer instance operation failed. REMOVE_FAILED = 2 end end |
#state ⇒ ::Google::Cloud::Filestore::V1::ReplicaConfig::State (readonly)
Returns Output only. The replica state.
194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 |
# File 'proto_docs/google/cloud/filestore/v1/cloud_filestore_service.rb', line 194 class ReplicaConfig include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # The replica state. module State # State not set. STATE_UNSPECIFIED = 0 # The replica is being created. CREATING = 1 # The replica is ready. READY = 3 # The replica is being removed. REMOVING = 4 # The replica is experiencing an issue and might be unusable. You can get # further details from the `stateReasons` field of the `ReplicaConfig` # object. FAILED = 5 end # Additional information about the replication state, if available. module StateReason # Reason not specified. STATE_REASON_UNSPECIFIED = 0 # The peer instance is unreachable. PEER_INSTANCE_UNREACHABLE = 1 # The remove replica peer instance operation failed. REMOVE_FAILED = 2 end end |
#state_reasons ⇒ ::Array<::Google::Cloud::Filestore::V1::ReplicaConfig::StateReason> (readonly)
Returns Output only. Additional information about the replication state, if available.
194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 |
# File 'proto_docs/google/cloud/filestore/v1/cloud_filestore_service.rb', line 194 class ReplicaConfig include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # The replica state. module State # State not set. STATE_UNSPECIFIED = 0 # The replica is being created. CREATING = 1 # The replica is ready. READY = 3 # The replica is being removed. REMOVING = 4 # The replica is experiencing an issue and might be unusable. You can get # further details from the `stateReasons` field of the `ReplicaConfig` # object. FAILED = 5 end # Additional information about the replication state, if available. module StateReason # Reason not specified. STATE_REASON_UNSPECIFIED = 0 # The peer instance is unreachable. PEER_INSTANCE_UNREACHABLE = 1 # The remove replica peer instance operation failed. REMOVE_FAILED = 2 end end |