public sealed class GroupServiceClientBuilder : ClientBuilderBase<GroupServiceClient>
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 |
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 | |
---|---|
Name | Description |
cancellationToken | CancellationToken |
Returns | |
---|---|
Type | Description |
Task<GroupServiceClient> |
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 |
Google.Api.Gax.Grpc.ClientBuilderBase<Google.Cloud.Monitoring.V3.GroupServiceClient>.GetChannelPool()