Show / Hide Table of Contents

Class ContentServiceClientBuilder

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

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

Constructors

ContentServiceClientBuilder()

Creates a new builder with default settings.

Declaration
public ContentServiceClientBuilder()

Properties

Settings

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

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

Methods

Build()

Builds the resulting client.

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

BuildAsync(CancellationToken)

Builds the resulting client asynchronously.

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