class Google::Cloud::Bigquery::InsertResponse::InsertError

InsertError

Represents the errors for a row that was not inserted.

@attr_reader [Integer] index The index of the row that error applies

to.

@attr_reader [Hash] row The row that error applies to. @attr_reader [Hash] errors Error information for the row indicated by

the index property, with the following keys: `reason`, `location`,
`debugInfo`, and `message`.

Attributes

errors[R]
index[R]
row[R]

Public Class Methods

new(index, row, errors) click to toggle source

@private

# File lib/google/cloud/bigquery/insert_response.rb, line 171
def initialize index, row, errors
  @index = index
  @row = row
  @errors = errors
end