Class: Google::Apis::StoragetransferV1::ErrorSummary

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

Methods included from Core::JsonObjectSupport

#to_json

Methods included from Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ ErrorSummary

Returns a new instance of ErrorSummary.


1007
1008
1009
# File 'generated/google/apis/storagetransfer_v1/classes.rb', line 1007

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#error_codeString

Required. Corresponds to the JSON property errorCode

Returns:

  • (String)

995
996
997
# File 'generated/google/apis/storagetransfer_v1/classes.rb', line 995

def error_code
  @error_code
end

#error_countString

Count of this type of error. Required. Corresponds to the JSON property errorCount

Returns:

  • (String)

1000
1001
1002
# File 'generated/google/apis/storagetransfer_v1/classes.rb', line 1000

def error_count
  @error_count
end

#error_log_entriesArray<Google::Apis::StoragetransferV1::ErrorLogEntry>

Error samples. Corresponds to the JSON property errorLogEntries


1005
1006
1007
# File 'generated/google/apis/storagetransfer_v1/classes.rb', line 1005

def error_log_entries
  @error_log_entries
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object


1012
1013
1014
1015
1016
# File 'generated/google/apis/storagetransfer_v1/classes.rb', line 1012

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