@@ -46,6 +46,53 @@ module which can be added to your `MODULE.bazel` file as a dependency.
4646
4747### Bigtable
4848
49+ #### ` bigtable::ClientOptions `
50+
51+ The deprecated ` bigtable::ClientOptions ` has been removed. Please use
52+ ` google::cloud::Options ` instead.
53+
54+ The following table shows the mapping from ` bigtable::ClientOptions ` methods to
55+ their ` google::cloud::Options ` equivalents:
56+
57+ | ` bigtable::ClientOptions ` method | ` google::cloud::Options ` equivalent |
58+ | ----------------------------------------------- | ------------------------------------------------------------------------------------------------ |
59+ | ` (constructor) ` | ` google::cloud::Options{} ` |
60+ | ` set_data_endpoint ` | ` google::cloud::EndpointOption ` |
61+ | ` set_admin_endpoint ` | ` google::cloud::EndpointOption ` |
62+ | ` set_connection_pool_name ` | ` google::cloud::GrpcChannelArgumentsOption ` or` google::cloud::GrpcChannelArgumentsNativeOption ` |
63+ | ` set_connection_pool_size ` | ` google::cloud::GrpcNumChannelsOption ` |
64+ | ` SetCredentials ` | ` google::cloud::GrpcCredentialOption ` |
65+ | ` set_channel_arguments ` | ` google::cloud::GrpcChannelArgumentsNativeOption ` |
66+ | ` SetCompressionAlgorithm ` | ` google::cloud::GrpcChannelArgumentsNativeOption ` |
67+ | ` SetGrpclbFallbackTimeout ` | ` google::cloud::GrpcChannelArgumentsNativeOption ` |
68+ | ` SetUserAgentPrefix ` | ` google::cloud::UserAgentProductsOption ` or` google::cloud::GrpcChannelArgumentsNativeOption ` |
69+ | ` SetResourceQuota ` | ` google::cloud::GrpcChannelArgumentsNativeOption ` |
70+ | ` SetMaxReceiveMessageSize ` | ` google::cloud::GrpcChannelArgumentsNativeOption ` |
71+ | ` SetMaxSendMessageSize ` | ` google::cloud::GrpcChannelArgumentsNativeOption ` |
72+ | ` SetLoadBalancingPolicyName ` | ` google::cloud::GrpcChannelArgumentsNativeOption ` |
73+ | ` SetServiceConfigJSON ` | ` google::cloud::GrpcChannelArgumentsNativeOption ` |
74+ | ` SetSslTargetNameOverride ` | ` google::cloud::GrpcChannelArgumentsNativeOption ` |
75+ | ` enable_tracing ` , ` disable_tracing ` | ` google::cloud::LoggingComponentsOption ` |
76+ | ` tracing_options ` | ` google::cloud::GrpcTracingOptionsOption ` |
77+ | ` set_max_conn_refresh_period ` | ` bigtable::MaxConnectionRefreshOption ` |
78+ | ` set_min_conn_refresh_period ` | ` bigtable::MinConnectionRefreshOption ` |
79+ | ` set_background_thread_pool_size ` | ` google::cloud::GrpcBackgroundThreadPoolSizeOption ` |
80+ | ` DisableBackgroundThreads ` | ` google::cloud::GrpcCompletionQueueOption ` |
81+
82+ Example usage of the replacements can be found below.
83+
84+ ** Before:**
85+ ``` cpp
86+ auto client = bigtable::Client(
87+ bigtable::ClientOptions ().set_connection_pool_size(4));
88+ ```
89+
90+ **After:**
91+ ```cpp
92+ auto client = bigtable::Client(
93+ google::cloud::Options{}.set<google::cloud::GrpcNumChannelsOption>(4));
94+ ```
95+
4996### Pubsub
5097
5198### Spanner
0 commit comments