Class: Google::Apis::RedisV1::BackupRun
- Inherits:
 - 
      Object
      
        
- Object
 - Google::Apis::RedisV1::BackupRun
 
 
- 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
A backup run.
Instance Attribute Summary collapse
- 
  
    
      #end_time  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
The time the backup operation completed.
 - 
  
    
      #error  ⇒ Google::Apis::RedisV1::OperationError 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
An error that occurred during a backup creation operation.
 - 
  
    
      #start_time  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
The time the backup operation started.
 - 
  
    
      #status  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
The status of this run.
 
Instance Method Summary collapse
- 
  
    
      #initialize(**args)  ⇒ BackupRun 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    
A new instance of BackupRun.
 - 
  
    
      #update!(**args)  ⇒ Object 
    
    
  
  
  
  
  
  
  
  
  
    
Update properties of this object.
 
Constructor Details
#initialize(**args) ⇒ BackupRun
Returns a new instance of BackupRun.
      156 157 158  | 
    
      # File 'lib/google/apis/redis_v1/classes.rb', line 156 def initialize(**args) update!(**args) end  | 
  
Instance Attribute Details
#end_time ⇒ String
The time the backup operation completed. REQUIRED
Corresponds to the JSON property endTime
      139 140 141  | 
    
      # File 'lib/google/apis/redis_v1/classes.rb', line 139 def end_time @end_time end  | 
  
#error ⇒ Google::Apis::RedisV1::OperationError
An error that occurred during a backup creation operation.
Corresponds to the JSON property error
      144 145 146  | 
    
      # File 'lib/google/apis/redis_v1/classes.rb', line 144 def error @error end  | 
  
#start_time ⇒ String
The time the backup operation started. REQUIRED
Corresponds to the JSON property startTime
      149 150 151  | 
    
      # File 'lib/google/apis/redis_v1/classes.rb', line 149 def start_time @start_time end  | 
  
#status ⇒ String
The status of this run. REQUIRED
Corresponds to the JSON property status
      154 155 156  | 
    
      # File 'lib/google/apis/redis_v1/classes.rb', line 154 def status @status end  | 
  
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
      161 162 163 164 165 166  | 
    
      # File 'lib/google/apis/redis_v1/classes.rb', line 161 def update!(**args) @end_time = args[:end_time] if args.key?(:end_time) @error = args[:error] if args.key?(:error) @start_time = args[:start_time] if args.key?(:start_time) @status = args[:status] if args.key?(:status) end  |