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

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 > ClientBuilderBase<PoliciesClient> > 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
Google.Api.Gax.Grpc.ClientBuilderBase<Google.Cloud.Iam.V2.PoliciesClient>.Build()

BuildAsync(CancellationToken)

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

Builds the resulting client asynchronously.

Parameter
NameDescription
cancellationTokenCancellationToken
Returns
TypeDescription
Task<PoliciesClient>
Overrides
Google.Api.Gax.Grpc.ClientBuilderBase<Google.Cloud.Iam.V2.PoliciesClient>.BuildAsync(System.Threading.CancellationToken)

GetChannelPool()

protected override ChannelPool GetChannelPool()

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

Returns
TypeDescription
ChannelPool
Overrides
Google.Api.Gax.Grpc.ClientBuilderBase<Google.Cloud.Iam.V2.PoliciesClient>.GetChannelPool()