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.
Namespace
GoogleGoogle.CloudGoogle.Cloud.BigQueryV2Assembly
Google.Cloud.BigQuery.V2.dll
Properties
DefaultLocation
public string DefaultLocation { get; set; }
The default location to use for location-specific operations.
Property Value | |
---|---|
Type | Description |
string |
PrettyPrint
public bool? PrettyPrint { get; set; }
If set, overrides the default pretty-print setting.
Property Value | |
---|---|
Type | Description |
bool |
ProjectId
public string ProjectId { get; set; }
The project ID, which must be set before building the client.
Property Value | |
---|---|
Type | Description |
string |
Methods
Build()
public override BigQueryClient Build()
Returns | |
---|---|
Type | Description |
BigQueryClient |
Google.Api.Gax.Rest.ClientBuilderBase<Google.Cloud.BigQuery.V2.BigQueryClient>.Build()
BuildAsync(CancellationToken)
public override Task<BigQueryClient> BuildAsync(CancellationToken cancellationToken = default)
Parameter | |
---|---|
Name | Description |
cancellationToken | CancellationToken |
Returns | |
---|---|
Type | Description |
TaskBigQueryClient |
GetDefaultApplicationName()
protected override string GetDefaultApplicationName()
Returns | |
---|---|
Type | Description |
string |
Google.Api.Gax.Rest.ClientBuilderBase<Google.Cloud.BigQuery.V2.BigQueryClient>.GetDefaultApplicationName()
GetScopedCredentialProvider()
protected override ScopedCredentialProvider GetScopedCredentialProvider()
Returns | |
---|---|
Type | Description |
ScopedCredentialProvider |
Google.Api.Gax.Rest.ClientBuilderBase<Google.Cloud.BigQuery.V2.BigQueryClient>.GetScopedCredentialProvider()
Validate()
protected override void Validate()
Google.Api.Gax.Rest.ClientBuilderBase<Google.Cloud.BigQuery.V2.BigQueryClient>.Validate()