Class: Google::Cloud::Bigquery::InsertResponse::InsertError

Inherits:
Object
  • Object
show all
Defined in:
lib/google/cloud/bigquery/insert_response.rb

Overview

InsertError

Represents the errors for a row that was not inserted.

Instance Attribute Summary collapse

Instance Attribute Details

#errorsHash (readonly)

Error information for the row indicated by the index property, with the following keys: reason, location, debugInfo, and message.

Returns:

  • (Hash)

    the current value of errors



165
166
167
# File 'lib/google/cloud/bigquery/insert_response.rb', line 165

def errors
  @errors
end

#indexInteger (readonly)

The index of the row that error applies to.

Returns:

  • (Integer)

    the current value of index



165
166
167
# File 'lib/google/cloud/bigquery/insert_response.rb', line 165

def index
  @index
end

#rowHash (readonly)

The row that error applies to.

Returns:

  • (Hash)

    the current value of row



165
166
167
# File 'lib/google/cloud/bigquery/insert_response.rb', line 165

def row
  @row
end