Dataflow v1beta3 API - Class TemplatesServiceClientBuilder (2.0.0-beta06)

public sealed class TemplatesServiceClientBuilder : ClientBuilderBase<TemplatesServiceClient>

Reference documentation and code samples for the Dataflow v1beta3 API class TemplatesServiceClientBuilder.

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

Inheritance

object > ClientBuilderBaseTemplatesServiceClient > TemplatesServiceClientBuilder

Namespace

Google.Cloud.Dataflow.V1Beta3

Assembly

Google.Cloud.Dataflow.V1Beta3.dll

Constructors

TemplatesServiceClientBuilder()

public TemplatesServiceClientBuilder()

Creates a new builder with default settings.

Properties

Settings

public TemplatesServiceSettings Settings { get; set; }

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

Property Value
TypeDescription
TemplatesServiceSettings

Methods

Build()

public override TemplatesServiceClient Build()

Builds the resulting client.

Returns
TypeDescription
TemplatesServiceClient
Overrides

BuildAsync(CancellationToken)

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

Builds the resulting client asynchronously.

Parameter
NameDescription
cancellationTokenCancellationToken
Returns
TypeDescription
TaskTemplatesServiceClient
Overrides

GetChannelPool()

protected override ChannelPool GetChannelPool()

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

Returns
TypeDescription
ChannelPool
Overrides