Cloud Functions v2beta API - Class FunctionServiceClientBuilder (1.0.0-beta04)

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.

Inheritance

object > ClientBuilderBaseFunctionServiceClient > FunctionServiceClientBuilder

Namespace

Google.Cloud.Functions.V2Beta

Assembly

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
TypeDescription
FunctionServiceSettings

Methods

Build()

public override FunctionServiceClient Build()

Builds the resulting client.

Returns
TypeDescription
FunctionServiceClient
Overrides

BuildAsync(CancellationToken)

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

Builds the resulting client asynchronously.

Parameter
NameDescription
cancellationTokenCancellationToken
Returns
TypeDescription
TaskFunctionServiceClient
Overrides

GetChannelPool()

protected override ChannelPool GetChannelPool()

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

Returns
TypeDescription
ChannelPool
Overrides