Reference documentation and code samples for the Cloud Bigtable V2 API class Google::Cloud::Bigtable::V2::SessionClientConfiguration.
Configuration for the Session API. Internal usage only.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#channel_configuration
def channel_configuration() -> ::Google::Cloud::Bigtable::V2::SessionClientConfiguration::ChannelPoolConfiguration
Returns
- (::Google::Cloud::Bigtable::V2::SessionClientConfiguration::ChannelPoolConfiguration) — Configuration for the channel pool.
#channel_configuration=
def channel_configuration=(value) -> ::Google::Cloud::Bigtable::V2::SessionClientConfiguration::ChannelPoolConfiguration
Parameter
- value (::Google::Cloud::Bigtable::V2::SessionClientConfiguration::ChannelPoolConfiguration) — Configuration for the channel pool.
Returns
- (::Google::Cloud::Bigtable::V2::SessionClientConfiguration::ChannelPoolConfiguration) — Configuration for the channel pool.
#load_balancing_options
def load_balancing_options() -> ::Google::Cloud::Bigtable::V2::LoadBalancingOptions#load_balancing_options=
def load_balancing_options=(value) -> ::Google::Cloud::Bigtable::V2::LoadBalancingOptions
Parameter
#session_load
def session_load() -> ::Float
Returns
- (::Float) — What share of requests should operate on a session, [0, 1]. The rest should operate on the old-style API.
#session_load=
def session_load=(value) -> ::Float
Parameter
- value (::Float) — What share of requests should operate on a session, [0, 1]. The rest should operate on the old-style API.
Returns
- (::Float) — What share of requests should operate on a session, [0, 1]. The rest should operate on the old-style API.
#session_pool_configuration
def session_pool_configuration() -> ::Google::Cloud::Bigtable::V2::SessionClientConfiguration::SessionPoolConfiguration
Returns
- (::Google::Cloud::Bigtable::V2::SessionClientConfiguration::SessionPoolConfiguration) — Configuration for the session pools.
#session_pool_configuration=
def session_pool_configuration=(value) -> ::Google::Cloud::Bigtable::V2::SessionClientConfiguration::SessionPoolConfiguration
Parameter
- value (::Google::Cloud::Bigtable::V2::SessionClientConfiguration::SessionPoolConfiguration) — Configuration for the session pools.
Returns
- (::Google::Cloud::Bigtable::V2::SessionClientConfiguration::SessionPoolConfiguration) — Configuration for the session pools.