Class: Google::Apis::AlloydbV1beta::BackupDrInfo
- Inherits:
-
Object
- Object
- Google::Apis::AlloydbV1beta::BackupDrInfo
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/alloydb_v1beta/classes.rb,
lib/google/apis/alloydb_v1beta/representations.rb,
lib/google/apis/alloydb_v1beta/representations.rb
Overview
Information about BackupDR protection for this cluster.
Instance Attribute Summary collapse
-
#current_window ⇒ Google::Apis::AlloydbV1beta::BackupDrEnabledWindow
Information about a single window when BackupDR was enabled for this cluster.
-
#previous_windows ⇒ Array<Google::Apis::AlloydbV1beta::BackupDrEnabledWindow>
Windows during which BackupDR was enabled for this cluster, along with associated configuration for that window.
Instance Method Summary collapse
-
#initialize(**args) ⇒ BackupDrInfo
constructor
A new instance of BackupDrInfo.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ BackupDrInfo
Returns a new instance of BackupDrInfo.
479 480 481 |
# File 'lib/google/apis/alloydb_v1beta/classes.rb', line 479 def initialize(**args) update!(**args) end |
Instance Attribute Details
#current_window ⇒ Google::Apis::AlloydbV1beta::BackupDrEnabledWindow
Information about a single window when BackupDR was enabled for this cluster.
Corresponds to the JSON property currentWindow
468 469 470 |
# File 'lib/google/apis/alloydb_v1beta/classes.rb', line 468 def current_window @current_window end |
#previous_windows ⇒ Array<Google::Apis::AlloydbV1beta::BackupDrEnabledWindow>
Windows during which BackupDR was enabled for this cluster, along with
associated configuration for that window. These are used to determine points-
in-time for which restores can be performed. The windows are ordered with the
most recent window last. Windows are mutally exclusive. Windows which closed
more than 1 year ago will be removed from this list.
Corresponds to the JSON property previousWindows
477 478 479 |
# File 'lib/google/apis/alloydb_v1beta/classes.rb', line 477 def previous_windows @previous_windows end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
484 485 486 487 |
# File 'lib/google/apis/alloydb_v1beta/classes.rb', line 484 def update!(**args) @current_window = args[:current_window] if args.key?(:current_window) @previous_windows = args[:previous_windows] if args.key?(:previous_windows) end |