GDC Hardware Management v1alpha API - Class GDCHardwareManagementClientBuilder (1.0.0-alpha04)

public sealed class GDCHardwareManagementClientBuilder : ClientBuilderBase<GDCHardwareManagementClient>

Reference documentation and code samples for the GDC Hardware Management v1alpha API class GDCHardwareManagementClientBuilder.

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

Inheritance

object > ClientBuilderBaseGDCHardwareManagementClient > GDCHardwareManagementClientBuilder

Namespace

Google.Cloud.GdcHardwareManagement.V1Alpha

Assembly

Google.Cloud.GdcHardwareManagement.V1Alpha.dll

Constructors

GDCHardwareManagementClientBuilder()

public GDCHardwareManagementClientBuilder()

Creates a new builder with default settings.

Properties

Settings

public GDCHardwareManagementSettings Settings { get; set; }

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

Property Value
Type Description
GDCHardwareManagementSettings

Methods

Build()

public override GDCHardwareManagementClient Build()

Builds the resulting client.

Returns
Type Description
GDCHardwareManagementClient
Overrides
Google.Api.Gax.Grpc.ClientBuilderBase<Google.Cloud.GdcHardwareManagement.V1Alpha.GDCHardwareManagementClient>.Build()

BuildAsync(CancellationToken)

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

Builds the resulting client asynchronously.

Parameter
Name Description
cancellationToken CancellationToken
Returns
Type Description
TaskGDCHardwareManagementClient
Overrides
Google.Api.Gax.Grpc.ClientBuilderBase<Google.Cloud.GdcHardwareManagement.V1Alpha.GDCHardwareManagementClient>.BuildAsync(System.Threading.CancellationToken)

GetChannelPool()

protected override ChannelPool GetChannelPool()

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

Returns
Type Description
ChannelPool
Overrides
Google.Api.Gax.Grpc.ClientBuilderBase<Google.Cloud.GdcHardwareManagement.V1Alpha.GDCHardwareManagementClient>.GetChannelPool()