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



167
168
169
# File 'lib/google/cloud/bigquery/insert_response.rb', line 167

def errors
  @errors
end

#indexInteger (readonly)

The index of the row that error applies to.

Returns:

  • (Integer)

    the current value of index



167
168
169
# File 'lib/google/cloud/bigquery/insert_response.rb', line 167

def index
  @index
end

#rowHash (readonly)

The row that error applies to.

Returns:

  • (Hash)

    the current value of row



167
168
169
# File 'lib/google/cloud/bigquery/insert_response.rb', line 167

def row
  @row
end