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 details the \u003ccode\u003eDisksConnection\u003c/code\u003e interface for \u003ccode\u003eDisksClient\u003c/code\u003e, providing virtual methods for each user-facing overload set.\u003c/p\u003e\n"],["\u003cp\u003eThe interface allows for injecting custom behavior into \u003ccode\u003eDisksClient\u003c/code\u003e operations, such as for testing with mock objects.\u003c/p\u003e\n"],["\u003cp\u003eThe latest version available is \u003ccode\u003e2.37.0-rc\u003c/code\u003e, while the current version of focus on this page is \u003ccode\u003e2.21.0\u003c/code\u003e, and many past versions are documented, from \u003ccode\u003e2.36.0\u003c/code\u003e down to \u003ccode\u003e2.15.1\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eDisksConnection\u003c/code\u003e functions like \u003ccode\u003eAddResourcePolicies\u003c/code\u003e, \u003ccode\u003eAggregatedListDisks\u003c/code\u003e, and \u003ccode\u003eCreateSnapshot\u003c/code\u003e are detailed, along with parameter and return types.\u003c/p\u003e\n"],["\u003cp\u003eThis page outlines how to create an instance with \u003ccode\u003eMakeDisksConnection()\u003c/code\u003e and how to use \u003ccode\u003eMockDisksConnection\u003c/code\u003e for testing purposes.\u003c/p\u003e\n"]]],[],null,[]]