This interface defines virtual methods for each of the user-facing overload sets in DisksClient. This allows users to inject custom behavior (e.g., with a Google Mock object) when writing tests that use objects of type DisksClient.
To create a concrete instance, see MakeDisksConnection().
[[["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 document outlines the \u003ccode\u003eDisksConnection\u003c/code\u003e class, which provides an interface for interacting with \u003ccode\u003eDisksClient\u003c/code\u003e in the Google Cloud C++ Compute library, specifically for versions 2.17.0 and later.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eDisksConnection\u003c/code\u003e class facilitates custom behavior injection for testing purposes, allowing users to utilize mocking techniques with objects like \u003ccode\u003eMockDisksConnection\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eIt supports a variety of disk-related operations, including adding/removing resource policies, managing disk lists, creating snapshots, resizing, setting labels and policies, and handling asynchronous replication.\u003c/p\u003e\n"],["\u003cp\u003eThe document lists several functions and their parameters and return values, such as \u003ccode\u003eAddResourcePolicies\u003c/code\u003e, \u003ccode\u003eAggregatedListDisks\u003c/code\u003e, \u003ccode\u003eGetDisk\u003c/code\u003e, and \u003ccode\u003eSetIamPolicy\u003c/code\u003e, offering a detailed overview of the class's capabilities.\u003c/p\u003e\n"],["\u003cp\u003eThe document provides a list of available versions, beginning with version 2.37.0-rc and ending with 2.15.1, alongside the associated url for each, giving users access to any and all past and present versions.\u003c/p\u003e\n"]]],[],null,[]]