This interface defines virtual methods for each of the user-facing overload sets in SecureSourceManagerClient. This allows users to inject custom behavior (e.g., with a Google Mock object) when writing tests that use objects of type SecureSourceManagerClient.
[[["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 document details the \u003ccode\u003eSecureSourceManagerConnection\u003c/code\u003e interface, which provides virtual methods corresponding to the user-facing overload sets in \u003ccode\u003eSecureSourceManagerClient\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eSecureSourceManagerConnection\u003c/code\u003e allows for the injection of custom behavior in testing scenarios, such as with Google Mock objects, and it is crucial for interacting with SecureSourceManager services.\u003c/p\u003e\n"],["\u003cp\u003eThe interface offers functionalities for managing instances, including listing, getting, creating, and deleting, and the list of available versions ranges from version 2.37.0-rc down to version 2.18.0.\u003c/p\u003e\n"],["\u003cp\u003eThe interface also handles repositories, allowing for listing, getting, creating, and deleting repositories, along with setting and getting their IAM policies and testing permissions.\u003c/p\u003e\n"],["\u003cp\u003eUsers can use \u003ccode\u003eMakeSecureSourceManagerConnection()\u003c/code\u003e to create a concrete instance of the connection, or for testing, use \u003ccode\u003eMockSecureSourceManagerConnection\u003c/code\u003e.\u003c/p\u003e\n"]]],[],null,["# Class SecureSourceManagerConnection (2.26.0)\n\nVersion 2.26.0keyboard_arrow_down\n\n- [2.42.0-rc (latest)](/cpp/docs/reference/securesourcemanager/latest/classgoogle_1_1cloud_1_1securesourcemanager__v1_1_1SecureSourceManagerConnection)\n- [2.41.0](/cpp/docs/reference/securesourcemanager/2.41.0/classgoogle_1_1cloud_1_1securesourcemanager__v1_1_1SecureSourceManagerConnection)\n- [2.40.0](/cpp/docs/reference/securesourcemanager/2.40.0/classgoogle_1_1cloud_1_1securesourcemanager__v1_1_1SecureSourceManagerConnection)\n- [2.39.0](/cpp/docs/reference/securesourcemanager/2.39.0/classgoogle_1_1cloud_1_1securesourcemanager__v1_1_1SecureSourceManagerConnection)\n- [2.38.0](/cpp/docs/reference/securesourcemanager/2.38.0/classgoogle_1_1cloud_1_1securesourcemanager__v1_1_1SecureSourceManagerConnection)\n- [2.37.0](/cpp/docs/reference/securesourcemanager/2.37.0/classgoogle_1_1cloud_1_1securesourcemanager__v1_1_1SecureSourceManagerConnection)\n- [2.36.0](/cpp/docs/reference/securesourcemanager/2.36.0/classgoogle_1_1cloud_1_1securesourcemanager__v1_1_1SecureSourceManagerConnection)\n- [2.35.0](/cpp/docs/reference/securesourcemanager/2.35.0/classgoogle_1_1cloud_1_1securesourcemanager__v1_1_1SecureSourceManagerConnection)\n- [2.34.0](/cpp/docs/reference/securesourcemanager/2.34.0/classgoogle_1_1cloud_1_1securesourcemanager__v1_1_1SecureSourceManagerConnection)\n- [2.33.0](/cpp/docs/reference/securesourcemanager/2.33.0/classgoogle_1_1cloud_1_1securesourcemanager__v1_1_1SecureSourceManagerConnection)\n- [2.32.0](/cpp/docs/reference/securesourcemanager/2.32.0/classgoogle_1_1cloud_1_1securesourcemanager__v1_1_1SecureSourceManagerConnection)\n- [2.31.0](/cpp/docs/reference/securesourcemanager/2.31.0/classgoogle_1_1cloud_1_1securesourcemanager__v1_1_1SecureSourceManagerConnection)\n- [2.30.0](/cpp/docs/reference/securesourcemanager/2.30.0/classgoogle_1_1cloud_1_1securesourcemanager__v1_1_1SecureSourceManagerConnection)\n- [2.29.0](/cpp/docs/reference/securesourcemanager/2.29.0/classgoogle_1_1cloud_1_1securesourcemanager__v1_1_1SecureSourceManagerConnection)\n- [2.28.0](/cpp/docs/reference/securesourcemanager/2.28.0/classgoogle_1_1cloud_1_1securesourcemanager__v1_1_1SecureSourceManagerConnection)\n- [2.27.0](/cpp/docs/reference/securesourcemanager/2.27.0/classgoogle_1_1cloud_1_1securesourcemanager__v1_1_1SecureSourceManagerConnection)\n- [2.26.0](/cpp/docs/reference/securesourcemanager/2.26.0/classgoogle_1_1cloud_1_1securesourcemanager__v1_1_1SecureSourceManagerConnection)\n- [2.25.1](/cpp/docs/reference/securesourcemanager/2.25.1/classgoogle_1_1cloud_1_1securesourcemanager__v1_1_1SecureSourceManagerConnection)\n- [2.24.0](/cpp/docs/reference/securesourcemanager/2.24.0/classgoogle_1_1cloud_1_1securesourcemanager__v1_1_1SecureSourceManagerConnection)\n- [2.23.0](/cpp/docs/reference/securesourcemanager/2.23.0/classgoogle_1_1cloud_1_1securesourcemanager__v1_1_1SecureSourceManagerConnection)\n- [2.22.1](/cpp/docs/reference/securesourcemanager/2.22.1/classgoogle_1_1cloud_1_1securesourcemanager__v1_1_1SecureSourceManagerConnection)\n- [2.21.0](/cpp/docs/reference/securesourcemanager/2.21.0/classgoogle_1_1cloud_1_1securesourcemanager__v1_1_1SecureSourceManagerConnection)\n- [2.20.0](/cpp/docs/reference/securesourcemanager/2.20.0/classgoogle_1_1cloud_1_1securesourcemanager__v1_1_1SecureSourceManagerConnection)\n- [2.19.0](/cpp/docs/reference/securesourcemanager/2.19.0/classgoogle_1_1cloud_1_1securesourcemanager__v1_1_1SecureSourceManagerConnection)\n- [2.18.0](/cpp/docs/reference/securesourcemanager/2.18.0/classgoogle_1_1cloud_1_1securesourcemanager__v1_1_1SecureSourceManagerConnection) \nThe [`SecureSourceManagerConnection`](/cpp/docs/reference/securesourcemanager/2.26.0/classgoogle_1_1cloud_1_1securesourcemanager__v1_1_1SecureSourceManagerConnection) object for [`SecureSourceManagerClient`](/cpp/docs/reference/securesourcemanager/2.26.0/classgoogle_1_1cloud_1_1securesourcemanager__v1_1_1SecureSourceManagerClient). \nThis interface defines virtual methods for each of the user-facing overload sets in [`SecureSourceManagerClient`](/cpp/docs/reference/securesourcemanager/2.26.0/classgoogle_1_1cloud_1_1securesourcemanager__v1_1_1SecureSourceManagerClient). This allows users to inject custom behavior (e.g., with a Google Mock object) when writing tests that use objects of type [`SecureSourceManagerClient`](/cpp/docs/reference/securesourcemanager/2.26.0/classgoogle_1_1cloud_1_1securesourcemanager__v1_1_1SecureSourceManagerClient).\n\nTo create a concrete instance, see [`MakeSecureSourceManagerConnection()`](/cpp/docs/reference/securesourcemanager/2.26.0/namespacegoogle_1_1cloud_1_1securesourcemanager__v1).\n\nFor mocking, see [`securesourcemanager_v1_mocks::MockSecureSourceManagerConnection`](/cpp/docs/reference/securesourcemanager/2.26.0/classgoogle_1_1cloud_1_1securesourcemanager__v1__mocks_1_1MockSecureSourceManagerConnection).\n\nFunctions\n---------\n\n### virtual options()\n\n### virtual ListInstances(google::cloud::securesourcemanager::v1::ListInstancesRequest)\n\n### virtual GetInstance(google::cloud::securesourcemanager::v1::GetInstanceRequest const \\&)\n\n### virtual CreateInstance(google::cloud::securesourcemanager::v1::CreateInstanceRequest const \\&)\n\n### virtual CreateInstance(ExperimentalTag, NoAwaitTag, google::cloud::securesourcemanager::v1::CreateInstanceRequest const \\&)\n\n### virtual CreateInstance(ExperimentalTag, google::longrunning::Operation const \\&)\n\n### virtual DeleteInstance(google::cloud::securesourcemanager::v1::DeleteInstanceRequest const \\&)\n\n### virtual DeleteInstance(ExperimentalTag, NoAwaitTag, google::cloud::securesourcemanager::v1::DeleteInstanceRequest const \\&)\n\n### virtual DeleteInstance(ExperimentalTag, google::longrunning::Operation const \\&)\n\n### virtual ListRepositories(google::cloud::securesourcemanager::v1::ListRepositoriesRequest)\n\n### virtual GetRepository(google::cloud::securesourcemanager::v1::GetRepositoryRequest const \\&)\n\n### virtual CreateRepository(google::cloud::securesourcemanager::v1::CreateRepositoryRequest const \\&)\n\n### virtual CreateRepository(ExperimentalTag, NoAwaitTag, google::cloud::securesourcemanager::v1::CreateRepositoryRequest const \\&)\n\n### virtual CreateRepository(ExperimentalTag, google::longrunning::Operation const \\&)\n\n### virtual DeleteRepository(google::cloud::securesourcemanager::v1::DeleteRepositoryRequest const \\&)\n\n### virtual DeleteRepository(ExperimentalTag, NoAwaitTag, google::cloud::securesourcemanager::v1::DeleteRepositoryRequest const \\&)\n\n### virtual DeleteRepository(ExperimentalTag, google::longrunning::Operation const \\&)\n\n### virtual GetIamPolicyRepo(google::iam::v1::GetIamPolicyRequest const \\&)\n\n### virtual SetIamPolicyRepo(google::iam::v1::SetIamPolicyRequest const \\&)\n\n### virtual TestIamPermissionsRepo(google::iam::v1::TestIamPermissionsRequest const \\&)"]]