Google Cloud Monitoring v3 API - Class GroupServiceClientBuilder (3.7.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
TypeDescription
GroupServiceSettings

Methods

Build()

public override GroupServiceClient Build()

Builds the resulting client.

Returns
TypeDescription
GroupServiceClient
Overrides

BuildAsync(CancellationToken)

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

Builds the resulting client asynchronously.

Parameter
NameDescription
cancellationTokenCancellationToken
Returns
TypeDescription
TaskGroupServiceClient
Overrides

GetChannelPool()

protected override ChannelPool GetChannelPool()

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

Returns
TypeDescription
ChannelPool
Overrides