This interface defines virtual methods for each of the user-facing overload sets in SnapshotsClient. This allows users to inject custom behavior (e.g., with a Google Mock object) when writing tests that use objects of type SnapshotsClient.
To create a concrete instance, see MakeSnapshotsConnection().
[[["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."],[[["The `SnapshotsConnection` interface provides virtual methods mirroring the user-facing overload sets found in `SnapshotsClient`, enabling custom behavior injection for testing."],["Version 2.37.0-rc is the latest release candidate, and the page lists version releases for `SnapshotsConnection` object from 2.37.0-rc down to 2.15.1."],["This interface includes virtual methods for actions like `DeleteSnapshot`, `GetSnapshot`, `GetIamPolicy`, `InsertSnapshot`, `ListSnapshots`, `SetIamPolicy`, `SetLabels`, and `TestIamPermissions`."],["The `SnapshotsConnection` object can be mocked, by utilizing `compute_snapshots_v1_mocks::MockSnapshotsConnection`, and has a `MakeSnapshotsConnection()` to create an instance."],["The `SnapshotsConnection` object in this documentation is for version 2.16.0 of the compute snapshots library."]]],[]]