Show / Hide Table of Contents

Class NativeStyleServiceClientBuilder

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

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

Constructors

NativeStyleServiceClientBuilder()

Creates a new builder with default settings.

Declaration
public NativeStyleServiceClientBuilder()

Properties

Settings

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

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

Methods

Build()

Builds the resulting client.

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

BuildAsync(CancellationToken)

Builds the resulting client asynchronously.

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