Advisory Notifications v1 API - Class AdvisoryNotificationsServiceClientBuilder (1.3.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
TypeDescription
AdvisoryNotificationsServiceSettings

Methods

Build()

public override AdvisoryNotificationsServiceClient Build()

Builds the resulting client.

Returns
TypeDescription
AdvisoryNotificationsServiceClient
Overrides

BuildAsync(CancellationToken)

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

Builds the resulting client asynchronously.

Parameter
NameDescription
cancellationTokenCancellationToken
Returns
TypeDescription
TaskAdvisoryNotificationsServiceClient
Overrides

GetChannelPool()

protected override ChannelPool GetChannelPool()

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

Returns
TypeDescription
ChannelPool
Overrides