Cloud Dataplex v1 API - Class DataScanServiceClientBuilder (2.3.0)

public sealed class DataScanServiceClientBuilder : ClientBuilderBase<DataScanServiceClient>

Reference documentation and code samples for the Cloud Dataplex v1 API class DataScanServiceClientBuilder.

Builder class for DataScanServiceClient to provide simple configuration of credentials, endpoint etc.

Inheritance

object > ClientBuilderBaseDataScanServiceClient > DataScanServiceClientBuilder

Namespace

GoogleCloudGoogle.Cloud.DataplexV1

Assembly

Google.Cloud.Dataplex.V1.dll

Constructors

DataScanServiceClientBuilder()

public DataScanServiceClientBuilder()

Creates a new builder with default settings.

Properties

Settings

public DataScanServiceSettings Settings { get; set; }

The settings to use for RPCs, or null for the default settings.

Property Value
TypeDescription
DataScanServiceSettings

Methods

Build()

public override DataScanServiceClient Build()

Builds the resulting client.

Returns
TypeDescription
DataScanServiceClient
Overrides
Google.Api.Gax.Grpc.ClientBuilderBase<Google.Cloud.Dataplex.V1.DataScanServiceClient>.Build()

BuildAsync(CancellationToken)

public override Task<DataScanServiceClient> BuildAsync(CancellationToken cancellationToken = default)

Builds the resulting client asynchronously.

Parameter
NameDescription
cancellationTokenCancellationToken
Returns
TypeDescription
TaskDataScanServiceClient
Overrides
Google.Api.Gax.Grpc.ClientBuilderBase<Google.Cloud.Dataplex.V1.DataScanServiceClient>.BuildAsync(System.Threading.CancellationToken)

GetChannelPool()

protected override ChannelPool GetChannelPool()

Returns the channel pool to use when no other options are specified.

Returns
TypeDescription
ChannelPool
Overrides
Google.Api.Gax.Grpc.ClientBuilderBase<Google.Cloud.Dataplex.V1.DataScanServiceClient>.GetChannelPool()