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.
Namespace
Google.Cloud.Monitoring.V3Assembly
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 |
BuildAsync(CancellationToken)
public override Task<GroupServiceClient> BuildAsync(CancellationToken cancellationToken = default)
Builds the resulting client asynchronously.
Parameter | |
---|---|
Name | Description |
cancellationToken | CancellationToken |
Returns | |
---|---|
Type | Description |
TaskGroupServiceClient |
GetChannelPool()
protected override ChannelPool GetChannelPool()
Returns the channel pool to use when no other options are specified.
Returns | |
---|---|
Type | Description |
ChannelPool |