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