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"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-14 UTC."],[[["\u003cp\u003eThis webpage details the \u003ccode\u003eSecretManagerServiceConnection\u003c/code\u003e object, which acts as an interface for the \u003ccode\u003eSecretManagerServiceClient\u003c/code\u003e and allows for the injection of custom behavior during testing.\u003c/p\u003e\n"],["\u003cp\u003eThe latest release candidate version is 2.37.0-rc, with other versions listed chronologically down to 2.10.1.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eSecretManagerServiceConnection\u003c/code\u003e object defines virtual methods for interacting with secrets, such as creating, listing, getting, updating, and deleting secrets and secret versions.\u003c/p\u003e\n"],["\u003cp\u003eThe webpage provides links to the \u003ccode\u003eMakeSecretManagerServiceConnection()\u003c/code\u003e function for creating concrete instances and \u003ccode\u003eMockSecretManagerServiceConnection\u003c/code\u003e for mocking purposes.\u003c/p\u003e\n"],["\u003cp\u003eIt also outlines methods for setting and testing IAM policies, as well as accessing, disabling, enabling, and destroying secret versions, all within the \u003ccode\u003eSecretManagerServiceConnection\u003c/code\u003e object.\u003c/p\u003e\n"]]],[],null,[]]