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 > GDCHardwareManagementClientBuilderNamespace
Google.Cloud.GdcHardwareManagement.V1AlphaAssembly
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 |
|
BuildAsync(CancellationToken)
public override Task<GDCHardwareManagementClient> BuildAsync(CancellationToken cancellationToken = default)Builds the resulting client asynchronously.
| Parameter | |
|---|---|
| Name | Description |
cancellationToken |
CancellationToken |
| Returns | |
|---|---|
| Type | Description |
TaskGDCHardwareManagementClient |
|
GetChannelPool()
protected override ChannelPool GetChannelPool()Returns the channel pool to use when no other options are specified.
| Returns | |
|---|---|
| Type | Description |
ChannelPool |
|