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 for each user-facing overload set in `SnapshotsClient`, enabling custom behavior injection during testing."],["This documentation covers version 2.17.0 of the `SnapshotsConnection` class, with links to other versions including the latest release candidate 2.37.0-rc."],["Methods in the `SnapshotsConnection` interface include operations like `DeleteSnapshot`, `GetSnapshot`, `InsertSnapshot`, `ListSnapshots`, `GetIamPolicy`, `SetIamPolicy`, `SetLabels`, and `TestIamPermissions`."],["The `SnapshotsConnection` interface methods receive a request object and return a type depending on the function, including futures of operations or `StatusOr` type objects."],["The `MockSnapshotsConnection` class, mentioned in the documentation, is used for mocking."]]],[]]