Class: Google::Cloud::VMMigration::V1::ReplicationCycle
- Inherits:
-
Object
- Object
- Google::Cloud::VMMigration::V1::ReplicationCycle
- Extended by:
- Protobuf::MessageExts::ClassMethods
- Includes:
- Protobuf::MessageExts
- Defined in:
- proto_docs/google/cloud/vmmigration/v1/vmmigration.rb
Overview
ReplicationCycle contains information about the current replication cycle status.
Defined Under Namespace
Modules: State
Instance Attribute Summary collapse
-
#cycle_number ⇒ ::Integer
The cycle's ordinal number.
-
#end_time ⇒ ::Google::Protobuf::Timestamp
The time the replication cycle has ended.
-
#error ⇒ ::Google::Rpc::Status
Provides details on the state of the cycle in case of an error.
-
#name ⇒ ::String
The identifier of the ReplicationCycle.
-
#progress_percent ⇒ ::Integer
deprecated
Deprecated.
This field is deprecated and may be removed in the next major version update.
-
#start_time ⇒ ::Google::Protobuf::Timestamp
The time the replication cycle has started.
-
#state ⇒ ::Google::Cloud::VMMigration::V1::ReplicationCycle::State
State of the ReplicationCycle.
-
#steps ⇒ ::Array<::Google::Cloud::VMMigration::V1::CycleStep>
The cycle's steps list representing its progress.
-
#total_pause_duration ⇒ ::Google::Protobuf::Duration
The accumulated duration the replication cycle was paused.
Instance Attribute Details
#cycle_number ⇒ ::Integer
Returns The cycle's ordinal number.
56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 |
# File 'proto_docs/google/cloud/vmmigration/v1/vmmigration.rb', line 56 class ReplicationCycle include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Possible states of a replication cycle. module State # The state is unknown. This is used for API compatibility only and is not # used by the system. STATE_UNSPECIFIED = 0 # The replication cycle is running. RUNNING = 1 # The replication cycle is paused. PAUSED = 2 # The replication cycle finished with errors. FAILED = 3 # The replication cycle finished successfully. SUCCEEDED = 4 end end |
#end_time ⇒ ::Google::Protobuf::Timestamp
Returns The time the replication cycle has ended.
56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 |
# File 'proto_docs/google/cloud/vmmigration/v1/vmmigration.rb', line 56 class ReplicationCycle include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Possible states of a replication cycle. module State # The state is unknown. This is used for API compatibility only and is not # used by the system. STATE_UNSPECIFIED = 0 # The replication cycle is running. RUNNING = 1 # The replication cycle is paused. PAUSED = 2 # The replication cycle finished with errors. FAILED = 3 # The replication cycle finished successfully. SUCCEEDED = 4 end end |
#error ⇒ ::Google::Rpc::Status
Returns Provides details on the state of the cycle in case of an error.
56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 |
# File 'proto_docs/google/cloud/vmmigration/v1/vmmigration.rb', line 56 class ReplicationCycle include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Possible states of a replication cycle. module State # The state is unknown. This is used for API compatibility only and is not # used by the system. STATE_UNSPECIFIED = 0 # The replication cycle is running. RUNNING = 1 # The replication cycle is paused. PAUSED = 2 # The replication cycle finished with errors. FAILED = 3 # The replication cycle finished successfully. SUCCEEDED = 4 end end |
#name ⇒ ::String
Returns The identifier of the ReplicationCycle.
56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 |
# File 'proto_docs/google/cloud/vmmigration/v1/vmmigration.rb', line 56 class ReplicationCycle include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Possible states of a replication cycle. module State # The state is unknown. This is used for API compatibility only and is not # used by the system. STATE_UNSPECIFIED = 0 # The replication cycle is running. RUNNING = 1 # The replication cycle is paused. PAUSED = 2 # The replication cycle finished with errors. FAILED = 3 # The replication cycle finished successfully. SUCCEEDED = 4 end end |
#progress_percent ⇒ ::Integer
This field is deprecated and may be removed in the next major version update.
Returns The current progress in percentage of this cycle. Was replaced by 'steps' field, which breaks down the cycle progression more accurately.
56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 |
# File 'proto_docs/google/cloud/vmmigration/v1/vmmigration.rb', line 56 class ReplicationCycle include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Possible states of a replication cycle. module State # The state is unknown. This is used for API compatibility only and is not # used by the system. STATE_UNSPECIFIED = 0 # The replication cycle is running. RUNNING = 1 # The replication cycle is paused. PAUSED = 2 # The replication cycle finished with errors. FAILED = 3 # The replication cycle finished successfully. SUCCEEDED = 4 end end |
#start_time ⇒ ::Google::Protobuf::Timestamp
Returns The time the replication cycle has started.
56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 |
# File 'proto_docs/google/cloud/vmmigration/v1/vmmigration.rb', line 56 class ReplicationCycle include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Possible states of a replication cycle. module State # The state is unknown. This is used for API compatibility only and is not # used by the system. STATE_UNSPECIFIED = 0 # The replication cycle is running. RUNNING = 1 # The replication cycle is paused. PAUSED = 2 # The replication cycle finished with errors. FAILED = 3 # The replication cycle finished successfully. SUCCEEDED = 4 end end |
#state ⇒ ::Google::Cloud::VMMigration::V1::ReplicationCycle::State
Returns State of the ReplicationCycle.
56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 |
# File 'proto_docs/google/cloud/vmmigration/v1/vmmigration.rb', line 56 class ReplicationCycle include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Possible states of a replication cycle. module State # The state is unknown. This is used for API compatibility only and is not # used by the system. STATE_UNSPECIFIED = 0 # The replication cycle is running. RUNNING = 1 # The replication cycle is paused. PAUSED = 2 # The replication cycle finished with errors. FAILED = 3 # The replication cycle finished successfully. SUCCEEDED = 4 end end |
#steps ⇒ ::Array<::Google::Cloud::VMMigration::V1::CycleStep>
Returns The cycle's steps list representing its progress.
56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 |
# File 'proto_docs/google/cloud/vmmigration/v1/vmmigration.rb', line 56 class ReplicationCycle include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Possible states of a replication cycle. module State # The state is unknown. This is used for API compatibility only and is not # used by the system. STATE_UNSPECIFIED = 0 # The replication cycle is running. RUNNING = 1 # The replication cycle is paused. PAUSED = 2 # The replication cycle finished with errors. FAILED = 3 # The replication cycle finished successfully. SUCCEEDED = 4 end end |
#total_pause_duration ⇒ ::Google::Protobuf::Duration
Returns The accumulated duration the replication cycle was paused.
56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 |
# File 'proto_docs/google/cloud/vmmigration/v1/vmmigration.rb', line 56 class ReplicationCycle include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Possible states of a replication cycle. module State # The state is unknown. This is used for API compatibility only and is not # used by the system. STATE_UNSPECIFIED = 0 # The replication cycle is running. RUNNING = 1 # The replication cycle is paused. PAUSED = 2 # The replication cycle finished with errors. FAILED = 3 # The replication cycle finished successfully. SUCCEEDED = 4 end end |