Cloud Quotas v1 API - Class CloudQuotasClientBuilder (1.0.0-beta05)

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.

Inheritance

object > ClientBuilderBaseCloudQuotasClient > CloudQuotasClientBuilder

Namespace

Google.Cloud.CloudQuotas.V1

Assembly

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
Overrides

BuildAsync(CancellationToken)

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

Builds the resulting client asynchronously.

Parameter
Name Description
cancellationToken CancellationToken
Returns
Type Description
TaskCloudQuotasClient
Overrides

GetChannelPool()

protected override ChannelPool GetChannelPool()

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

Returns
Type Description
ChannelPool
Overrides