[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-22 UTC."],[[["\u003cp\u003eThis webpage provides documentation for the \u003ccode\u003eReplicaSelection\u003c/code\u003e class in the Google Cloud Spanner C++ library, spanning multiple versions.\u003c/p\u003e\n"],["\u003cp\u003eThe latest release candidate version for \u003ccode\u003eReplicaSelection\u003c/code\u003e is 2.37.0-rc, with a list of all versions dating back to 2.11.0 available.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eReplicaSelection\u003c/code\u003e class allows callers to specify replica selection criteria based on location and/or type, in order to direct reads to specific replicas.\u003c/p\u003e\n"],["\u003cp\u003eConstructors for the \u003ccode\u003eReplicaSelection\u003c/code\u003e class accept parameters such as \u003ccode\u003elocation\u003c/code\u003e (std::string) and \u003ccode\u003etype\u003c/code\u003e (ReplicaType) for defining replica selection.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003elocation()\u003c/code\u003e and \u003ccode\u003etype()\u003c/code\u003e functions are available to retrieve the location and type respectively, with the return types being \u003ccode\u003eabsl::optional< std::string > const &\u003c/code\u003e and \u003ccode\u003eabsl::optional< ReplicaType > const &\u003c/code\u003e.\u003c/p\u003e\n"]]],[],null,[]]