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 class, which provides an interface for interacting with the \u003ccode\u003eNotebookServiceClient\u003c/code\u003e in the Google Cloud Notebooks v2 API.\u003c/p\u003e\n"],["\u003cp\u003eThe content lists available versions of the API, starting from version 2.37.0-rc (latest) down to 2.11.0, with each version linking to its specific documentation for the \u003ccode\u003eNotebookServiceConnection\u003c/code\u003e class.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eNotebookServiceConnection\u003c/code\u003e interface allows users to define custom behaviors, especially useful in testing scenarios by using mock objects, like the \u003ccode\u003eMockNotebookServiceConnection\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe class includes various virtual functions for managing notebook instances, such as \u003ccode\u003eListInstances\u003c/code\u003e, \u003ccode\u003eGetInstance\u003c/code\u003e, \u003ccode\u003eCreateInstance\u003c/code\u003e, \u003ccode\u003eDeleteInstance\u003c/code\u003e, \u003ccode\u003eStartInstance\u003c/code\u003e, \u003ccode\u003eStopInstance\u003c/code\u003e, along with other actions like upgrading, rolling back, and diagnosing instances.\u003c/p\u003e\n"],["\u003cp\u003eThe object instance is made through the \u003ccode\u003eMakeNotebookServiceConnection()\u003c/code\u003e method, and each listed function is detailed with its parameter and return types.\u003c/p\u003e\n"]]],[],null,[]]