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