Cloud AI Platform v1 API - Class VizierServiceClientBuilder (2.8.0)

public sealed class VizierServiceClientBuilder : ClientBuilderBase<VizierServiceClient>

Reference documentation and code samples for the Cloud AI Platform v1 API class VizierServiceClientBuilder.

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

Inheritance

Object > ClientBuilderBase<VizierServiceClient> > VizierServiceClientBuilder

Namespace

Google.Cloud.AIPlatform.V1

Assembly

Google.Cloud.AIPlatform.V1.dll

Constructors

VizierServiceClientBuilder()

public VizierServiceClientBuilder()

Creates a new builder with default settings.

Properties

Settings

public VizierServiceSettings Settings { get; set; }

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

Property Value
TypeDescription
VizierServiceSettings

Methods

Build()

public override VizierServiceClient Build()

Builds the resulting client.

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

BuildAsync(CancellationToken)

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

Builds the resulting client asynchronously.

Parameter
NameDescription
cancellationTokenCancellationToken
Returns
TypeDescription
Task<VizierServiceClient>
Overrides
Google.Api.Gax.Grpc.ClientBuilderBase<Google.Cloud.AIPlatform.V1.VizierServiceClient>.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.AIPlatform.V1.VizierServiceClient>.GetChannelPool()