Class: Google::Cloud::VMMigration::V1::ReplicationCycle

Inherits:
Object
  • Object
show all
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

Instance Attribute Details

#cycle_number::Integer

Returns The cycle's ordinal number.

Returns:

  • (::Integer)

    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.

Returns:



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.

Returns:



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.

Returns:

  • (::String)

    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

Deprecated.

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.

Returns:

  • (::Integer)

    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.

Returns:



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.

Returns:



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.

Returns:



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.

Returns:



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