This interface defines virtual methods for each of the user-facing overload sets in SecretManagerServiceClient. This allows users to inject custom behavior (e.g., with a Google Mock object) when writing tests that use objects of type SecretManagerServiceClient.
[[["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-14 UTC."],[[["This webpage details the `SecretManagerServiceConnection` interface, which provides virtual methods corresponding to the user-facing overload sets found in `SecretManagerServiceClient`."],["The latest version of the `SecretManagerServiceConnection` available is 2.37.0-rc, and many versions are available including 2.36.0, 2.35.0, 2.34.0, 2.33.0, all the way down to the 2.10.1 version."],["Users can utilize this interface to inject custom behavior, such as with a Google Mock object, when writing tests that involve `SecretManagerServiceClient` objects."],["The page includes links for creating a concrete instance of `SecretManagerServiceConnection` via `MakeSecretManagerServiceConnection()` and for mocking with `secretmanager_v1_mocks::MockSecretManagerServiceConnection`."],["The content offers various virtual functions including `ListSecrets`, `CreateSecret`, `GetSecret`, `UpdateSecret`, `DeleteSecret`, and more, each accepting a specific request type as a parameter and returning a defined type, such as `StatusOr\u003cgoogle::cloud::secretmanager::v1::Secret\u003e` or `StreamRange\u003c google::cloud::secretmanager::v1::Secret \u003e`."]]],[]]