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 webpage provides documentation for the \u003ccode\u003eFleetRoutingConnection\u003c/code\u003e class within the Google Cloud Optimization library, focusing on versions ranging from 2.11.0 to 2.37.0-rc, with the latest release candidate being 2.37.0-rc.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eFleetRoutingConnection\u003c/code\u003e object serves as an interface defining virtual methods for each user-facing overload set in \u003ccode\u003eFleetRoutingClient\u003c/code\u003e, enabling the injection of custom behaviors in tests, such as mock objects.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eFleetRoutingConnection\u003c/code\u003e class offers a set of functions, including \u003ccode\u003eoptions()\u003c/code\u003e, \u003ccode\u003eOptimizeTours()\u003c/code\u003e, and \u003ccode\u003eBatchOptimizeTours()\u003c/code\u003e, which are detailed with their parameters and return types, for managing optimization tasks.\u003c/p\u003e\n"],["\u003cp\u003eThe documentation includes links to create concrete instances using \u003ccode\u003eMakeFleetRoutingConnection()\u003c/code\u003e and to utilize mocking with \u003ccode\u003eMockFleetRoutingConnection\u003c/code\u003e, found within the \u003ccode\u003eoptimization_v1_mocks\u003c/code\u003e namespace.\u003c/p\u003e\n"]]],[],null,[]]