Class: Google::Apis::VmmigrationV1alpha1::ReplicatingStep
- Inherits:
-
Object
- Object
- Google::Apis::VmmigrationV1alpha1::ReplicatingStep
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/vmmigration_v1alpha1/classes.rb,
lib/google/apis/vmmigration_v1alpha1/representations.rb,
lib/google/apis/vmmigration_v1alpha1/representations.rb
Overview
ReplicatingStep contains specific step details.
Instance Attribute Summary collapse
-
#last_thirty_minutes_average_bytes_per_second ⇒ Fixnum
The source disks replication rate for the last 30 minutes in bytes per second.
-
#last_two_minutes_average_bytes_per_second ⇒ Fixnum
The source disks replication rate for the last 2 minutes in bytes per second.
-
#replicated_bytes ⇒ Fixnum
Replicated bytes in the step.
-
#total_bytes ⇒ Fixnum
Total bytes to be handled in the step.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ReplicatingStep
constructor
A new instance of ReplicatingStep.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ ReplicatingStep
Returns a new instance of ReplicatingStep.
3600 3601 3602 |
# File 'lib/google/apis/vmmigration_v1alpha1/classes.rb', line 3600 def initialize(**args) update!(**args) end |
Instance Attribute Details
#last_thirty_minutes_average_bytes_per_second ⇒ Fixnum
The source disks replication rate for the last 30 minutes in bytes per second.
Corresponds to the JSON property lastThirtyMinutesAverageBytesPerSecond
3583 3584 3585 |
# File 'lib/google/apis/vmmigration_v1alpha1/classes.rb', line 3583 def last_thirty_minutes_average_bytes_per_second @last_thirty_minutes_average_bytes_per_second end |
#last_two_minutes_average_bytes_per_second ⇒ Fixnum
The source disks replication rate for the last 2 minutes in bytes per second.
Corresponds to the JSON property lastTwoMinutesAverageBytesPerSecond
3588 3589 3590 |
# File 'lib/google/apis/vmmigration_v1alpha1/classes.rb', line 3588 def last_two_minutes_average_bytes_per_second @last_two_minutes_average_bytes_per_second end |
#replicated_bytes ⇒ Fixnum
Replicated bytes in the step.
Corresponds to the JSON property replicatedBytes
3593 3594 3595 |
# File 'lib/google/apis/vmmigration_v1alpha1/classes.rb', line 3593 def replicated_bytes @replicated_bytes end |
#total_bytes ⇒ Fixnum
Total bytes to be handled in the step.
Corresponds to the JSON property totalBytes
3598 3599 3600 |
# File 'lib/google/apis/vmmigration_v1alpha1/classes.rb', line 3598 def total_bytes @total_bytes end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
3605 3606 3607 3608 3609 3610 |
# File 'lib/google/apis/vmmigration_v1alpha1/classes.rb', line 3605 def update!(**args) @last_thirty_minutes_average_bytes_per_second = args[:last_thirty_minutes_average_bytes_per_second] if args.key?(:last_thirty_minutes_average_bytes_per_second) @last_two_minutes_average_bytes_per_second = args[:last_two_minutes_average_bytes_per_second] if args.key?(:last_two_minutes_average_bytes_per_second) @replicated_bytes = args[:replicated_bytes] if args.key?(:replicated_bytes) @total_bytes = args[:total_bytes] if args.key?(:total_bytes) end |