Class: Google::Apis::CloudsearchV1::ProcessingError
- Inherits:
-
Object
- Object
- Google::Apis::CloudsearchV1::ProcessingError
- Defined in:
- generated/google/apis/cloudsearch_v1/classes.rb,
generated/google/apis/cloudsearch_v1/representations.rb,
generated/google/apis/cloudsearch_v1/representations.rb
Instance Attribute Summary collapse
-
#code ⇒ String
Error code indicating the nature of the error.
-
#error_message ⇒ String
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.
Methods included from Google::Apis::Core::JsonObjectSupport
Methods included from Google::Apis::Core::Hashable
Constructor Details
#initialize(**args) ⇒ ProcessingError
Returns a new instance of ProcessingError
2690 2691 2692 |
# File 'generated/google/apis/cloudsearch_v1/classes.rb', line 2690 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
2677 2678 2679 |
# File 'generated/google/apis/cloudsearch_v1/classes.rb', line 2677 def code @code end |
#error_message ⇒ String
Description of the error.
Corresponds to the JSON property errorMessage
2682 2683 2684 |
# File 'generated/google/apis/cloudsearch_v1/classes.rb', line 2682 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
2688 2689 2690 |
# File 'generated/google/apis/cloudsearch_v1/classes.rb', line 2688 def field_violations @field_violations end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2695 2696 2697 2698 2699 |
# File 'generated/google/apis/cloudsearch_v1/classes.rb', line 2695 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 |