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.
Namespace
Google.Cloud.NetworkManagement.V1Assembly
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 |
BuildAsync(CancellationToken)
public override Task<ReachabilityServiceClient> BuildAsync(CancellationToken cancellationToken = default)
Builds the resulting client asynchronously.
Parameter | |
---|---|
Name | Description |
cancellationToken |
CancellationToken |
Returns | |
---|---|
Type | Description |
TaskReachabilityServiceClient |
GetChannelPool()
protected override ChannelPool GetChannelPool()
Returns the channel pool to use when no other options are specified.
Returns | |
---|---|
Type | Description |
ChannelPool |