Google Cloud Identity and Access Management (IAM) v2 API - Class PoliciesClientBuilder (1.2.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
TypeDescription
PoliciesSettings

Methods

Build()

public override PoliciesClient Build()

Builds the resulting client.

Returns
TypeDescription
PoliciesClient
Overrides

BuildAsync(CancellationToken)

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

Builds the resulting client asynchronously.

Parameter
NameDescription
cancellationTokenCancellationToken
Returns
TypeDescription
TaskPoliciesClient
Overrides

GetChannelPool()

protected override ChannelPool GetChannelPool()

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

Returns
TypeDescription
ChannelPool
Overrides