class Google::Apis::CloudsearchV1::ProcessingError

Attributes

code[RW]

Error code indicating the nature of the error. Corresponds to the JSON property `code` @return [String]

error_message[RW]

Description of the error. Corresponds to the JSON property `errorMessage` @return [String]

field_violations[RW]

In case the item fields are invalid, this field contains the details about the validation errors. Corresponds to the JSON property `fieldViolations` @return [Array<Google::Apis::CloudsearchV1::FieldViolation>]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/cloudsearch_v1/classes.rb, line 2962
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/cloudsearch_v1/classes.rb, line 2967
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