Class: Google::Apis::LanguageV1beta2::XpsDataErrors
- Inherits:
-
Object
- Object
- Google::Apis::LanguageV1beta2::XpsDataErrors
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/language_v1beta2/classes.rb,
lib/google/apis/language_v1beta2/representations.rb,
lib/google/apis/language_v1beta2/representations.rb
Overview
Different types of errors and the stats associatesd with each error.
Instance Attribute Summary collapse
-
#count ⇒ Fixnum
Number of records having errors associated with the enum.
-
#error_type ⇒ String
Type of the error.
Instance Method Summary collapse
-
#initialize(**args) ⇒ XpsDataErrors
constructor
A new instance of XpsDataErrors.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ XpsDataErrors
Returns a new instance of XpsDataErrors.
2008 2009 2010 |
# File 'lib/google/apis/language_v1beta2/classes.rb', line 2008 def initialize(**args) update!(**args) end |
Instance Attribute Details
#count ⇒ Fixnum
Number of records having errors associated with the enum.
Corresponds to the JSON property count
2001 2002 2003 |
# File 'lib/google/apis/language_v1beta2/classes.rb', line 2001 def count @count end |
#error_type ⇒ String
Type of the error.
Corresponds to the JSON property errorType
2006 2007 2008 |
# File 'lib/google/apis/language_v1beta2/classes.rb', line 2006 def error_type @error_type end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2013 2014 2015 2016 |
# File 'lib/google/apis/language_v1beta2/classes.rb', line 2013 def update!(**args) @count = args[:count] if args.key?(:count) @error_type = args[:error_type] if args.key?(:error_type) end |