CallOptions key for attributes that are added to the built-in channel_load metric of
this call, for example the database that the call is for. The pool's own attributes take
precedence over attributes with the same key.
The pool caches the combined attributes for up to 100 different attribute sets, matched by
their content. Calls with attribute sets beyond that limit are still recorded, but the combined
attributes are built for each call.
CallOptions key that will be set by grpc-gcp with the actual channel ID used for the call. This
can be read by downstream interceptors to get the real channel ID after channel selection.
Constructor for GcpManagedChannel. Deprecated. Use the one without the poolSize and set the
maximum pool size in options. However, note that if setting the pool size from options then
concurrent streams low watermark (even the default one) will be also taken from the options and
not apiConfig.
If method-affinity is specified, we will use the GcpClientCall to fetch the affinitykey and
bind/unbind the channel, otherwise we just need the SimpleGcpClientCall to keep track of the
number of streams in each channel.
A returned simple call reserves one unit of pool load immediately. If never started, callers
must invoke ClientCall#cancel(String, Throwable) to release that reservation.
Pick a ChannelRef (and create a new one if necessary). If notReadyFallbackEnabled is
true in the GcpResiliencyOptions then instead of a channel in a non-READY state another
channel in the READY state and having picker load below the maximum allowed threshold will be
provided if available. Subsequent calls with the same affinity key will provide the same
fallback channel as long as the fallback channel is in the READY state.
affinity key. If it is specified, pick the ChannelRef bound with the affinity key.
Otherwise pick using the lowest picker load: active streams plus active error penalty.
Picks a ChannelRef using a caller-owned reference instead of grpc-gcp's affinity map. A
reference remains sticky while its delegate is open, including while the channel drains, and
re-resolves after delegate shutdown or an explicit request to use a different channel.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2026-11-19 UTC."],[],[]]