Policy Troubleshooter v3 API - Class PolicyTroubleshooterClientBuilder (1.0.0-beta02)

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

Methods

Build()

public override PolicyTroubleshooterClient Build()

Builds the resulting client.

Returns
TypeDescription
PolicyTroubleshooterClient
Overrides

BuildAsync(CancellationToken)

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

Builds the resulting client asynchronously.

Parameter
NameDescription
cancellationTokenCancellationToken
Returns
TypeDescription
TaskPolicyTroubleshooterClient
Overrides

GetChannelPool()

protected override ChannelPool GetChannelPool()

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

Returns
TypeDescription
ChannelPool
Overrides