This interface defines virtual methods for each of the user-facing overload sets in NotebookServiceClient. This allows users to inject custom behavior (e.g., with a Google Mock object) when writing tests that use objects of type NotebookServiceClient.
[[["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\u003eNotebookServiceConnection\u003c/code\u003e object, which interfaces with the \u003ccode\u003eNotebookServiceClient\u003c/code\u003e in various versions, ranging from 2.11.0 to the latest release candidate, 2.37.0-rc.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eNotebookServiceConnection\u003c/code\u003e class provides virtual methods for each user-facing overload in \u003ccode\u003eNotebookServiceClient\u003c/code\u003e, enabling custom behavior injection, primarily for testing.\u003c/p\u003e\n"],["\u003cp\u003eYou can create a concrete \u003ccode\u003eNotebookServiceConnection\u003c/code\u003e instance using the \u003ccode\u003eMakeNotebookServiceConnection()\u003c/code\u003e function.\u003c/p\u003e\n"],["\u003cp\u003eThe webpage also covers mocking via \u003ccode\u003enotebooks_v2_mocks::MockNotebookServiceConnection\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eNotebookServiceConnection\u003c/code\u003e interface defines virtual functions for managing instances, such as \u003ccode\u003eListInstances\u003c/code\u003e, \u003ccode\u003eGetInstance\u003c/code\u003e, \u003ccode\u003eCreateInstance\u003c/code\u003e, \u003ccode\u003eDeleteInstance\u003c/code\u003e, as well as several other instance-related actions.\u003c/p\u003e\n"]]],[],null,[]]