Show / Hide Table of Contents

Class OrderServiceClientBuilder

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

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

Constructors

OrderServiceClientBuilder()

Creates a new builder with default settings.

Declaration
public OrderServiceClientBuilder()

Properties

Settings

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

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

Methods

Build()

Builds the resulting client.

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

BuildAsync(CancellationToken)

Builds the resulting client asynchronously.

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