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 > FlexTemplatesServiceClientBuilderNamespace
GoogleGoogle.CloudGoogle.Cloud.DataflowV1Beta3Assembly
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 | |
---|---|
Type | Description |
FlexTemplatesServiceSettings |
Methods
Build()
public override FlexTemplatesServiceClient Build()
Builds the resulting client.
Returns | |
---|---|
Type | Description |
FlexTemplatesServiceClient |
BuildAsync(CancellationToken)
public override Task<FlexTemplatesServiceClient> BuildAsync(CancellationToken cancellationToken = default)
Builds the resulting client asynchronously.
Parameter | |
---|---|
Name | Description |
cancellationToken | CancellationToken |
Returns | |
---|---|
Type | Description |
TaskFlexTemplatesServiceClient |
GetChannelPool()
protected override ChannelPool GetChannelPool()
Returns the channel pool to use when no other options are specified.
Returns | |
---|---|
Type | Description |
ChannelPool |