public sealed class InternalRangeServiceClientBuilder : ClientBuilderBase<InternalRangeServiceClient>
Reference documentation and code samples for the Network Connectivity v1 API class InternalRangeServiceClientBuilder.
Builder class for InternalRangeServiceClient to provide simple configuration of credentials, endpoint etc.
Inheritance
object > ClientBuilderBaseInternalRangeServiceClient > InternalRangeServiceClientBuilderNamespace
Google.Cloud.NetworkConnectivity.V1Assembly
Google.Cloud.NetworkConnectivity.V1.dll
Constructors
InternalRangeServiceClientBuilder()
public InternalRangeServiceClientBuilder()
Creates a new builder with default settings.
Properties
Settings
public InternalRangeServiceSettings Settings { get; set; }
The settings to use for RPCs, or null
for the default settings.
Property Value | |
---|---|
Type | Description |
InternalRangeServiceSettings |
Methods
Build()
public override InternalRangeServiceClient Build()
Builds the resulting client.
Returns | |
---|---|
Type | Description |
InternalRangeServiceClient |
BuildAsync(CancellationToken)
public override Task<InternalRangeServiceClient> BuildAsync(CancellationToken cancellationToken = default)
Builds the resulting client asynchronously.
Parameter | |
---|---|
Name | Description |
cancellationToken |
CancellationToken |
Returns | |
---|---|
Type | Description |
TaskInternalRangeServiceClient |
GetChannelPool()
protected override ChannelPool GetChannelPool()
Returns the channel pool to use when no other options are specified.
Returns | |
---|---|
Type | Description |
ChannelPool |