This interface defines virtual methods for each of the user-facing overload sets in ImagesClient. This allows users to inject custom behavior (e.g., with a Google Mock object) when writing tests that use objects of type ImagesClient.
To create a concrete instance, see MakeImagesConnection().
[[["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-15 UTC."],[[["This document details the `ImagesConnection` interface for the `ImagesClient`, which is available in the compute version 2.19.0 and later, up to 2.37.0-rc, providing virtual methods for various image operations."],["The `ImagesConnection` interface allows users to inject custom behaviors, particularly useful for creating mock objects during testing of `ImagesClient`."],["It has methods that allow users to execute various actions like `DeleteImage`, `Deprecate`, `GetImage`, `GetFromFamily`, `GetIamPolicy`, `InsertImage`, `ListImages`, `PatchImage`, `SetIamPolicy`, `SetLabels`, and `TestIamPermissions`."],["The `MakeImagesConnection()` method creates a concrete instance, while `compute_images_v1_mocks::MockImagesConnection` is used for mocking."],["Each of the virtual functions include a parameter labelled request that requires the specific compute version and operation to be executed."]]],[]]