This interface defines virtual methods for each of the user-facing overload sets in FleetRoutingClient. This allows users to inject custom behavior (e.g., with a Google Mock object) when writing tests that use objects of type FleetRoutingClient.
[[["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-14 UTC."],[[["\u003cp\u003eThis page details the \u003ccode\u003eFleetRoutingConnection\u003c/code\u003e class, which provides an interface for the \u003ccode\u003eFleetRoutingClient\u003c/code\u003e in the Google Cloud Optimization v1 library.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eFleetRoutingConnection\u003c/code\u003e class enables users to implement custom behaviors, especially for testing purposes, by injecting mock objects.\u003c/p\u003e\n"],["\u003cp\u003eThe latest release candidate version of this library is 2.37.0-rc, and there are numerous stable versions available, ranging down to 2.11.0.\u003c/p\u003e\n"],["\u003cp\u003eThis interface includes virtual methods for \u003ccode\u003eOptimizeTours\u003c/code\u003e, \u003ccode\u003eBatchOptimizeTours\u003c/code\u003e and \u003ccode\u003eGetOperation\u003c/code\u003e, handling requests and returning appropriate responses.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eMakeFleetRoutingConnection()\u003c/code\u003e can be used to create concrete instances while \u003ccode\u003eoptimization_v1_mocks::MockFleetRoutingConnection\u003c/code\u003e allows for the creation of mocks.\u003c/p\u003e\n"]]],[],null,[]]