Class: Google::Cloud::Bigquery::InsertResponse::InsertError
- Inherits:
-
Object
- Object
- Google::Cloud::Bigquery::InsertResponse::InsertError
- 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
-
#errors ⇒ Hash
readonly
Error information for the row indicated by the index property, with the following keys:
reason
,location
,debugInfo
, andmessage
. -
#index ⇒ Integer
readonly
The index of the row that error applies to.
-
#row ⇒ Hash
readonly
The row that error applies to.
Instance Attribute Details
#errors ⇒ Hash (readonly)
Error information for the row indicated by
the index property, with the following keys: reason
, location
,
debugInfo
, and message
.
167 168 169 |
# File 'lib/google/cloud/bigquery/insert_response.rb', line 167 def errors @errors end |
#index ⇒ Integer (readonly)
The index of the row that error applies to.
167 168 169 |
# File 'lib/google/cloud/bigquery/insert_response.rb', line 167 def index @index end |
#row ⇒ Hash (readonly)
The row that error applies to.
167 168 169 |
# File 'lib/google/cloud/bigquery/insert_response.rb', line 167 def row @row end |