class Google::Apis::SqladminV1beta4::BackupConfiguration

Database instance backup configuration.

Attributes

binary_log_enabled[RW]

Whether binary log is enabled. If backup configuration is disabled, binary log must be disabled as well. Corresponds to the JSON property `binaryLogEnabled` @return [Boolean]

binary_log_enabled?[RW]

Whether binary log is enabled. If backup configuration is disabled, binary log must be disabled as well. Corresponds to the JSON property `binaryLogEnabled` @return [Boolean]

enabled[RW]

Whether this configuration is enabled. Corresponds to the JSON property `enabled` @return [Boolean]

enabled?[RW]

Whether this configuration is enabled. Corresponds to the JSON property `enabled` @return [Boolean]

kind[RW]

This is always sql#backupConfiguration. Corresponds to the JSON property `kind` @return [String]

start_time[RW]

Start time for the daily backup configuration in UTC timezone in the 24 hour format - HH:MM. Corresponds to the JSON property `startTime` @return [String]

Public Class Methods

new(**args) click to toggle source
# File generated/google/apis/sqladmin_v1beta4/classes.rb, line 91
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# 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