Advisory Notifications v1 API - Class AdvisoryNotificationsServiceClientBuilder (1.6.0)

public sealed class AdvisoryNotificationsServiceClientBuilder : ClientBuilderBase<AdvisoryNotificationsServiceClient>

Reference documentation and code samples for the Advisory Notifications v1 API class AdvisoryNotificationsServiceClientBuilder.

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

Inheritance

object > ClientBuilderBaseAdvisoryNotificationsServiceClient > AdvisoryNotificationsServiceClientBuilder

Namespace

Google.Cloud.AdvisoryNotifications.V1

Assembly

Google.Cloud.AdvisoryNotifications.V1.dll

Constructors

AdvisoryNotificationsServiceClientBuilder()

public AdvisoryNotificationsServiceClientBuilder()

Creates a new builder with default settings.

Properties

Settings

public AdvisoryNotificationsServiceSettings Settings { get; set; }

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

Property Value
Type Description
AdvisoryNotificationsServiceSettings

Methods

Build()

public override AdvisoryNotificationsServiceClient Build()

Builds the resulting client.

Returns
Type Description
AdvisoryNotificationsServiceClient
Overrides

BuildAsync(CancellationToken)

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

Builds the resulting client asynchronously.

Parameter
Name Description
cancellationToken CancellationToken
Returns
Type Description
TaskAdvisoryNotificationsServiceClient
Overrides

GetChannelPool()

protected override ChannelPool GetChannelPool()

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

Returns
Type Description
ChannelPool
Overrides