Class: Google::Apis::RedisV1::RdbConfig
- Inherits:
 - 
      Object
      
        
- Object
 - Google::Apis::RedisV1::RdbConfig
 
 
- Includes:
 - Core::Hashable, Core::JsonObjectSupport
 
- Defined in:
 - lib/google/apis/redis_v1/classes.rb,
lib/google/apis/redis_v1/representations.rb,
lib/google/apis/redis_v1/representations.rb 
Overview
Configuration of the RDB based persistence.
Instance Attribute Summary collapse
- 
  
    
      #rdb_snapshot_period  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Optional.
 - 
  
    
      #rdb_snapshot_start_time  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Optional.
 
Instance Method Summary collapse
- 
  
    
      #initialize(**args)  ⇒ RdbConfig 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    
A new instance of RdbConfig.
 - 
  
    
      #update!(**args)  ⇒ Object 
    
    
  
  
  
  
  
  
  
  
  
    
Update properties of this object.
 
Constructor Details
#initialize(**args) ⇒ RdbConfig
Returns a new instance of RdbConfig.
      2401 2402 2403  | 
    
      # File 'lib/google/apis/redis_v1/classes.rb', line 2401 def initialize(**args) update!(**args) end  | 
  
Instance Attribute Details
#rdb_snapshot_period ⇒ String
Optional. Period between RDB snapshots.
Corresponds to the JSON property rdbSnapshotPeriod
      2392 2393 2394  | 
    
      # File 'lib/google/apis/redis_v1/classes.rb', line 2392 def rdb_snapshot_period @rdb_snapshot_period end  | 
  
#rdb_snapshot_start_time ⇒ String
Optional. The time that the first snapshot was/will be attempted, and to which
future snapshots will be aligned. If not provided, the current time will be
used.
Corresponds to the JSON property rdbSnapshotStartTime
      2399 2400 2401  | 
    
      # File 'lib/google/apis/redis_v1/classes.rb', line 2399 def rdb_snapshot_start_time @rdb_snapshot_start_time end  | 
  
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
      2406 2407 2408 2409  | 
    
      # File 'lib/google/apis/redis_v1/classes.rb', line 2406 def update!(**args) @rdb_snapshot_period = args[:rdb_snapshot_period] if args.key?(:rdb_snapshot_period) @rdb_snapshot_start_time = args[:rdb_snapshot_start_time] if args.key?(:rdb_snapshot_start_time) end  |