Show / Hide Table of Contents

Class ContactServiceClientBuilder

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

Inheritance
object
ClientBuilderBase<ContactServiceClient>
ContactServiceClientBuilder
Inherited Members
ClientBuilderBase<ContactServiceClient>.Build(IServiceProvider)
ClientBuilderBase<ContactServiceClient>.BuildAsync(IServiceProvider, CancellationToken)
ClientBuilderBase<ContactServiceClient>.UniverseDomain
ClientBuilderBase<ContactServiceClient>.Endpoint
ClientBuilderBase<ContactServiceClient>.Logger
ClientBuilderBase<ContactServiceClient>.Scopes
ClientBuilderBase<ContactServiceClient>.ChannelCredentials
ClientBuilderBase<ContactServiceClient>.CredentialsPath
ClientBuilderBase<ContactServiceClient>.JsonCredentials
ClientBuilderBase<ContactServiceClient>.GoogleCredential
ClientBuilderBase<ContactServiceClient>.Credential
ClientBuilderBase<ContactServiceClient>.TokenAccessMethod
ClientBuilderBase<ContactServiceClient>.CallInvoker
ClientBuilderBase<ContactServiceClient>.UserAgent
ClientBuilderBase<ContactServiceClient>.GrpcAdapter
ClientBuilderBase<ContactServiceClient>.ApiKey
ClientBuilderBase<ContactServiceClient>.QuotaProject
ClientBuilderBase<ContactServiceClient>.GrpcChannelOptions
ClientBuilderBase<ContactServiceClient>.LastCreatedChannel
ClientBuilderBase<ContactServiceClient>.UseJwtAccessWithScopes
object.GetHashCode()
object.GetType()
object.ToString()
Namespace: Google.Ads.AdManager.V1
Assembly: Google.Ads.AdManager.V1.dll
Syntax
public sealed class ContactServiceClientBuilder : ClientBuilderBase<ContactServiceClient>

Constructors

ContactServiceClientBuilder()

Creates a new builder with default settings.

Declaration
public ContactServiceClientBuilder()

Properties

Settings

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

Declaration
public ContactServiceSettings Settings { get; set; }
Property Value
Type Description
ContactServiceSettings

Methods

Build()

Builds the resulting client.

Declaration
public override ContactServiceClient Build()
Returns
Type Description
ContactServiceClient
Overrides
Google.Api.Gax.Grpc.ClientBuilderBase<Google.Ads.AdManager.V1.ContactServiceClient>.Build()

BuildAsync(CancellationToken)

Builds the resulting client asynchronously.

Declaration
public override Task<ContactServiceClient> BuildAsync(CancellationToken cancellationToken = default)
Parameters
Type Name Description
CancellationToken cancellationToken
Returns
Type Description
Task<ContactServiceClient>
Overrides
Google.Api.Gax.Grpc.ClientBuilderBase<Google.Ads.AdManager.V1.ContactServiceClient>.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.Ads.AdManager.V1.ContactServiceClient>.GetChannelPool()
In this article
Back to top Generated by DocFX