public sealed class BigQueryClientBuilder : ClientBuilderBase<BigQueryClient>A builder for BigQueryClient, allowing simple client customization.
Namespace
Google.Cloud.BigQuery.V2Assembly
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 |
Nullable<Boolean> |
|
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(CancellationToken))| Parameter | |
|---|---|
| Name | Description |
cancellationToken |
CancellationToken |
| Returns | |
|---|---|
| Type | Description |
Task<BigQueryClient> |
|
Google.Api.Gax.Rest.ClientBuilderBase<Google.Cloud.BigQuery.V2.BigQueryClient>.BuildAsync(System.Threading.CancellationToken)
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()