Web Security Scanner v1 API - Class WebSecurityScannerClientBuilder (2.3.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 > ClientBuilderBaseWebSecurityScannerClient > 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

BuildAsync(CancellationToken)

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

Builds the resulting client asynchronously.

Parameter
NameDescription
cancellationTokenCancellationToken
Returns
TypeDescription
TaskWebSecurityScannerClient
Overrides

GetChannelPool()

protected override ChannelPool GetChannelPool()

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

Returns
TypeDescription
ChannelPool
Overrides