Class: Google::Apis::AlloydbV1::ContinuousBackupInfo
- Inherits:
-
Object
- Object
- Google::Apis::AlloydbV1::ContinuousBackupInfo
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/alloydb_v1/classes.rb,
lib/google/apis/alloydb_v1/representations.rb,
lib/google/apis/alloydb_v1/representations.rb
Overview
ContinuousBackupInfo describes the continuous backup properties of a cluster.
Instance Attribute Summary collapse
-
#earliest_restorable_time ⇒ String
Output only.
-
#enabled_time ⇒ String
Output only.
-
#encryption_info ⇒ Google::Apis::AlloydbV1::EncryptionInfo
EncryptionInfo describes the encryption information of a cluster or a backup.
-
#schedule ⇒ Array<String>
Output only.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ContinuousBackupInfo
constructor
A new instance of ContinuousBackupInfo.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ ContinuousBackupInfo
Returns a new instance of ContinuousBackupInfo.
784 785 786 |
# File 'lib/google/apis/alloydb_v1/classes.rb', line 784 def initialize(**args) update!(**args) end |
Instance Attribute Details
#earliest_restorable_time ⇒ String
Output only. The earliest restorable time that can be restored to. Output only
field.
Corresponds to the JSON property earliestRestorableTime
765 766 767 |
# File 'lib/google/apis/alloydb_v1/classes.rb', line 765 def earliest_restorable_time @earliest_restorable_time end |
#enabled_time ⇒ String
Output only. When ContinuousBackup was most recently enabled. Set to null if
ContinuousBackup is not enabled.
Corresponds to the JSON property enabledTime
771 772 773 |
# File 'lib/google/apis/alloydb_v1/classes.rb', line 771 def enabled_time @enabled_time end |
#encryption_info ⇒ Google::Apis::AlloydbV1::EncryptionInfo
EncryptionInfo describes the encryption information of a cluster or a backup.
Corresponds to the JSON property encryptionInfo
776 777 778 |
# File 'lib/google/apis/alloydb_v1/classes.rb', line 776 def encryption_info @encryption_info end |
#schedule ⇒ Array<String>
Output only. Days of the week on which a continuous backup is taken. Output
only field. Ignored if passed into the request.
Corresponds to the JSON property schedule
782 783 784 |
# File 'lib/google/apis/alloydb_v1/classes.rb', line 782 def schedule @schedule end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
789 790 791 792 793 794 |
# File 'lib/google/apis/alloydb_v1/classes.rb', line 789 def update!(**args) @earliest_restorable_time = args[:earliest_restorable_time] if args.key?(:earliest_restorable_time) @enabled_time = args[:enabled_time] if args.key?(:enabled_time) @encryption_info = args[:encryption_info] if args.key?(:encryption_info) @schedule = args[:schedule] if args.key?(:schedule) end |