Class: Google::Apis::BackupdrV1::PitrSettings
- Inherits:
-
Object
- Object
- Google::Apis::BackupdrV1::PitrSettings
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/backupdr_v1/classes.rb,
lib/google/apis/backupdr_v1/representations.rb,
lib/google/apis/backupdr_v1/representations.rb
Overview
Point in time recovery settings of the backup configuration resource.
Instance Attribute Summary collapse
-
#retention_days ⇒ Fixnum
Output only.
Instance Method Summary collapse
-
#initialize(**args) ⇒ PitrSettings
constructor
A new instance of PitrSettings.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ PitrSettings
Returns a new instance of PitrSettings.
4984 4985 4986 |
# File 'lib/google/apis/backupdr_v1/classes.rb', line 4984 def initialize(**args) update!(**args) end |
Instance Attribute Details
#retention_days ⇒ Fixnum
Output only. Number of days to retain the backup.
Corresponds to the JSON property retentionDays
4982 4983 4984 |
# File 'lib/google/apis/backupdr_v1/classes.rb', line 4982 def retention_days @retention_days end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
4989 4990 4991 |
# File 'lib/google/apis/backupdr_v1/classes.rb', line 4989 def update!(**args) @retention_days = args[:retention_days] if args.key?(:retention_days) end |