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

Overview

Describes the format of a streaming insert response.

Defined Under Namespace

Classes: InsertError

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ InsertAllTableDataResponse

Returns a new instance of InsertAllTableDataResponse.



9840
9841
9842
# File 'lib/google/apis/bigquery_v2/classes.rb', line 9840

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

Instance Attribute Details

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

Describes specific errors encountered while processing the request. Corresponds to the JSON property insertErrors



9833
9834
9835
# File 'lib/google/apis/bigquery_v2/classes.rb', line 9833

def insert_errors
  @insert_errors
end

#kindString

Returns "bigquery#tableDataInsertAllResponse". Corresponds to the JSON property kind

Returns:

  • (String)


9838
9839
9840
# File 'lib/google/apis/bigquery_v2/classes.rb', line 9838

def kind
  @kind
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



9845
9846
9847
9848
# File 'lib/google/apis/bigquery_v2/classes.rb', line 9845

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