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

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
TypeDescription
CloudQuotasSettings

Methods

Build()

public override CloudQuotasClient Build()

Builds the resulting client.

Returns
TypeDescription
CloudQuotasClient
Overrides

BuildAsync(CancellationToken)

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

Builds the resulting client asynchronously.

Parameter
NameDescription
cancellationTokenCancellationToken
Returns
TypeDescription
TaskCloudQuotasClient
Overrides

GetChannelPool()

protected override ChannelPool GetChannelPool()

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

Returns
TypeDescription
ChannelPool
Overrides