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 page details the `SecretManagerServiceConnection` object, which acts as an interface for the `SecretManagerServiceClient` and allows for the injection of custom behavior in testing environments."],["The latest release candidate is version 2.37.0-rc, while the current version detailed on this page is 2.34.0, with numerous previous versions listed as well."],["The `SecretManagerServiceConnection` provides virtual methods for a wide array of operations, including managing secrets and their versions, such as listing, creating, updating, accessing, disabling, enabling, and destroying."],["Users can create concrete instances of the `SecretManagerServiceConnection` using `MakeSecretManagerServiceConnection()` and mock it via `secretmanager_v1_mocks::MockSecretManagerServiceConnection` for testing."],["The interface also includes methods for managing IAM policies and locations, such as `SetIamPolicy`, `GetIamPolicy`, `TestIamPermissions`, `ListLocations`, and `GetLocation`."]]],[]]