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-14 UTC."],[[["This page provides documentation for the `ContainerAnalysisConnection` class, an interface for interacting with the `ContainerAnalysisClient`."],["The latest release candidate is version 2.37.0-rc, with several other versions available ranging down to 2.11.0."],["The `ContainerAnalysisConnection` interface defines virtual methods that mirror the user-facing overload sets found in `ContainerAnalysisClient`, including functions for `SetIamPolicy`, `GetIamPolicy`, `TestIamPermissions`, and `GetVulnerabilityOccurrencesSummary`."],["You can create a real instance of this class using the `MakeContainerAnalysisConnection()` function, or use `MockContainerAnalysisConnection` for mocking purposes in tests."],["There are several virtual functions available on this interface, namely `options()`, `SetIamPolicy(google::iam::v1::SetIamPolicyRequest const &)`, `GetIamPolicy(google::iam::v1::GetIamPolicyRequest const &)`, `TestIamPermissions(google::iam::v1::TestIamPermissionsRequest const &)`, and `GetVulnerabilityOccurrencesSummary(google::devtools::containeranalysis::v1::GetVulnerabilityOccurrencesSummaryRequest const &)`."]]],[]]