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 the \u003ccode\u003eDisksClient\u003c/code\u003e in Google Cloud Compute.\u003c/p\u003e\n"],["\u003cp\u003eThe latest release candidate version available is 2.37.0-rc, and the document lists versions all the way down to version 2.15.1, each with a direct link to its respective class documentation.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eDisksConnection\u003c/code\u003e class contains numerous virtual methods for performing operations such as adding/removing resource policies, managing disks (creating, deleting, resizing, etc.), setting IAM policies, and handling asynchronous replication.\u003c/p\u003e\n"],["\u003cp\u003eUsers can create a concrete instance of \u003ccode\u003eDisksConnection\u003c/code\u003e using \u003ccode\u003eMakeDisksConnection()\u003c/code\u003e and utilize \u003ccode\u003eMockDisksConnection\u003c/code\u003e for mocking purposes during testing.\u003c/p\u003e\n"],["\u003cp\u003eThe provided functions in this class utilize request objects to perform operations and mostly return either a future object with an operation status or a direct status with the respective object, if applicable.\u003c/p\u003e\n"]]],[],null,[]]