Cloud Bigtable V2 API - Class Google::Cloud::Bigtable::V2::SessionClientConfiguration::ChannelPoolConfiguration::DirectAccessWithFallback (v1.13.0)

Reference documentation and code samples for the Cloud Bigtable V2 API class Google::Cloud::Bigtable::V2::SessionClientConfiguration::ChannelPoolConfiguration::DirectAccessWithFallback.

A channel mode which allows DirectAccess with a fallback to CloudPath if DirectAccess is unavailable.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#check_interval

def check_interval() -> ::Google::Protobuf::Duration
Returns

#check_interval=

def check_interval=(value) -> ::Google::Protobuf::Duration
Parameter
Returns

#error_rate_threshold

def error_rate_threshold() -> ::Float
Returns
  • (::Float) — The threshold for errors on DirectAccess to trigger CloudPath fallback. The error rate is calculated based on a count of vRPCs with errors divided by a total count of vRPCs, over a rolling window of the past check_interval. If this ratio exceeds this threshold, the fallback to CloudPath is triggered. [0, 1].

#error_rate_threshold=

def error_rate_threshold=(value) -> ::Float
Parameter
  • value (::Float) — The threshold for errors on DirectAccess to trigger CloudPath fallback. The error rate is calculated based on a count of vRPCs with errors divided by a total count of vRPCs, over a rolling window of the past check_interval. If this ratio exceeds this threshold, the fallback to CloudPath is triggered. [0, 1].
Returns
  • (::Float) — The threshold for errors on DirectAccess to trigger CloudPath fallback. The error rate is calculated based on a count of vRPCs with errors divided by a total count of vRPCs, over a rolling window of the past check_interval. If this ratio exceeds this threshold, the fallback to CloudPath is triggered. [0, 1].