Show / Hide Table of Contents

Class TeamServiceClientBuilder

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

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

Constructors

TeamServiceClientBuilder()

Creates a new builder with default settings.

Declaration
public TeamServiceClientBuilder()

Properties

Settings

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

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

Methods

Build()

Builds the resulting client.

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

BuildAsync(CancellationToken)

Builds the resulting client asynchronously.

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