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-05 UTC."],[[["The `SnapshotsConnection` class provides an interface with virtual methods for each user-facing overload set in `SnapshotsClient`, enabling the injection of custom behaviors for testing."],["This page documents the `SnapshotsConnection` object specifically for `SnapshotsClient`, using version 2.34.0 as the reference, and providing links to other versions."],["`SnapshotsConnection` offers virtual functions like `DeleteSnapshot`, `GetSnapshot`, `InsertSnapshot`, `ListSnapshots`, `SetLabels`, and more, all outlined with parameters, return types and descriptions."],["Users can create concrete instances of the `SnapshotsConnection` using `MakeSnapshotsConnection()` or use `compute_snapshots_v1_mocks::MockSnapshotsConnection` for mocking purposes in tests."],["The `SnapshotsConnection` class exposes functionality to manage snapshots, such as deleting, retrieving, creating, and managing metadata like labels and IAM policies."]]],[]]