Class: Google::Apis::CloudsearchV1::ProcessingError
- Inherits:
-
Object
- Object
- Google::Apis::CloudsearchV1::ProcessingError
- Includes:
- Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
- Defined in:
- lib/google/apis/cloudsearch_v1/classes.rb,
lib/google/apis/cloudsearch_v1/representations.rb,
lib/google/apis/cloudsearch_v1/representations.rb
Instance Attribute Summary collapse
-
#code ⇒ String
Error code indicating the nature of the error.
-
#error_message ⇒ String
The description of the error.
-
#field_violations ⇒ Array<Google::Apis::CloudsearchV1::FieldViolation>
In case the item fields are invalid, this field contains the details about the validation errors.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ProcessingError
constructor
A new instance of ProcessingError.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ ProcessingError
Returns a new instance of ProcessingError.
13674 13675 13676 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 13674 def initialize(**args) update!(**args) end |
Instance Attribute Details
#code ⇒ String
Error code indicating the nature of the error.
Corresponds to the JSON property code
13661 13662 13663 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 13661 def code @code end |
#error_message ⇒ String
The description of the error.
Corresponds to the JSON property errorMessage
13666 13667 13668 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 13666 def @error_message end |
#field_violations ⇒ Array<Google::Apis::CloudsearchV1::FieldViolation>
In case the item fields are invalid, this field contains the details about the
validation errors.
Corresponds to the JSON property fieldViolations
13672 13673 13674 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 13672 def field_violations @field_violations end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
13679 13680 13681 13682 13683 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 13679 def update!(**args) @code = args[:code] if args.key?(:code) @error_message = args[:error_message] if args.key?(:error_message) @field_violations = args[:field_violations] if args.key?(:field_violations) end |