Web Security Scanner v1 API - Class WebSecurityScannerClientBuilder (2.1.0)

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.

Inheritance

Object > ClientBuilderBase<WebSecurityScannerClient> > WebSecurityScannerClientBuilder

Namespace

Google.Cloud.WebSecurityScanner.V1

Assembly

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
TypeDescription
WebSecurityScannerSettings

Methods

Build()

public override WebSecurityScannerClient Build()

Builds the resulting client.

Returns
TypeDescription
WebSecurityScannerClient
Overrides
Google.Api.Gax.Grpc.ClientBuilderBase<Google.Cloud.WebSecurityScanner.V1.WebSecurityScannerClient>.Build()

BuildAsync(CancellationToken)

public override Task<WebSecurityScannerClient> BuildAsync(CancellationToken cancellationToken = default(CancellationToken))

Builds the resulting client asynchronously.

Parameter
NameDescription
cancellationTokenCancellationToken
Returns
TypeDescription
Task<WebSecurityScannerClient>
Overrides
Google.Api.Gax.Grpc.ClientBuilderBase<Google.Cloud.WebSecurityScanner.V1.WebSecurityScannerClient>.BuildAsync(System.Threading.CancellationToken)

GetChannelPool()

protected override ChannelPool GetChannelPool()

Returns the channel pool to use when no other options are specified.

Returns
TypeDescription
ChannelPool
Overrides
Google.Api.Gax.Grpc.ClientBuilderBase<Google.Cloud.WebSecurityScanner.V1.WebSecurityScannerClient>.GetChannelPool()