public sealed class TelcoAutomationClientBuilder : ClientBuilderBase<TelcoAutomationClient>
Reference documentation and code samples for the Telco Automation v1 API class TelcoAutomationClientBuilder.
Builder class for TelcoAutomationClient to provide simple configuration of credentials, endpoint etc.
Namespace
Google.Cloud.TelcoAutomation.V1Assembly
Google.Cloud.TelcoAutomation.V1.dll
Constructors
TelcoAutomationClientBuilder()
public TelcoAutomationClientBuilder()
Creates a new builder with default settings.
Properties
Settings
public TelcoAutomationSettings Settings { get; set; }
The settings to use for RPCs, or null
for the default settings.
Property Value | |
---|---|
Type | Description |
TelcoAutomationSettings |
Methods
Build()
public override TelcoAutomationClient Build()
Builds the resulting client.
Returns | |
---|---|
Type | Description |
TelcoAutomationClient |
BuildAsync(CancellationToken)
public override Task<TelcoAutomationClient> BuildAsync(CancellationToken cancellationToken = default)
Builds the resulting client asynchronously.
Parameter | |
---|---|
Name | Description |
cancellationToken |
CancellationToken |
Returns | |
---|---|
Type | Description |
TaskTelcoAutomationClient |
GetChannelPool()
protected override ChannelPool GetChannelPool()
Returns the channel pool to use when no other options are specified.
Returns | |
---|---|
Type | Description |
ChannelPool |