public sealed class CloudControlsPartnerCoreClientBuilder : ClientBuilderBase<CloudControlsPartnerCoreClient>
Reference documentation and code samples for the Cloud Controls Partner v1 API class CloudControlsPartnerCoreClientBuilder.
Builder class for CloudControlsPartnerCoreClient to provide simple configuration of credentials, endpoint etc.
Inheritance
object > ClientBuilderBaseCloudControlsPartnerCoreClient > CloudControlsPartnerCoreClientBuilderNamespace
Google.Cloud.CloudControlsPartner.V1Assembly
Google.Cloud.CloudControlsPartner.V1.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 |
BuildAsync(CancellationToken)
public override Task<CloudControlsPartnerCoreClient> BuildAsync(CancellationToken cancellationToken = default)
Builds the resulting client asynchronously.
Parameter | |
---|---|
Name | Description |
cancellationToken |
CancellationToken |
Returns | |
---|---|
Type | Description |
TaskCloudControlsPartnerCoreClient |
GetChannelPool()
protected override ChannelPool GetChannelPool()
Returns the channel pool to use when no other options are specified.
Returns | |
---|---|
Type | Description |
ChannelPool |