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-15 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 numerous versions of the SnapshotsConnection class, ranging from 2.37.0-rc down to 2.15.1."],["The `SnapshotsConnection` object can be created using `MakeSnapshotsConnection()` and mocked via `compute_snapshots_v1_mocks::MockSnapshotsConnection`."],["The interface includes functions for operations such as `DeleteSnapshot`, `GetSnapshot`, `InsertSnapshot`, `ListSnapshots`, and `SetIamPolicy`, which are used for managing snapshots within the compute environment."],["Each method utilizes a request parameter, such as `DeleteSnapshotRequest` and `GetSnapshotRequest` and returns either a status or an operation."]]],[]]