This interface defines virtual methods for each of the user-facing overload sets in ZonesClient. This allows users to inject custom behavior (e.g., with a Google Mock object) when writing tests that use objects of type ZonesClient.
To create a concrete instance, see MakeZonesConnection().
[[["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\u003eZonesConnection\u003c/code\u003e object, which is used in conjunction with \u003ccode\u003eZonesClient\u003c/code\u003e for interacting with Google Cloud Compute Zones.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eZonesConnection\u003c/code\u003e interface defines virtual methods mirroring those in \u003ccode\u003eZonesClient\u003c/code\u003e, allowing for custom behavior injection during testing, such as using Google Mock objects.\u003c/p\u003e\n"],["\u003cp\u003eThe page lists various versions of the \u003ccode\u003eZonesConnection\u003c/code\u003e class, ranging from version 2.15.1 to the latest release candidate version, 2.37.0-rc.\u003c/p\u003e\n"],["\u003cp\u003eThe documentation includes functions such as \u003ccode\u003eoptions()\u003c/code\u003e, \u003ccode\u003eGetZone()\u003c/code\u003e, and \u003ccode\u003eListZones()\u003c/code\u003e which allow for customization and interaction with the zone data.\u003c/p\u003e\n"],["\u003cp\u003eTo create an instance of \u003ccode\u003eZonesConnection\u003c/code\u003e, one can use \u003ccode\u003eMakeZonesConnection()\u003c/code\u003e and for mock testing one can use \u003ccode\u003ecompute_zones_v1_mocks::MockZonesConnection\u003c/code\u003e.\u003c/p\u003e\n"]]],[],null,[]]