Google Cloud Identity and Access Management (IAM) v2 API - Class PoliciesClientBuilder (1.3.0)

public sealed class PoliciesClientBuilder : ClientBuilderBase<PoliciesClient>

Reference documentation and code samples for the Google Cloud Identity and Access Management (IAM) v2 API class PoliciesClientBuilder.

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

Inheritance

object > ClientBuilderBasePoliciesClient > PoliciesClientBuilder

Namespace

Google.Cloud.Iam.V2

Assembly

Google.Cloud.Iam.V2.dll

Constructors

PoliciesClientBuilder()

public PoliciesClientBuilder()

Creates a new builder with default settings.

Properties

Settings

public PoliciesSettings Settings { get; set; }

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

Property Value
Type Description
PoliciesSettings

Methods

Build()

public override PoliciesClient Build()

Builds the resulting client.

Returns
Type Description
PoliciesClient
Overrides

BuildAsync(CancellationToken)

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

Builds the resulting client asynchronously.

Parameter
Name Description
cancellationToken CancellationToken
Returns
Type Description
TaskPoliciesClient
Overrides

GetChannelPool()

protected override ChannelPool GetChannelPool()

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

Returns
Type Description
ChannelPool
Overrides