Dataflow v1beta3 API - Class FlexTemplatesServiceClientBuilder (2.0.0-beta04)

public sealed class FlexTemplatesServiceClientBuilder : ClientBuilderBase<FlexTemplatesServiceClient>

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

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

Inheritance

object > ClientBuilderBaseFlexTemplatesServiceClient > FlexTemplatesServiceClientBuilder

Namespace

GoogleGoogle.CloudGoogle.Cloud.DataflowV1Beta3

Assembly

Google.Cloud.Dataflow.V1Beta3.dll

Constructors

FlexTemplatesServiceClientBuilder()

public FlexTemplatesServiceClientBuilder()

Creates a new builder with default settings.

Properties

Settings

public FlexTemplatesServiceSettings Settings { get; set; }

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

Property Value
TypeDescription
FlexTemplatesServiceSettings

Methods

Build()

public override FlexTemplatesServiceClient Build()

Builds the resulting client.

Returns
TypeDescription
FlexTemplatesServiceClient
Overrides
Google.Api.Gax.Grpc.ClientBuilderBase<Google.Cloud.Dataflow.V1Beta3.FlexTemplatesServiceClient>.Build()

BuildAsync(CancellationToken)

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

Builds the resulting client asynchronously.

Parameter
NameDescription
cancellationTokenCancellationToken
Returns
TypeDescription
TaskFlexTemplatesServiceClient
Overrides
Google.Api.Gax.Grpc.ClientBuilderBase<Google.Cloud.Dataflow.V1Beta3.FlexTemplatesServiceClient>.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.Dataflow.V1Beta3.FlexTemplatesServiceClient>.GetChannelPool()