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 class, which outlines the virtual methods available for interacting with \u003ccode\u003eDisksClient\u003c/code\u003e in the Google Cloud Compute Disks API.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eDisksConnection\u003c/code\u003e interface is crucial for users to implement custom behaviors, particularly in testing scenarios using tools like Google Mock.\u003c/p\u003e\n"],["\u003cp\u003eIt lists a range of versions from 2.15.1 up to 2.37.0-rc that relate to different releases and updates of the compute disks API, with 2.37.0-rc being the latest release.\u003c/p\u003e\n"],["\u003cp\u003eThe available methods are detailed, such as managing resource policies, disk operations like creation, deletion, resizing, and replication, alongside methods to obtain information such as disk details, IAM policies, and permissions, all through \u003ccode\u003erequest\u003c/code\u003e parameters.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eDisksConnection\u003c/code\u003e class utilizes future objects for asynchronous operations, returning a future object of the compute operation or \u003ccode\u003eStatusOr\u003c/code\u003e for immediate responses.\u003c/p\u003e\n"]]],[],null,[]]