Class: Google::Apis::DatamanagerV1::ErrorInfo

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/datamanager_v1/classes.rb,
lib/google/apis/datamanager_v1/representations.rb,
lib/google/apis/datamanager_v1/representations.rb

Overview

Error counts for each type of error.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ ErrorInfo

Returns a new instance of ErrorInfo.



523
524
525
# File 'lib/google/apis/datamanager_v1/classes.rb', line 523

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

Instance Attribute Details

#error_countsArray<Google::Apis::DatamanagerV1::ErrorCount>

A list of errors and counts per error reason. May not be populated in all cases. Corresponds to the JSON property errorCounts



521
522
523
# File 'lib/google/apis/datamanager_v1/classes.rb', line 521

def error_counts
  @error_counts
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



528
529
530
# File 'lib/google/apis/datamanager_v1/classes.rb', line 528

def update!(**args)
  @error_counts = args[:error_counts] if args.key?(:error_counts)
end