Class: Google::Apis::StoragetransferV1::ErrorSummary
- Inherits:
- 
      Object
      
        - Object
- Google::Apis::StoragetransferV1::ErrorSummary
 
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/storagetransfer_v1/classes.rb,
 generated/google/apis/storagetransfer_v1/representations.rb,
 generated/google/apis/storagetransfer_v1/representations.rb
Overview
A summary of errors by error code, plus a count and sample error log entries.
Instance Attribute Summary collapse
- 
  
    
      #error_code  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    Required. 
- 
  
    
      #error_count  ⇒ Fixnum 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    Count of this type of error. 
- 
  
    
      #error_log_entries  ⇒ Array<Google::Apis::StoragetransferV1::ErrorLogEntry> 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    Error samples. 
Instance Method Summary collapse
- 
  
    
      #initialize(**args)  ⇒ ErrorSummary 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    A new instance of ErrorSummary. 
- 
  
    
      #update!(**args)  ⇒ Object 
    
    
  
  
  
  
  
  
  
  
  
    Update properties of this object. 
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ ErrorSummary
Returns a new instance of ErrorSummary
| 192 193 194 | # File 'generated/google/apis/storagetransfer_v1/classes.rb', line 192 def initialize(**args) update!(**args) end | 
Instance Attribute Details
#error_code ⇒ String
Required.
Corresponds to the JSON property errorCode
| 179 180 181 | # File 'generated/google/apis/storagetransfer_v1/classes.rb', line 179 def error_code @error_code end | 
#error_count ⇒ Fixnum
Count of this type of error.
Required.
Corresponds to the JSON property errorCount
| 185 186 187 | # File 'generated/google/apis/storagetransfer_v1/classes.rb', line 185 def error_count @error_count end | 
#error_log_entries ⇒ Array<Google::Apis::StoragetransferV1::ErrorLogEntry>
Error samples.
Corresponds to the JSON property errorLogEntries
| 190 191 192 | # File 'generated/google/apis/storagetransfer_v1/classes.rb', line 190 def error_log_entries @error_log_entries end | 
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
| 197 198 199 200 201 | # File 'generated/google/apis/storagetransfer_v1/classes.rb', line 197 def update!(**args) @error_code = args[:error_code] if args.key?(:error_code) @error_count = args[:error_count] if args.key?(:error_count) @error_log_entries = args[:error_log_entries] if args.key?(:error_log_entries) end |