This interface defines virtual methods for each of the user-facing overload sets in AccessApprovalClient. This allows users to inject custom behavior (e.g., with a Google Mock object) when writing tests that use objects of type AccessApprovalClient.
[[["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-08-14 UTC."],[[["\u003cp\u003eThis webpage details the \u003ccode\u003eAccessApprovalConnection\u003c/code\u003e class, which provides virtual methods for interacting with the \u003ccode\u003eAccessApprovalClient\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe latest version of the \u003ccode\u003eAccessApprovalConnection\u003c/code\u003e is 2.37.0-rc, with a list of previous versions ranging back to 2.11.0 available for access.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eAccessApprovalConnection\u003c/code\u003e facilitates the creation of concrete instances and enables mocking for testing purposes through \u003ccode\u003eMakeAccessApprovalConnection()\u003c/code\u003e and \u003ccode\u003eMockAccessApprovalConnection\u003c/code\u003e, respectively.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eAccessApprovalConnection\u003c/code\u003e interface defines virtual functions such as \u003ccode\u003eListApprovalRequests\u003c/code\u003e, \u003ccode\u003eGetApprovalRequest\u003c/code\u003e, and \u003ccode\u003eApproveApprovalRequest\u003c/code\u003e, alongside others to manage approval requests and settings.\u003c/p\u003e\n"],["\u003cp\u003eThe virtual function \u003ccode\u003eoptions()\u003c/code\u003e returns the type \u003ccode\u003eOptions\u003c/code\u003e and each of the other virtual function take in a parameter \u003ccode\u003erequest\u003c/code\u003e and return either a \u003ccode\u003eStatusOr\u003c/code\u003e type or a \u003ccode\u003eStreamRange\u003c/code\u003e.\u003c/p\u003e\n"]]],[],null,[]]