Class BigQueryClientBuilder (3.1.0)

public sealed class BigQueryClientBuilder : ClientBuilderBase<BigQueryClient>

A builder for BigQueryClient, allowing simple client customization.

Inheritance

Object > ClientBuilderBase<BigQueryClient> > BigQueryClientBuilder

Namespace

Google.Cloud.BigQuery.V2

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
Nullable<Boolean>

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 async Task<BigQueryClient> BuildAsync(CancellationToken cancellationToken = default(CancellationToken))
Parameter
NameDescription
cancellationTokenCancellationToken
Returns
TypeDescription
Task<BigQueryClient>
Overrides
Google.Api.Gax.Rest.ClientBuilderBase<Google.Cloud.BigQuery.V2.BigQueryClient>.BuildAsync(System.Threading.CancellationToken)

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()