Class: Google::Apis::SqladminV1beta4::BackupConfiguration
- Inherits:
-
Object
- Object
- Google::Apis::SqladminV1beta4::BackupConfiguration
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/sqladmin_v1beta4/classes.rb,
generated/google/apis/sqladmin_v1beta4/representations.rb,
generated/google/apis/sqladmin_v1beta4/representations.rb
Overview
Database instance backup configuration.
Instance Attribute Summary collapse
-
#binary_log_enabled ⇒ Boolean
(also: #binary_log_enabled?)
Whether binary log is enabled.
-
#enabled ⇒ Boolean
(also: #enabled?)
Whether this configuration is enabled.
-
#kind ⇒ String
This is always sql#backupConfiguration.
-
#start_time ⇒ String
Start time for the daily backup configuration in UTC timezone in the 24 hour format - HH:MM.
Instance Method Summary collapse
-
#initialize(**args) ⇒ BackupConfiguration
constructor
A new instance of BackupConfiguration.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ BackupConfiguration
Returns a new instance of BackupConfiguration
91 92 93 |
# File 'generated/google/apis/sqladmin_v1beta4/classes.rb', line 91 def initialize(**args) update!(**args) end |
Instance Attribute Details
#binary_log_enabled ⇒ Boolean Also known as: binary_log_enabled?
Whether binary log is enabled. If backup configuration is disabled, binary log
must be disabled as well.
Corresponds to the JSON property binaryLogEnabled
71 72 73 |
# File 'generated/google/apis/sqladmin_v1beta4/classes.rb', line 71 def binary_log_enabled @binary_log_enabled end |
#enabled ⇒ Boolean Also known as: enabled?
Whether this configuration is enabled.
Corresponds to the JSON property enabled
77 78 79 |
# File 'generated/google/apis/sqladmin_v1beta4/classes.rb', line 77 def enabled @enabled end |
#kind ⇒ String
This is always sql#backupConfiguration.
Corresponds to the JSON property kind
83 84 85 |
# File 'generated/google/apis/sqladmin_v1beta4/classes.rb', line 83 def kind @kind end |
#start_time ⇒ String
Start time for the daily backup configuration in UTC timezone in the 24 hour
format - HH:MM.
Corresponds to the JSON property startTime
89 90 91 |
# File 'generated/google/apis/sqladmin_v1beta4/classes.rb', line 89 def start_time @start_time end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
96 97 98 99 100 101 |
# File 'generated/google/apis/sqladmin_v1beta4/classes.rb', line 96 def update!(**args) @binary_log_enabled = args[:binary_log_enabled] if args.key?(:binary_log_enabled) @enabled = args[:enabled] if args.key?(:enabled) @kind = args[:kind] if args.key?(:kind) @start_time = args[:start_time] if args.key?(:start_time) end |