This interface defines virtual methods for each of the user-facing overload sets in ContainerAnalysisClient. This allows users to inject custom behavior (e.g., with a Google Mock object) when writing tests that use objects of type ContainerAnalysisClient.
[[["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 webpage provides documentation for the \u003ccode\u003eContainerAnalysisConnection\u003c/code\u003e class, which is part of the Google Cloud Container Analysis C++ client library.\u003c/p\u003e\n"],["\u003cp\u003eThe latest release candidate is version 2.37.0-rc, and the page also lists links to documentation for several previous versions, going back to version 2.11.0.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eContainerAnalysisConnection\u003c/code\u003e defines the virtual methods used by \u003ccode\u003eContainerAnalysisClient\u003c/code\u003e, enabling users to customize behaviors, especially for testing with tools like Google Mock.\u003c/p\u003e\n"],["\u003cp\u003eThe class includes virtual methods for functions like \u003ccode\u003eoptions\u003c/code\u003e, \u003ccode\u003eSetIamPolicy\u003c/code\u003e, \u003ccode\u003eGetIamPolicy\u003c/code\u003e, \u003ccode\u003eTestIamPermissions\u003c/code\u003e, and \u003ccode\u003eGetVulnerabilityOccurrencesSummary\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe page also provides a way to create concrete instances through \u003ccode\u003eMakeContainerAnalysisConnection()\u003c/code\u003e and has mocking capabilities through \u003ccode\u003eMockContainerAnalysisConnection\u003c/code\u003e.\u003c/p\u003e\n"]]],[],null,[]]