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 > PolicyTroubleshooterClientBuilderNamespace
Google.Cloud.PolicyTroubleshooter.Iam.V3Assembly
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 |
BuildAsync(CancellationToken)
public override Task<PolicyTroubleshooterClient> BuildAsync(CancellationToken cancellationToken = default)
Builds the resulting client asynchronously.
Parameter | |
---|---|
Name | Description |
cancellationToken | CancellationToken |
Returns | |
---|---|
Type | Description |
TaskPolicyTroubleshooterClient |
GetChannelPool()
protected override ChannelPool GetChannelPool()
Returns the channel pool to use when no other options are specified.
Returns | |
---|---|
Type | Description |
ChannelPool |