Google BigQuery Storage v1 API - Class BigQueryWriteSettings (3.4.0)

public sealed class BigQueryWriteSettings : ServiceSettingsBase

Reference documentation and code samples for the Google BigQuery Storage v1 API class BigQueryWriteSettings.

Settings for BigQueryWriteClient instances.

Inheritance

Object > ServiceSettingsBase > BigQueryWriteSettings

Namespace

Google.Cloud.BigQuery.Storage.V1

Assembly

Google.Cloud.BigQuery.Storage.V1.dll

Constructors

BigQueryWriteSettings()

public BigQueryWriteSettings()

Constructs a new BigQueryWriteSettings object with default settings.

Properties

AppendRowsSettings

public CallSettings AppendRowsSettings { get; set; }

CallSettings for synchronous and asynchronous calls to BigQueryWriteClient.AppendRows and BigQueryWriteClient.AppendRowsAsync.

Property Value
TypeDescription
CallSettings
Remarks

Timeout: 86400 seconds.

AppendRowsStreamingSettings

public BidirectionalStreamingSettings AppendRowsStreamingSettings { get; set; }

BidirectionalStreamingSettings for calls to BigQueryWriteClient.AppendRows and BigQueryWriteClient.AppendRowsAsync.

Property Value
TypeDescription
BidirectionalStreamingSettings
Remarks

The default local send queue size is 100.

BatchCommitWriteStreamsSettings

public CallSettings BatchCommitWriteStreamsSettings { get; set; }

CallSettings for synchronous and asynchronous calls to BigQueryWriteClient.BatchCommitWriteStreams and BigQueryWriteClient.BatchCommitWriteStreamsAsync .

Property Value
TypeDescription
CallSettings
Remarks
  • Initial retry delay: 100 milliseconds.
  • Retry delay multiplier: 1.3
  • Retry maximum delay: 60000 milliseconds.
  • Maximum attempts: Unlimited
  • Retriable status codes: DeadlineExceeded, Unavailable.
  • Timeout: 600 seconds.

CreateWriteStreamSettings

public CallSettings CreateWriteStreamSettings { get; set; }

CallSettings for synchronous and asynchronous calls to BigQueryWriteClient.CreateWriteStream and BigQueryWriteClient.CreateWriteStreamAsync.

Property Value
TypeDescription
CallSettings
Remarks
  • Initial retry delay: 10000 milliseconds.
  • Retry delay multiplier: 1.3
  • Retry maximum delay: 120000 milliseconds.
  • Maximum attempts: Unlimited
  • Retriable status codes: DeadlineExceeded, Unavailable, ResourceExhausted.
  • Timeout: 1200 seconds.

FinalizeWriteStreamSettings

public CallSettings FinalizeWriteStreamSettings { get; set; }

CallSettings for synchronous and asynchronous calls to BigQueryWriteClient.FinalizeWriteStream and BigQueryWriteClient.FinalizeWriteStreamAsync.

Property Value
TypeDescription
CallSettings
Remarks
  • Initial retry delay: 100 milliseconds.
  • Retry delay multiplier: 1.3
  • Retry maximum delay: 60000 milliseconds.
  • Maximum attempts: Unlimited
  • Retriable status codes: DeadlineExceeded, Unavailable.
  • Timeout: 600 seconds.

FlushRowsSettings

public CallSettings FlushRowsSettings { get; set; }

CallSettings for synchronous and asynchronous calls to BigQueryWriteClient.FlushRows and BigQueryWriteClient.FlushRowsAsync.

Property Value
TypeDescription
CallSettings
Remarks
  • Initial retry delay: 100 milliseconds.
  • Retry delay multiplier: 1.3
  • Retry maximum delay: 60000 milliseconds.
  • Maximum attempts: Unlimited
  • Retriable status codes: DeadlineExceeded, Unavailable.
  • Timeout: 600 seconds.

GetWriteStreamSettings

public CallSettings GetWriteStreamSettings { get; set; }

CallSettings for synchronous and asynchronous calls to BigQueryWriteClient.GetWriteStream and BigQueryWriteClient.GetWriteStreamAsync.

Property Value
TypeDescription
CallSettings
Remarks
  • Initial retry delay: 100 milliseconds.
  • Retry delay multiplier: 1.3
  • Retry maximum delay: 60000 milliseconds.
  • Maximum attempts: Unlimited
  • Retriable status codes: DeadlineExceeded, Unavailable.
  • Timeout: 600 seconds.

Methods

Clone()

public BigQueryWriteSettings Clone()

Creates a deep clone of this object, with all the same property values.

Returns
TypeDescription
BigQueryWriteSettings

A deep clone of this BigQueryWriteSettings object.

GetDefault()

public static BigQueryWriteSettings GetDefault()

Get a new instance of the default BigQueryWriteSettings.

Returns
TypeDescription
BigQueryWriteSettings

A new instance of the default BigQueryWriteSettings.