class Google::Apis::BigqueryV2::InsertAllTableDataRequest

Attributes

ignore_unknown_values[RW]
Optional

Accept rows that contain values that do not match the schema. The

unknown values are ignored. Default is false, which treats unknown values as errors. Corresponds to the JSON property `ignoreUnknownValues` @return [Boolean]

ignore_unknown_values?[RW]
Optional

Accept rows that contain values that do not match the schema. The

unknown values are ignored. Default is false, which treats unknown values as errors. Corresponds to the JSON property `ignoreUnknownValues` @return [Boolean]

kind[RW]

The resource type of the response. Corresponds to the JSON property `kind` @return [String]

rows[RW]

The rows to insert. Corresponds to the JSON property `rows` @return [Array<Google::Apis::BigqueryV2::InsertAllTableDataRequest::Row>]

skip_invalid_rows[RW]
Optional

Insert all valid rows of a request, even if invalid rows exist. The

default value is false, which causes the entire request to fail if any invalid rows exist. Corresponds to the JSON property `skipInvalidRows` @return [Boolean]

skip_invalid_rows?[RW]
Optional

Insert all valid rows of a request, even if invalid rows exist. The

default value is false, which causes the entire request to fail if any invalid rows exist. Corresponds to the JSON property `skipInvalidRows` @return [Boolean]

template_suffix[RW]

If specified, treats the destination table as a base template, and inserts the rows into an instance table named “`destination“templateSuffix`”. BigQuery will manage creation of the instance table, using the schema of the base template table. See cloud.google.com/bigquery/streaming-data-into- bigquery#template-tables for considerations when working with templates tables. Corresponds to the JSON property `templateSuffix` @return [String]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/bigquery_v2/classes.rb, line 6454
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/bigquery_v2/classes.rb, line 6459
def update!(**args)
  @ignore_unknown_values = args[:ignore_unknown_values] if args.key?(:ignore_unknown_values)
  @kind = args[:kind] if args.key?(:kind)
  @rows = args[:rows] if args.key?(:rows)
  @skip_invalid_rows = args[:skip_invalid_rows] if args.key?(:skip_invalid_rows)
  @template_suffix = args[:template_suffix] if args.key?(:template_suffix)
end