Class: Google::Apis::BigqueryV2::InsertAllTableDataResponse

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/bigquery_v2/classes.rb,
lib/google/apis/bigquery_v2/representations.rb,
lib/google/apis/bigquery_v2/representations.rb

Defined Under Namespace

Classes: InsertError

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ InsertAllTableDataResponse

Returns a new instance of InsertAllTableDataResponse.



6372
6373
6374
# File 'lib/google/apis/bigquery_v2/classes.rb', line 6372

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#insert_errorsArray<Google::Apis::BigqueryV2::InsertAllTableDataResponse::InsertError>

An array of errors for rows that were not inserted. Corresponds to the JSON property insertErrors



6365
6366
6367
# File 'lib/google/apis/bigquery_v2/classes.rb', line 6365

def insert_errors
  @insert_errors
end

#kindString

The resource type of the response. Corresponds to the JSON property kind

Returns:

  • (String)


6370
6371
6372
# File 'lib/google/apis/bigquery_v2/classes.rb', line 6370

def kind
  @kind
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



6377
6378
6379
6380
# File 'lib/google/apis/bigquery_v2/classes.rb', line 6377

def update!(**args)
  @insert_errors = args[:insert_errors] if args.key?(:insert_errors)
  @kind = args[:kind] if args.key?(:kind)
end