Reference documentation and code samples for the Cloud Bigtable V2 API class Google::Cloud::Bigtable::V2::SessionClientConfiguration::ChannelPoolConfiguration.
Configuration for the channel pool.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#cloud_path_only
def cloud_path_only() -> ::Google::Cloud::Bigtable::V2::SessionClientConfiguration::ChannelPoolConfiguration::CloudPathOnly-
(::Google::Cloud::Bigtable::V2::SessionClientConfiguration::ChannelPoolConfiguration::CloudPathOnly) — CloudPath only.
Note: The following fields are mutually exclusive:
cloud_path_only,direct_access_with_fallback,direct_access_only. If a field in that set is populated, all other fields in the set will automatically be cleared.
#cloud_path_only=
def cloud_path_only=(value) -> ::Google::Cloud::Bigtable::V2::SessionClientConfiguration::ChannelPoolConfiguration::CloudPathOnly-
value (::Google::Cloud::Bigtable::V2::SessionClientConfiguration::ChannelPoolConfiguration::CloudPathOnly) — CloudPath only.
Note: The following fields are mutually exclusive:
cloud_path_only,direct_access_with_fallback,direct_access_only. If a field in that set is populated, all other fields in the set will automatically be cleared.
-
(::Google::Cloud::Bigtable::V2::SessionClientConfiguration::ChannelPoolConfiguration::CloudPathOnly) — CloudPath only.
Note: The following fields are mutually exclusive:
cloud_path_only,direct_access_with_fallback,direct_access_only. If a field in that set is populated, all other fields in the set will automatically be cleared.
#direct_access_only
def direct_access_only() -> ::Google::Cloud::Bigtable::V2::SessionClientConfiguration::ChannelPoolConfiguration::DirectAccessOnly-
(::Google::Cloud::Bigtable::V2::SessionClientConfiguration::ChannelPoolConfiguration::DirectAccessOnly) — DirectAccess only.
Note: The following fields are mutually exclusive:
direct_access_only,direct_access_with_fallback,cloud_path_only. If a field in that set is populated, all other fields in the set will automatically be cleared.
#direct_access_only=
def direct_access_only=(value) -> ::Google::Cloud::Bigtable::V2::SessionClientConfiguration::ChannelPoolConfiguration::DirectAccessOnly-
value (::Google::Cloud::Bigtable::V2::SessionClientConfiguration::ChannelPoolConfiguration::DirectAccessOnly) — DirectAccess only.
Note: The following fields are mutually exclusive:
direct_access_only,direct_access_with_fallback,cloud_path_only. If a field in that set is populated, all other fields in the set will automatically be cleared.
-
(::Google::Cloud::Bigtable::V2::SessionClientConfiguration::ChannelPoolConfiguration::DirectAccessOnly) — DirectAccess only.
Note: The following fields are mutually exclusive:
direct_access_only,direct_access_with_fallback,cloud_path_only. If a field in that set is populated, all other fields in the set will automatically be cleared.
#direct_access_with_fallback
def direct_access_with_fallback() -> ::Google::Cloud::Bigtable::V2::SessionClientConfiguration::ChannelPoolConfiguration::DirectAccessWithFallback-
(::Google::Cloud::Bigtable::V2::SessionClientConfiguration::ChannelPoolConfiguration::DirectAccessWithFallback) — DirectAccess with a fallback to CloudPath.
Note: The following fields are mutually exclusive:
direct_access_with_fallback,direct_access_only,cloud_path_only. If a field in that set is populated, all other fields in the set will automatically be cleared.
#direct_access_with_fallback=
def direct_access_with_fallback=(value) -> ::Google::Cloud::Bigtable::V2::SessionClientConfiguration::ChannelPoolConfiguration::DirectAccessWithFallback-
value (::Google::Cloud::Bigtable::V2::SessionClientConfiguration::ChannelPoolConfiguration::DirectAccessWithFallback) — DirectAccess with a fallback to CloudPath.
Note: The following fields are mutually exclusive:
direct_access_with_fallback,direct_access_only,cloud_path_only. If a field in that set is populated, all other fields in the set will automatically be cleared.
-
(::Google::Cloud::Bigtable::V2::SessionClientConfiguration::ChannelPoolConfiguration::DirectAccessWithFallback) — DirectAccess with a fallback to CloudPath.
Note: The following fields are mutually exclusive:
direct_access_with_fallback,direct_access_only,cloud_path_only. If a field in that set is populated, all other fields in the set will automatically be cleared.
#max_server_count
def max_server_count() -> ::Integer- (::Integer) — The maximum number of distinct servers to connect to in the channel pool. The client will ensure that the channel pool will have at most this many distinct servers.
#max_server_count=
def max_server_count=(value) -> ::Integer- value (::Integer) — The maximum number of distinct servers to connect to in the channel pool. The client will ensure that the channel pool will have at most this many distinct servers.
- (::Integer) — The maximum number of distinct servers to connect to in the channel pool. The client will ensure that the channel pool will have at most this many distinct servers.
#min_server_count
def min_server_count() -> ::Integer- (::Integer) — The minimum number of distcint servers to connect to in the channel pool. The client will ensure that the channel pool will have at least this many distinct servers, but may have multiple channels connected to the same server (e.g. the client may have M channels on N machines, where M > N).
#min_server_count=
def min_server_count=(value) -> ::Integer- value (::Integer) — The minimum number of distcint servers to connect to in the channel pool. The client will ensure that the channel pool will have at least this many distinct servers, but may have multiple channels connected to the same server (e.g. the client may have M channels on N machines, where M > N).
- (::Integer) — The minimum number of distcint servers to connect to in the channel pool. The client will ensure that the channel pool will have at least this many distinct servers, but may have multiple channels connected to the same server (e.g. the client may have M channels on N machines, where M > N).
#per_server_session_count
def per_server_session_count() -> ::Integer- (::Integer) — Soft maximum for how many sessions are allowed per server. Normally, the client will ensure that it does not host more than this count of sessions per server, unless there are other limits encountered (e.g. the connected servers is already at max_servers).
#per_server_session_count=
def per_server_session_count=(value) -> ::Integer- value (::Integer) — Soft maximum for how many sessions are allowed per server. Normally, the client will ensure that it does not host more than this count of sessions per server, unless there are other limits encountered (e.g. the connected servers is already at max_servers).
- (::Integer) — Soft maximum for how many sessions are allowed per server. Normally, the client will ensure that it does not host more than this count of sessions per server, unless there are other limits encountered (e.g. the connected servers is already at max_servers).