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"]],[["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-03-21 UTC."],[[["This webpage details the `ContainerAnalysisConnection` interface, which is part of the `containeranalysis` library, and is designed for use with `ContainerAnalysisClient`."],["The interface provides virtual methods corresponding to the user-facing overload sets in `ContainerAnalysisClient`, allowing for the injection of custom behavior during testing."],["The latest version is `2.37.0-rc`, and the page lists numerous previous versions of the `ContainerAnalysisConnection`, including `2.26.0` which this page is centered around."],["`ContainerAnalysisConnection` also contains functions `Options`, `SetIamPolicy`, `GetIamPolicy`, `TestIamPermissions` and `GetVulnerabilityOccurrencesSummary` that can be called to return information."],["To create a concrete version of the interface, `MakeContainerAnalysisConnection()` can be used, or alternatively `containeranalysis_v1_mocks::MockContainerAnalysisConnection` for mocking purposes."]]],[]]