Network Management v1 API - Class ReachabilityServiceClientBuilder (2.12.0)

public sealed class ReachabilityServiceClientBuilder : ClientBuilderBase<ReachabilityServiceClient>

Reference documentation and code samples for the Network Management v1 API class ReachabilityServiceClientBuilder.

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

Inheritance

object > ClientBuilderBaseReachabilityServiceClient > 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
Type Description
ReachabilityServiceSettings

Methods

Build()

public override ReachabilityServiceClient Build()

Builds the resulting client.

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

BuildAsync(CancellationToken)

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

Builds the resulting client asynchronously.

Parameter
Name Description
cancellationToken CancellationToken
Returns
Type Description
TaskReachabilityServiceClient
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
Type Description
ChannelPool
Overrides
Google.Api.Gax.Grpc.ClientBuilderBase<Google.Cloud.NetworkManagement.V1.ReachabilityServiceClient>.GetChannelPool()