Show / Hide Table of Contents

Class TrafficForecastSegmentServiceClientBuilder

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

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

Constructors

TrafficForecastSegmentServiceClientBuilder()

Creates a new builder with default settings.

Declaration
public TrafficForecastSegmentServiceClientBuilder()

Properties

Settings

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

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

Methods

Build()

Builds the resulting client.

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

BuildAsync(CancellationToken)

Builds the resulting client asynchronously.

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