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