Class: Google::Apis::ComputeAlpha::AsyncReplicationStatus
- Inherits:
-
Object
- Object
- Google::Apis::ComputeAlpha::AsyncReplicationStatus
- Includes:
- Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
- Defined in:
- lib/google/apis/compute_alpha/classes.rb,
lib/google/apis/compute_alpha/representations.rb,
lib/google/apis/compute_alpha/representations.rb
Instance Attribute Summary collapse
-
#disk_pair_replication_state ⇒ Google::Apis::ComputeAlpha::DiskPairReplicationState
Corresponds to the JSON property
diskPairReplicationState
. -
#last_replication_details ⇒ Google::Apis::ComputeAlpha::ReplicationDetails
Corresponds to the JSON property
lastReplicationDetails
.
Instance Method Summary collapse
-
#initialize(**args) ⇒ AsyncReplicationStatus
constructor
A new instance of AsyncReplicationStatus.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ AsyncReplicationStatus
Returns a new instance of AsyncReplicationStatus.
1569 1570 1571 |
# File 'lib/google/apis/compute_alpha/classes.rb', line 1569 def initialize(**args) update!(**args) end |
Instance Attribute Details
#disk_pair_replication_state ⇒ Google::Apis::ComputeAlpha::DiskPairReplicationState
Corresponds to the JSON property diskPairReplicationState
1562 1563 1564 |
# File 'lib/google/apis/compute_alpha/classes.rb', line 1562 def disk_pair_replication_state @disk_pair_replication_state end |
#last_replication_details ⇒ Google::Apis::ComputeAlpha::ReplicationDetails
Corresponds to the JSON property lastReplicationDetails
1567 1568 1569 |
# File 'lib/google/apis/compute_alpha/classes.rb', line 1567 def last_replication_details @last_replication_details end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1574 1575 1576 1577 |
# File 'lib/google/apis/compute_alpha/classes.rb', line 1574 def update!(**args) @disk_pair_replication_state = args[:disk_pair_replication_state] if args.key?(:disk_pair_replication_state) @last_replication_details = args[:last_replication_details] if args.key?(:last_replication_details) end |