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

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

Defined Under Namespace

Classes: InsertError

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Core::JsonObjectSupport

#to_json

Methods included from Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ InsertAllTableDataResponse

Returns a new instance of InsertAllTableDataResponse.



2651
2652
2653
# File 'generated/google/apis/bigquery_v2/classes.rb', line 2651

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



2644
2645
2646
# File 'generated/google/apis/bigquery_v2/classes.rb', line 2644

def insert_errors
  @insert_errors
end

#kindString

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

Returns:

  • (String)


2649
2650
2651
# File 'generated/google/apis/bigquery_v2/classes.rb', line 2649

def kind
  @kind
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2656
2657
2658
2659
# File 'generated/google/apis/bigquery_v2/classes.rb', line 2656

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