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