Show / Hide Table of Contents

Class AdSpotServiceClientBuilder

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

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

Constructors

AdSpotServiceClientBuilder()

Creates a new builder with default settings.

Declaration
public AdSpotServiceClientBuilder()

Properties

Settings

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

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

Methods

Build()

Builds the resulting client.

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

BuildAsync(CancellationToken)

Builds the resulting client asynchronously.

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