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 object, which is used with the \u003ccode\u003eContainerAnalysisClient\u003c/code\u003e in C++.\u003c/p\u003e\n"],["\u003cp\u003eThe page details the different versions of the \u003ccode\u003eContainerAnalysisConnection\u003c/code\u003e interface, including the latest release candidate \u003ccode\u003e2.37.0-rc\u003c/code\u003e and stable versions ranging from \u003ccode\u003e2.36.0\u003c/code\u003e down to \u003ccode\u003e2.11.0\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eContainerAnalysisConnection\u003c/code\u003e interface allows users to customize the behavior of \u003ccode\u003eContainerAnalysisClient\u003c/code\u003e, such as when writing tests with mocking objects.\u003c/p\u003e\n"],["\u003cp\u003eThe page outlines the virtual methods available in the \u003ccode\u003eContainerAnalysisConnection\u003c/code\u003e class, including \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\u003eInstructions for creating a concrete instance of the \u003ccode\u003eContainerAnalysisConnection\u003c/code\u003e using \u003ccode\u003eMakeContainerAnalysisConnection()\u003c/code\u003e and mocking it using \u003ccode\u003econtaineranalysis_v1_mocks::MockContainerAnalysisConnection\u003c/code\u003e are provided.\u003c/p\u003e\n"]]],[],null,[]]