Show / Hide Table of Contents

Class McmEarningsServiceClientBuilder

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

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

Constructors

McmEarningsServiceClientBuilder()

Creates a new builder with default settings.

Declaration
public McmEarningsServiceClientBuilder()

Properties

Settings

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

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

Methods

Build()

Builds the resulting client.

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

BuildAsync(CancellationToken)

Builds the resulting client asynchronously.

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