Class GroupServiceClientBuilder (3.1.0)

public sealed class GroupServiceClientBuilder : ClientBuilderBase<GroupServiceClient>

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

Inheritance

Object > ClientBuilderBase<GroupServiceClient> > GroupServiceClientBuilder

Namespace

Google.Cloud.Monitoring.V3

Assembly

Google.Cloud.Monitoring.V3.dll

Constructors

GroupServiceClientBuilder()

public GroupServiceClientBuilder()

Creates a new builder with default settings.

Properties

Settings

public GroupServiceSettings Settings { get; set; }

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

Property Value
TypeDescription
GroupServiceSettings

Methods

Build()

public override GroupServiceClient Build()

Builds the resulting client.

Returns
TypeDescription
GroupServiceClient
Overrides
Google.Api.Gax.Grpc.ClientBuilderBase<Google.Cloud.Monitoring.V3.GroupServiceClient>.Build()

BuildAsync(CancellationToken)

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

Builds the resulting client asynchronously.

Parameter
NameDescription
cancellationTokenCancellationToken
Returns
TypeDescription
Task<GroupServiceClient>
Overrides
Google.Api.Gax.Grpc.ClientBuilderBase<Google.Cloud.Monitoring.V3.GroupServiceClient>.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.Monitoring.V3.GroupServiceClient>.GetChannelPool()