BeyondCorp AppConnections v1 API - Class AppConnectionsServiceClientBuilder (1.2.0)

public sealed class AppConnectionsServiceClientBuilder : ClientBuilderBase<AppConnectionsServiceClient>

Reference documentation and code samples for the BeyondCorp AppConnections v1 API class AppConnectionsServiceClientBuilder.

Builder class for AppConnectionsServiceClient to provide simple configuration of credentials, endpoint etc.

Inheritance

object > ClientBuilderBaseAppConnectionsServiceClient > AppConnectionsServiceClientBuilder

Namespace

Google.Cloud.BeyondCorp.AppConnections.V1

Assembly

Google.Cloud.BeyondCorp.AppConnections.V1.dll

Constructors

AppConnectionsServiceClientBuilder()

public AppConnectionsServiceClientBuilder()

Creates a new builder with default settings.

Properties

Settings

public AppConnectionsServiceSettings Settings { get; set; }

The settings to use for RPCs, or null for the default settings.

Property Value
Type Description
AppConnectionsServiceSettings

Methods

Build()

public override AppConnectionsServiceClient Build()

Builds the resulting client.

Returns
Type Description
AppConnectionsServiceClient
Overrides

BuildAsync(CancellationToken)

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

Builds the resulting client asynchronously.

Parameter
Name Description
cancellationToken CancellationToken
Returns
Type Description
TaskAppConnectionsServiceClient
Overrides

GetChannelPool()

protected override ChannelPool GetChannelPool()

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

Returns
Type Description
ChannelPool
Overrides