App Topology v1 API - Class AppTopologyClientBuilder (1.0.0-beta01)

public sealed class AppTopologyClientBuilder : ClientBuilderBase<AppTopologyClient>

Reference documentation and code samples for the App Topology v1 API class AppTopologyClientBuilder.

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

Inheritance

object > ClientBuilderBaseAppTopologyClient > AppTopologyClientBuilder

Namespace

Google.Cloud.AppTopology.V1

Assembly

Google.Cloud.AppTopology.V1.dll

Constructors

AppTopologyClientBuilder()

public AppTopologyClientBuilder()

Creates a new builder with default settings.

Properties

Settings

public AppTopologySettings Settings { get; set; }

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

Property Value
Type Description
AppTopologySettings

Methods

Build()

public override AppTopologyClient Build()

Builds the resulting client.

Returns
Type Description
AppTopologyClient
Overrides
Google.Api.Gax.Grpc.ClientBuilderBase<Google.Cloud.AppTopology.V1.AppTopologyClient>.Build()

BuildAsync(CancellationToken)

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

Builds the resulting client asynchronously.

Parameter
Name Description
cancellationToken CancellationToken
Returns
Type Description
TaskAppTopologyClient
Overrides
Google.Api.Gax.Grpc.ClientBuilderBase<Google.Cloud.AppTopology.V1.AppTopologyClient>.BuildAsync(System.Threading.CancellationToken)

GetChannelPool()

protected override ChannelPool GetChannelPool()

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

Returns
Type Description
ChannelPool
Overrides
Google.Api.Gax.Grpc.ClientBuilderBase<Google.Cloud.AppTopology.V1.AppTopologyClient>.GetChannelPool()