Parameter Manager v1 API - Class ParameterManagerClientBuilder (1.0.0-beta01)

public sealed class ParameterManagerClientBuilder : ClientBuilderBase<ParameterManagerClient>

Reference documentation and code samples for the Parameter Manager v1 API class ParameterManagerClientBuilder.

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

Inheritance

object > ClientBuilderBaseParameterManagerClient > ParameterManagerClientBuilder

Namespace

Google.Cloud.ParameterManager.V1

Assembly

Google.Cloud.ParameterManager.V1.dll

Constructors

ParameterManagerClientBuilder()

public ParameterManagerClientBuilder()

Creates a new builder with default settings.

Properties

Settings

public ParameterManagerSettings Settings { get; set; }

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

Property Value
Type Description
ParameterManagerSettings

Methods

Build()

public override ParameterManagerClient Build()

Builds the resulting client.

Returns
Type Description
ParameterManagerClient
Overrides
Google.Api.Gax.Grpc.ClientBuilderBase<Google.Cloud.ParameterManager.V1.ParameterManagerClient>.Build()

BuildAsync(CancellationToken)

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

Builds the resulting client asynchronously.

Parameter
Name Description
cancellationToken CancellationToken
Returns
Type Description
TaskParameterManagerClient
Overrides
Google.Api.Gax.Grpc.ClientBuilderBase<Google.Cloud.ParameterManager.V1.ParameterManagerClient>.BuildAsync(System.Threading.CancellationToken)

GetChannelPool()

protected override ChannelPool GetChannelPool()

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

Returns
Type Description
ChannelPool
Overrides
Google.Api.Gax.Grpc.ClientBuilderBase<Google.Cloud.ParameterManager.V1.ParameterManagerClient>.GetChannelPool()