Class: Google::Apis::SqladminV1beta3::BackupConfiguration
- Inherits:
- 
      Object
      
        - Object
- Google::Apis::SqladminV1beta3::BackupConfiguration
 
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/sqladmin_v1beta3/classes.rb,
 generated/google/apis/sqladmin_v1beta3/representations.rb,
 generated/google/apis/sqladmin_v1beta3/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. 
- 
  
    
      #id  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    Identifier for this configuration. 
- 
  
    
      #kind  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    This is always sql#backupConfiguration. 
- 
  
    
      #replication_log_archiving_enabled  ⇒ Boolean 
    
    
      (also: #replication_log_archiving_enabled?)
    
  
  
  
  
    
    
  
  
  
  
  
  
    Whether replication log archiving is enabled. 
- 
  
    
      #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
| 67 68 69 | # File 'generated/google/apis/sqladmin_v1beta3/classes.rb', line 67 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
| 33 34 35 | # File 'generated/google/apis/sqladmin_v1beta3/classes.rb', line 33 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
| 39 40 41 | # File 'generated/google/apis/sqladmin_v1beta3/classes.rb', line 39 def enabled @enabled end | 
#id ⇒ String
Identifier for this configuration. This gets generated automatically when a
backup configuration is created.
Corresponds to the JSON property id
| 46 47 48 | # File 'generated/google/apis/sqladmin_v1beta3/classes.rb', line 46 def id @id end | 
#kind ⇒ String
This is always sql#backupConfiguration.
Corresponds to the JSON property kind
| 51 52 53 | # File 'generated/google/apis/sqladmin_v1beta3/classes.rb', line 51 def kind @kind end | 
#replication_log_archiving_enabled ⇒ Boolean Also known as: replication_log_archiving_enabled?
Whether replication log archiving is enabled. Replication log archiving is
required for the point-in-time recovery (PITR) feature. PostgreSQL instances
only.
Corresponds to the JSON property replicationLogArchivingEnabled
| 58 59 60 | # File 'generated/google/apis/sqladmin_v1beta3/classes.rb', line 58 def replication_log_archiving_enabled @replication_log_archiving_enabled 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
| 65 66 67 | # File 'generated/google/apis/sqladmin_v1beta3/classes.rb', line 65 def start_time @start_time end | 
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
| 72 73 74 75 76 77 78 79 | # File 'generated/google/apis/sqladmin_v1beta3/classes.rb', line 72 def update!(**args) @binary_log_enabled = args[:binary_log_enabled] if args.key?(:binary_log_enabled) @enabled = args[:enabled] if args.key?(:enabled) @id = args[:id] if args.key?(:id) @kind = args[:kind] if args.key?(:kind) @replication_log_archiving_enabled = args[:replication_log_archiving_enabled] if args.key?(:replication_log_archiving_enabled) @start_time = args[:start_time] if args.key?(:start_time) end |