Cloud Controls Partner v1beta API - Class CloudControlsPartnerCoreClientBuilder (1.0.0-beta01)

public sealed class CloudControlsPartnerCoreClientBuilder : ClientBuilderBase<CloudControlsPartnerCoreClient>

Reference documentation and code samples for the Cloud Controls Partner v1beta API class CloudControlsPartnerCoreClientBuilder.

Builder class for CloudControlsPartnerCoreClient to provide simple configuration of credentials, endpoint etc.

Inheritance

object > ClientBuilderBaseCloudControlsPartnerCoreClient > CloudControlsPartnerCoreClientBuilder

Namespace

Google.Cloud.CloudControlsPartner.V1Beta

Assembly

Google.Cloud.CloudControlsPartner.V1Beta.dll

Constructors

CloudControlsPartnerCoreClientBuilder()

public CloudControlsPartnerCoreClientBuilder()

Creates a new builder with default settings.

Properties

Settings

public CloudControlsPartnerCoreSettings Settings { get; set; }

The settings to use for RPCs, or null for the default settings.

Property Value
Type Description
CloudControlsPartnerCoreSettings

Methods

Build()

public override CloudControlsPartnerCoreClient Build()

Builds the resulting client.

Returns
Type Description
CloudControlsPartnerCoreClient
Overrides

BuildAsync(CancellationToken)

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

Builds the resulting client asynchronously.

Parameter
Name Description
cancellationToken CancellationToken
Returns
Type Description
TaskCloudControlsPartnerCoreClient
Overrides

GetChannelPool()

protected override ChannelPool GetChannelPool()

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

Returns
Type Description
ChannelPool
Overrides