Class NotificationsApiServiceClientBuilder
Builder class for NotificationsApiServiceClient to provide simple configuration of credentials, endpoint etc.
Inheritance
NotificationsApiServiceClientBuilder
Inherited Members
Namespace: Google.Shopping.Merchant.Notifications.V1Beta
Assembly: Google.Shopping.Merchant.Notifications.V1Beta.dll
Syntax
public sealed class NotificationsApiServiceClientBuilder : ClientBuilderBase<NotificationsApiServiceClient>
Constructors
NotificationsApiServiceClientBuilder()
Creates a new builder with default settings.
Declaration
public NotificationsApiServiceClientBuilder()
Properties
Settings
The settings to use for RPCs, or null
for the default settings.
Declaration
public NotificationsApiServiceSettings Settings { get; set; }
Property Value
Type | Description |
---|---|
NotificationsApiServiceSettings |
Methods
Build()
Builds the resulting client.
Declaration
public override NotificationsApiServiceClient Build()
Returns
Type | Description |
---|---|
NotificationsApiServiceClient |
Overrides
BuildAsync(CancellationToken)
Builds the resulting client asynchronously.
Declaration
public override Task<NotificationsApiServiceClient> BuildAsync(CancellationToken cancellationToken = default)
Parameters
Type | Name | Description |
---|---|---|
CancellationToken | cancellationToken |
Returns
Type | Description |
---|---|
Task<NotificationsApiServiceClient> |
Overrides
GetChannelPool()
Returns the channel pool to use when no other options are specified.
Declaration
protected override ChannelPool GetChannelPool()
Returns
Type | Description |
---|---|
ChannelPool |