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