public sealed class FunctionServiceClientBuilder : ClientBuilderBase<FunctionServiceClient>
Reference documentation and code samples for the Cloud Functions v2beta API class FunctionServiceClientBuilder.
Builder class for FunctionServiceClient to provide simple configuration of credentials, endpoint etc.
Namespace
Google.Cloud.Functions.V2BetaAssembly
Google.Cloud.Functions.V2Beta.dll
Constructors
FunctionServiceClientBuilder()
public FunctionServiceClientBuilder()
Creates a new builder with default settings.
Properties
Settings
public FunctionServiceSettings Settings { get; set; }
The settings to use for RPCs, or null
for the default settings.
Property Value | |
---|---|
Type | Description |
FunctionServiceSettings |
Methods
Build()
public override FunctionServiceClient Build()
Builds the resulting client.
Returns | |
---|---|
Type | Description |
FunctionServiceClient |
BuildAsync(CancellationToken)
public override Task<FunctionServiceClient> BuildAsync(CancellationToken cancellationToken = default)
Builds the resulting client asynchronously.
Parameter | |
---|---|
Name | Description |
cancellationToken | CancellationToken |
Returns | |
---|---|
Type | Description |
TaskFunctionServiceClient |
GetChannelPool()
protected override ChannelPool GetChannelPool()
Returns the channel pool to use when no other options are specified.
Returns | |
---|---|
Type | Description |
ChannelPool |