public static class BigtableServiceApiSettingsExtensionsExtensions for use on BigtableServiceApiSettings.
Namespace
Google.Cloud.Bigtable.V2Assembly
Google.Cloud.Bigtable.V2.dll
Methods
CreateChannelOptions(BigtableServiceApiSettings)
public static GrpcChannelOptions CreateChannelOptions(this BigtableServiceApiSettings settings)Creates a collection of Grpc.Core.ChannelOption instances which can be used to create a Grpc.Core.Channel or Grpc.Gcp.GcpCallInvoker pre-configured based on the specified settings (or the default settings if they are null).
| Parameter | |
|---|---|
| Name | Description |
settings |
BigtableServiceApiSettingsThe settings with which to create channel options. May be null, in which case the default settings will be used. |
| Returns | |
|---|---|
| Type | Description |
GrpcChannelOptions |
A collection of Grpc.Core.ChannelOption instances. |
Note that if the options returned are used to create a Grpc.Core.Channel, the MaxChannels and PreferredMaxStreamsPerChannel settings values will be ignored.