Cloud Identity-Aware Proxy v1 API - Class IdentityAwareProxyOAuthServiceClientBuilder (2.2.0)

public sealed class IdentityAwareProxyOAuthServiceClientBuilder : ClientBuilderBase<IdentityAwareProxyOAuthServiceClient>

Reference documentation and code samples for the Cloud Identity-Aware Proxy v1 API class IdentityAwareProxyOAuthServiceClientBuilder.

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

Inheritance

Object > ClientBuilderBase<IdentityAwareProxyOAuthServiceClient> > IdentityAwareProxyOAuthServiceClientBuilder

Namespace

Google.Cloud.Iap.V1

Assembly

Google.Cloud.Iap.V1.dll

Constructors

IdentityAwareProxyOAuthServiceClientBuilder()

public IdentityAwareProxyOAuthServiceClientBuilder()

Creates a new builder with default settings.

Properties

Settings

public IdentityAwareProxyOAuthServiceSettings Settings { get; set; }

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

Property Value
TypeDescription
IdentityAwareProxyOAuthServiceSettings

Methods

Build()

public override IdentityAwareProxyOAuthServiceClient Build()

Builds the resulting client.

Returns
TypeDescription
IdentityAwareProxyOAuthServiceClient
Overrides
Google.Api.Gax.Grpc.ClientBuilderBase<Google.Cloud.Iap.V1.IdentityAwareProxyOAuthServiceClient>.Build()

BuildAsync(CancellationToken)

public override Task<IdentityAwareProxyOAuthServiceClient> BuildAsync(CancellationToken cancellationToken = default(CancellationToken))

Builds the resulting client asynchronously.

Parameter
NameDescription
cancellationTokenCancellationToken
Returns
TypeDescription
Task<IdentityAwareProxyOAuthServiceClient>
Overrides
Google.Api.Gax.Grpc.ClientBuilderBase<Google.Cloud.Iap.V1.IdentityAwareProxyOAuthServiceClient>.BuildAsync(System.Threading.CancellationToken)

GetChannelPool()

protected override ChannelPool GetChannelPool()

Returns the channel pool to use when no other options are specified.

Returns
TypeDescription
ChannelPool
Overrides
Google.Api.Gax.Grpc.ClientBuilderBase<Google.Cloud.Iap.V1.IdentityAwareProxyOAuthServiceClient>.GetChannelPool()