Google BigQuery v2 API - Class BigQueryClientBuilder (3.3.0)

public sealed class BigQueryClientBuilder : ClientBuilderBase<BigQueryClient>

Reference documentation and code samples for the Google BigQuery v2 API class BigQueryClientBuilder.

A builder for BigQueryClient, allowing simple client customization.

Inheritance

object > ClientBuilderBaseBigQueryClient > BigQueryClientBuilder

Namespace

GoogleGoogle.CloudGoogle.Cloud.BigQueryV2

Assembly

Google.Cloud.BigQuery.V2.dll

Properties

DefaultLocation

public string DefaultLocation { get; set; }

The default location to use for location-specific operations.

Property Value
TypeDescription
string

PrettyPrint

public bool? PrettyPrint { get; set; }

If set, overrides the default pretty-print setting.

Property Value
TypeDescription
bool

ProjectId

public string ProjectId { get; set; }

The project ID, which must be set before building the client.

Property Value
TypeDescription
string

Methods

Build()

public override BigQueryClient Build()
Returns
TypeDescription
BigQueryClient
Overrides
Google.Api.Gax.Rest.ClientBuilderBase<Google.Cloud.BigQuery.V2.BigQueryClient>.Build()

BuildAsync(CancellationToken)

public override Task<BigQueryClient> BuildAsync(CancellationToken cancellationToken = default)
Parameter
NameDescription
cancellationTokenCancellationToken
Returns
TypeDescription
TaskBigQueryClient
Overrides

GetDefaultApplicationName()

protected override string GetDefaultApplicationName()
Returns
TypeDescription
string
Overrides
Google.Api.Gax.Rest.ClientBuilderBase<Google.Cloud.BigQuery.V2.BigQueryClient>.GetDefaultApplicationName()

GetScopedCredentialProvider()

protected override ScopedCredentialProvider GetScopedCredentialProvider()
Returns
TypeDescription
ScopedCredentialProvider
Overrides
Google.Api.Gax.Rest.ClientBuilderBase<Google.Cloud.BigQuery.V2.BigQueryClient>.GetScopedCredentialProvider()

Validate()

protected override void Validate()
Overrides
Google.Api.Gax.Rest.ClientBuilderBase<Google.Cloud.BigQuery.V2.BigQueryClient>.Validate()