Class: Google::Apis::ComputeAlpha::AsyncReplicationStatus

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

Instance Method Summary collapse

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_stateGoogle::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_detailsGoogle::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