Class ReachabilityServiceClientBuilder (2.0.0)

public sealed class ReachabilityServiceClientBuilder : ClientBuilderBase<ReachabilityServiceClient>

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

Inheritance

Object > ClientBuilderBase<ReachabilityServiceClient> > ReachabilityServiceClientBuilder

Namespace

Google.Cloud.NetworkManagement.V1

Assembly

Google.Cloud.NetworkManagement.V1.dll

Constructors

ReachabilityServiceClientBuilder()

public ReachabilityServiceClientBuilder()

Creates a new builder with default settings.

Properties

Settings

public ReachabilityServiceSettings Settings { get; set; }

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

Property Value
TypeDescription
ReachabilityServiceSettings

Methods

Build()

public override ReachabilityServiceClient Build()

Builds the resulting client.

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

BuildAsync(CancellationToken)

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

Builds the resulting client asynchronously.

Parameter
NameDescription
cancellationTokenCancellationToken
Returns
TypeDescription
Task<ReachabilityServiceClient>
Overrides
Google.Api.Gax.Grpc.ClientBuilderBase<Google.Cloud.NetworkManagement.V1.ReachabilityServiceClient>.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.NetworkManagement.V1.ReachabilityServiceClient>.GetChannelPool()