Class: Google::Apis::ComputeAlpha::SnapshotResourceStatus

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) ⇒ SnapshotResourceStatus

Returns a new instance of SnapshotResourceStatus.



47932
47933
47934
# File 'lib/google/apis/compute_alpha/classes.rb', line 47932

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#scheduled_deletion_timeString

[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

Returns:

  • (String)


47930
47931
47932
# File 'lib/google/apis/compute_alpha/classes.rb', line 47930

def scheduled_deletion_time
  @scheduled_deletion_time
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



47937
47938
47939
# File 'lib/google/apis/compute_alpha/classes.rb', line 47937

def update!(**args)
  @scheduled_deletion_time = args[:scheduled_deletion_time] if args.key?(:scheduled_deletion_time)
end