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"]],[["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 2025-03-21 UTC."],[[["This webpage provides documentation for the `ZonesConnection` object, which is part of the Google Cloud C++ Compute library, specifically for the `ZonesClient`."],["The `ZonesConnection` interface defines virtual methods corresponding to user-facing overload sets in `ZonesClient`, facilitating custom behavior injection during testing."],["The latest version of the documentation is for version 2.37.0-rc, with many other versions available to access the specific documentation of each."],["Users can create concrete instances of `ZonesConnection` using `MakeZonesConnection()` or mock instances using `compute_zones_v1_mocks::MockZonesConnection`."],["Key functions documented include `options()`, `GetZone()`, which accepts a `GetZoneRequest` and returns a `Zone` object, and `ListZones()`, which accepts a `ListZonesRequest` and returns a `StreamRange` of `Zone` objects."]]],[]]