Class: Google::Apis::ComputeAlpha::SnapshotsGetEffectiveRecycleBinRuleResponse

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

Returns a new instance of SnapshotsGetEffectiveRecycleBinRuleResponse.



71385
71386
71387
# File 'lib/google/apis/compute_alpha/classes.rb', line 71385

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

Instance Attribute Details

#retention_duration_daysFixnum

The retention duration of the snapshot in recycle bin. Corresponds to the JSON property retentionDurationDays

Returns:

  • (Fixnum)


71383
71384
71385
# File 'lib/google/apis/compute_alpha/classes.rb', line 71383

def retention_duration_days
  @retention_duration_days
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



71390
71391
71392
# File 'lib/google/apis/compute_alpha/classes.rb', line 71390

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