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
.
169 170 171 |
# File 'lib/google/cloud/bigquery/insert_response.rb', line 169 def errors @errors end |
#index ⇒ Integer (readonly)
The index of the row that error applies to.
169 170 171 |
# File 'lib/google/cloud/bigquery/insert_response.rb', line 169 def index @index end |
#row ⇒ Hash (readonly)
The row that error applies to.
169 170 171 |
# File 'lib/google/cloud/bigquery/insert_response.rb', line 169 def row @row end |