Class: Google::Apis::ComputeAlpha::SnapshotResourceStatus
- Inherits:
-
Object
- Object
- Google::Apis::ComputeAlpha::SnapshotResourceStatus
- 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
-
#scheduled_deletion_time ⇒ String
[Output only] Scheduled deletion time of the snapshot.
Instance Method Summary collapse
-
#initialize(**args) ⇒ SnapshotResourceStatus
constructor
A new instance of SnapshotResourceStatus.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ SnapshotResourceStatus
Returns a new instance of SnapshotResourceStatus.
60777 60778 60779 |
# File 'lib/google/apis/compute_alpha/classes.rb', line 60777 def initialize(**args) update!(**args) end |
Instance Attribute Details
#scheduled_deletion_time ⇒ String
[Output only] Scheduled deletion time of the snapshot. The snapshot will be
deleted by the at any point within one hour after the deletion time.
Corresponds to the JSON property scheduledDeletionTime
60775 60776 60777 |
# File 'lib/google/apis/compute_alpha/classes.rb', line 60775 def scheduled_deletion_time @scheduled_deletion_time end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
60782 60783 60784 |
# File 'lib/google/apis/compute_alpha/classes.rb', line 60782 def update!(**args) @scheduled_deletion_time = args[:scheduled_deletion_time] if args.key?(:scheduled_deletion_time) end |