Class: Google::Apis::VmmigrationV1alpha1::ReplicationSync
- Inherits:
-
Object
- Object
- Google::Apis::VmmigrationV1alpha1::ReplicationSync
- 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
ReplicationSync contain information about the last replica sync to the cloud.
Instance Attribute Summary collapse
-
#last_sync_time ⇒ String
The most updated snapshot created time in the source that finished replication.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ReplicationSync
constructor
A new instance of ReplicationSync.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ ReplicationSync
Returns a new instance of ReplicationSync.
3908 3909 3910 |
# File 'lib/google/apis/vmmigration_v1alpha1/classes.rb', line 3908 def initialize(**args) update!(**args) end |
Instance Attribute Details
#last_sync_time ⇒ String
The most updated snapshot created time in the source that finished replication.
Corresponds to the JSON property lastSyncTime
3906 3907 3908 |
# File 'lib/google/apis/vmmigration_v1alpha1/classes.rb', line 3906 def last_sync_time @last_sync_time end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
3913 3914 3915 |
# File 'lib/google/apis/vmmigration_v1alpha1/classes.rb', line 3913 def update!(**args) @last_sync_time = args[:last_sync_time] if args.key?(:last_sync_time) end |