public sealed class InsertOptions
Reference documentation and code samples for the Google BigQuery v2 API class InsertOptions.
Options for Insert
operations.
Namespace
GoogleGoogle.CloudGoogle.Cloud.BigQueryV2Assembly
Google.Cloud.BigQuery.V2.dll
Properties
AllowEmptyInsertIds
public bool AllowEmptyInsertIds { get; set; }
When true allows InsertId to be unspecified. This in turns allows for faster inserts, at the expense of possible record duplication if the operation needs to be retried. See https://cloud.google.com/bigquery/quotas#streaming_inserts for more information. The default value is false.
Property Value | |
---|---|
Type | Description |
bool |
AllowUnknownFields
public bool? AllowUnknownFields { get; set; }
Whether or not to accept rows with fields that are not specified in the schema, ignoring the extra fields. If not set, this is effectively false.
Property Value | |
---|---|
Type | Description |
bool |
SkipInvalidRows
public bool? SkipInvalidRows { get; set; }
Insert all valid rows of a request, even if invalid rows exist. If false, the entire request will fail if any invalid rows exist. If not set, this is effectively false. This property is unset by default.
Property Value | |
---|---|
Type | Description |
bool |
SuppressInsertErrors
public bool SuppressInsertErrors { get; set; }
If true, insert errors don't lead to an exception. This property has no effect on which rows are inserted and which are not. The default value is false.
Property Value | |
---|---|
Type | Description |
bool |
TemplateSuffix
public string TemplateSuffix { get; set; }
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 https://cloud.google.com/bigquery/streaming-data-into-bigquery#template-tables for considerations when working with templates tables.
Property Value | |
---|---|
Type | Description |
string |