Show / Hide Table of Contents

Class SubscriptionsServiceClientBuilder

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

Inheritance
object
ClientBuilderBase<SubscriptionsServiceClient>
SubscriptionsServiceClientBuilder
Inherited Members
ClientBuilderBase<SubscriptionsServiceClient>.Build(IServiceProvider)
ClientBuilderBase<SubscriptionsServiceClient>.BuildAsync(IServiceProvider, CancellationToken)
ClientBuilderBase<SubscriptionsServiceClient>.UniverseDomain
ClientBuilderBase<SubscriptionsServiceClient>.Endpoint
ClientBuilderBase<SubscriptionsServiceClient>.Logger
ClientBuilderBase<SubscriptionsServiceClient>.Scopes
ClientBuilderBase<SubscriptionsServiceClient>.ChannelCredentials
ClientBuilderBase<SubscriptionsServiceClient>.CredentialsPath
ClientBuilderBase<SubscriptionsServiceClient>.JsonCredentials
ClientBuilderBase<SubscriptionsServiceClient>.GoogleCredential
ClientBuilderBase<SubscriptionsServiceClient>.Credential
ClientBuilderBase<SubscriptionsServiceClient>.TokenAccessMethod
ClientBuilderBase<SubscriptionsServiceClient>.CallInvoker
ClientBuilderBase<SubscriptionsServiceClient>.UserAgent
ClientBuilderBase<SubscriptionsServiceClient>.GrpcAdapter
ClientBuilderBase<SubscriptionsServiceClient>.ApiKey
ClientBuilderBase<SubscriptionsServiceClient>.QuotaProject
ClientBuilderBase<SubscriptionsServiceClient>.GrpcChannelOptions
ClientBuilderBase<SubscriptionsServiceClient>.LastCreatedChannel
ClientBuilderBase<SubscriptionsServiceClient>.UseJwtAccessWithScopes
object.GetHashCode()
object.GetType()
object.ToString()
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
Google.Api.Gax.Grpc.ClientBuilderBase<Google.Apps.Events.Subscriptions.V1.SubscriptionsServiceClient>.Build()

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
Google.Api.Gax.Grpc.ClientBuilderBase<Google.Apps.Events.Subscriptions.V1.SubscriptionsServiceClient>.BuildAsync(System.Threading.CancellationToken)

GetChannelPool()

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

Declaration
protected override ChannelPool GetChannelPool()
Returns
Type Description
ChannelPool
Overrides
Google.Api.Gax.Grpc.ClientBuilderBase<Google.Apps.Events.Subscriptions.V1.SubscriptionsServiceClient>.GetChannelPool()
In this article
Back to top Generated by DocFX