Policy Troubleshooter v3 API - Class PolicyTroubleshooterClientBuilder (1.2.0)

public sealed class PolicyTroubleshooterClientBuilder : ClientBuilderBase<PolicyTroubleshooterClient>

Reference documentation and code samples for the Policy Troubleshooter v3 API class PolicyTroubleshooterClientBuilder.

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

Inheritance

object > ClientBuilderBasePolicyTroubleshooterClient > PolicyTroubleshooterClientBuilder

Namespace

Google.Cloud.PolicyTroubleshooter.Iam.V3

Assembly

Google.Cloud.PolicyTroubleshooter.Iam.V3.dll

Constructors

PolicyTroubleshooterClientBuilder()

public PolicyTroubleshooterClientBuilder()

Creates a new builder with default settings.

Properties

Settings

public PolicyTroubleshooterSettings Settings { get; set; }

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

Property Value
Type Description
PolicyTroubleshooterSettings

Methods

Build()

public override PolicyTroubleshooterClient Build()

Builds the resulting client.

Returns
Type Description
PolicyTroubleshooterClient
Overrides

BuildAsync(CancellationToken)

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

Builds the resulting client asynchronously.

Parameter
Name Description
cancellationToken CancellationToken
Returns
Type Description
TaskPolicyTroubleshooterClient
Overrides

GetChannelPool()

protected override ChannelPool GetChannelPool()

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

Returns
Type Description
ChannelPool
Overrides