Class BigtableServiceApiSettingsExtensions (2.3.0)

public static class BigtableServiceApiSettingsExtensions

Extensions for use on BigtableServiceApiSettings.

Inheritance

Object > BigtableServiceApiSettingsExtensions

Namespace

Google.Cloud.Bigtable.V2

Assembly

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
NameDescription
settingsBigtableServiceApiSettings

The settings with which to create channel options. May be null, in which case the default settings will be used.

Returns
TypeDescription
GrpcChannelOptions

A collection of Grpc.Core.ChannelOption instances.

Remarks

Note that if the options returned are used to create a Grpc.Core.Channel, the MaxChannels and PreferredMaxStreamsPerChannel settings values will be ignored.