Google Cloud Monitoring v3 API - Class GroupServiceClientBuilder (3.13.0)

public sealed class GroupServiceClientBuilder : ClientBuilderBase<GroupServiceClient>

Reference documentation and code samples for the Google Cloud Monitoring v3 API class GroupServiceClientBuilder.

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

Inheritance

object > ClientBuilderBaseGroupServiceClient > 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
Type Description
GroupServiceSettings

Methods

Build()

public override GroupServiceClient Build()

Builds the resulting client.

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

BuildAsync(CancellationToken)

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

Builds the resulting client asynchronously.

Parameter
Name Description
cancellationToken CancellationToken
Returns
Type Description
TaskGroupServiceClient
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
Type Description
ChannelPool
Overrides
Google.Api.Gax.Grpc.ClientBuilderBase<Google.Cloud.Monitoring.V3.GroupServiceClient>.GetChannelPool()