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 version is 2.37.0-rc, and the documentation includes links to previous versions from 2.36.0 down to 2.11.0.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eContainerAnalysisConnection\u003c/code\u003e defines virtual methods corresponding to the user-facing overloads in \u003ccode\u003eContainerAnalysisClient\u003c/code\u003e, enabling custom behavior and testing through mocking.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eContainerAnalysisConnection\u003c/code\u003e object defines functions such as \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 to manage the operations and settings.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eMakeContainerAnalysisConnection()\u003c/code\u003e can be used to create a concrete instance of the \u003ccode\u003eContainerAnalysisConnection\u003c/code\u003e class, while \u003ccode\u003econtaineranalysis_v1_mocks::MockContainerAnalysisConnection\u003c/code\u003e can be used for mocking.\u003c/p\u003e\n"]]],[],null,[]]