This interface defines virtual methods for each of the user-facing overload sets in FunctionServiceClient. This allows users to inject custom behavior (e.g., with a Google Mock object) when writing tests that use objects of type FunctionServiceClient.
[[["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 outlines the \u003ccode\u003eFunctionServiceConnection\u003c/code\u003e interface, which provides virtual methods for user-facing overload sets in \u003ccode\u003eFunctionServiceClient\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eFunctionServiceConnection\u003c/code\u003e interface allows users to inject custom behavior when writing tests using \u003ccode\u003eFunctionServiceClient\u003c/code\u003e objects.\u003c/p\u003e\n"],["\u003cp\u003eThe latest release available is version 2.37.0-rc, while the current document is focused on the \u003ccode\u003eFunctionServiceConnection\u003c/code\u003e in version 2.20.0.\u003c/p\u003e\n"],["\u003cp\u003eThe document lists available methods such as \u003ccode\u003eGetFunction\u003c/code\u003e, \u003ccode\u003eListFunctions\u003c/code\u003e, \u003ccode\u003eCreateFunction\u003c/code\u003e, \u003ccode\u003eUpdateFunction\u003c/code\u003e, \u003ccode\u003eDeleteFunction\u003c/code\u003e, \u003ccode\u003eGenerateUploadUrl\u003c/code\u003e, \u003ccode\u003eGenerateDownloadUrl\u003c/code\u003e, and \u003ccode\u003eListRuntimes\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eA concrete instance of FunctionServiceConnection can be created using \u003ccode\u003eMakeFunctionServiceConnection()\u003c/code\u003e and mocking it can be done with \u003ccode\u003efunctions_v2_mocks::MockFunctionServiceConnection\u003c/code\u003e.\u003c/p\u003e\n"]]],[],null,[]]