Class: Google::Apis::BackupdrV1::AlloyDbPitrWindow
- Inherits:
-
Object
- Object
- Google::Apis::BackupdrV1::AlloyDbPitrWindow
- 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 window for an AlloyDB cluster.
Instance Attribute Summary collapse
-
#end_time ⇒ String
Output only.
-
#log_retention_days ⇒ Fixnum
Output only.
-
#start_time ⇒ String
Output only.
Instance Method Summary collapse
-
#initialize(**args) ⇒ AlloyDbPitrWindow
constructor
A new instance of AlloyDbPitrWindow.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ AlloyDbPitrWindow
Returns a new instance of AlloyDbPitrWindow.
383 384 385 |
# File 'lib/google/apis/backupdr_v1/classes.rb', line 383 def initialize(**args) update!(**args) end |
Instance Attribute Details
#end_time ⇒ String
Output only. The end time of the PITR window. It is not set if the
corresponding Backup Plan Association is active.
Corresponds to the JSON property endTime
371 372 373 |
# File 'lib/google/apis/backupdr_v1/classes.rb', line 371 def end_time @end_time end |
#log_retention_days ⇒ Fixnum
Output only. Log retention days for the PITR window.
Corresponds to the JSON property logRetentionDays
376 377 378 |
# File 'lib/google/apis/backupdr_v1/classes.rb', line 376 def log_retention_days @log_retention_days end |
#start_time ⇒ String
Output only. The start time of the PITR window.
Corresponds to the JSON property startTime
381 382 383 |
# File 'lib/google/apis/backupdr_v1/classes.rb', line 381 def start_time @start_time end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
388 389 390 391 392 |
# File 'lib/google/apis/backupdr_v1/classes.rb', line 388 def update!(**args) @end_time = args[:end_time] if args.key?(:end_time) @log_retention_days = args[:log_retention_days] if args.key?(:log_retention_days) @start_time = args[:start_time] if args.key?(:start_time) end |