Some or all of the information on this page might not apply to Trusted Cloud by S3NS.
Class ManagedNotebookServiceConnection (2.28.0)
Note: Some or all of the information on this page might not apply
to Trusted Cloud. For a list of services that are available in
Trusted Cloud, see Services available for
Trusted Cloud .
Version 2.28.0keyboard_arrow_down
Functions
virtual options()
Returns
Type
Description
Options
virtual ListRuntimes(google::cloud::notebooks::v1::ListRuntimesRequest)
Parameter
Name
Description
request
google::cloud::notebooks::v1::ListRuntimesRequest
Returns
Type
Description
StreamRange< google::cloud::notebooks::v1::Runtime >
virtual GetRuntime(google::cloud::notebooks::v1::GetRuntimeRequest const &)
Parameter
Name
Description
request
google::cloud::notebooks::v1::GetRuntimeRequest const &
Returns
Type
Description
StatusOr< google::cloud::notebooks::v1::Runtime >
virtual CreateRuntime(google::cloud::notebooks::v1::CreateRuntimeRequest const &)
Parameter
Name
Description
request
google::cloud::notebooks::v1::CreateRuntimeRequest const &
Returns
Type
Description
future< StatusOr< google::cloud::notebooks::v1::Runtime > >
virtual CreateRuntime(NoAwaitTag, google::cloud::notebooks::v1::CreateRuntimeRequest const &)
Parameters
Name
Description
NoAwaitTag
request
google::cloud::notebooks::v1::CreateRuntimeRequest const &
Returns
Type
Description
StatusOr< google::longrunning::Operation >
virtual CreateRuntime(google::longrunning::Operation const &)
Parameter
Name
Description
operation
google::longrunning::Operation const &
Returns
Type
Description
future< StatusOr< google::cloud::notebooks::v1::Runtime > >
virtual UpdateRuntime(google::cloud::notebooks::v1::UpdateRuntimeRequest const &)
Parameter
Name
Description
request
google::cloud::notebooks::v1::UpdateRuntimeRequest const &
Returns
Type
Description
future< StatusOr< google::cloud::notebooks::v1::Runtime > >
virtual UpdateRuntime(NoAwaitTag, google::cloud::notebooks::v1::UpdateRuntimeRequest const &)
Parameters
Name
Description
NoAwaitTag
request
google::cloud::notebooks::v1::UpdateRuntimeRequest const &
Returns
Type
Description
StatusOr< google::longrunning::Operation >
virtual UpdateRuntime(google::longrunning::Operation const &)
Parameter
Name
Description
operation
google::longrunning::Operation const &
Returns
Type
Description
future< StatusOr< google::cloud::notebooks::v1::Runtime > >
virtual DeleteRuntime(google::cloud::notebooks::v1::DeleteRuntimeRequest const &)
Parameter
Name
Description
request
google::cloud::notebooks::v1::DeleteRuntimeRequest const &
Returns
Type
Description
future< StatusOr< google::cloud::notebooks::v1::OperationMetadata > >
virtual DeleteRuntime(NoAwaitTag, google::cloud::notebooks::v1::DeleteRuntimeRequest const &)
Parameters
Name
Description
NoAwaitTag
request
google::cloud::notebooks::v1::DeleteRuntimeRequest const &
Returns
Type
Description
StatusOr< google::longrunning::Operation >
virtual DeleteRuntime(google::longrunning::Operation const &)
Parameter
Name
Description
operation
google::longrunning::Operation const &
Returns
Type
Description
future< StatusOr< google::cloud::notebooks::v1::OperationMetadata > >
virtual StartRuntime(google::cloud::notebooks::v1::StartRuntimeRequest const &)
Parameter
Name
Description
request
google::cloud::notebooks::v1::StartRuntimeRequest const &
Returns
Type
Description
future< StatusOr< google::cloud::notebooks::v1::Runtime > >
virtual StartRuntime(NoAwaitTag, google::cloud::notebooks::v1::StartRuntimeRequest const &)
Parameters
Name
Description
NoAwaitTag
request
google::cloud::notebooks::v1::StartRuntimeRequest const &
Returns
Type
Description
StatusOr< google::longrunning::Operation >
virtual StartRuntime(google::longrunning::Operation const &)
Parameter
Name
Description
operation
google::longrunning::Operation const &
Returns
Type
Description
future< StatusOr< google::cloud::notebooks::v1::Runtime > >
virtual StopRuntime(google::cloud::notebooks::v1::StopRuntimeRequest const &)
Parameter
Name
Description
request
google::cloud::notebooks::v1::StopRuntimeRequest const &
Returns
Type
Description
future< StatusOr< google::cloud::notebooks::v1::Runtime > >
virtual StopRuntime(NoAwaitTag, google::cloud::notebooks::v1::StopRuntimeRequest const &)
Parameters
Name
Description
NoAwaitTag
request
google::cloud::notebooks::v1::StopRuntimeRequest const &
Returns
Type
Description
StatusOr< google::longrunning::Operation >
virtual StopRuntime(google::longrunning::Operation const &)
Parameter
Name
Description
operation
google::longrunning::Operation const &
Returns
Type
Description
future< StatusOr< google::cloud::notebooks::v1::Runtime > >
virtual SwitchRuntime(google::cloud::notebooks::v1::SwitchRuntimeRequest const &)
Parameter
Name
Description
request
google::cloud::notebooks::v1::SwitchRuntimeRequest const &
Returns
Type
Description
future< StatusOr< google::cloud::notebooks::v1::Runtime > >
virtual SwitchRuntime(NoAwaitTag, google::cloud::notebooks::v1::SwitchRuntimeRequest const &)
Parameters
Name
Description
NoAwaitTag
request
google::cloud::notebooks::v1::SwitchRuntimeRequest const &
Returns
Type
Description
StatusOr< google::longrunning::Operation >
virtual SwitchRuntime(google::longrunning::Operation const &)
Parameter
Name
Description
operation
google::longrunning::Operation const &
Returns
Type
Description
future< StatusOr< google::cloud::notebooks::v1::Runtime > >
virtual ResetRuntime(google::cloud::notebooks::v1::ResetRuntimeRequest const &)
Parameter
Name
Description
request
google::cloud::notebooks::v1::ResetRuntimeRequest const &
Returns
Type
Description
future< StatusOr< google::cloud::notebooks::v1::Runtime > >
virtual ResetRuntime(NoAwaitTag, google::cloud::notebooks::v1::ResetRuntimeRequest const &)
Parameters
Name
Description
NoAwaitTag
request
google::cloud::notebooks::v1::ResetRuntimeRequest const &
Returns
Type
Description
StatusOr< google::longrunning::Operation >
virtual ResetRuntime(google::longrunning::Operation const &)
Parameter
Name
Description
operation
google::longrunning::Operation const &
Returns
Type
Description
future< StatusOr< google::cloud::notebooks::v1::Runtime > >
virtual UpgradeRuntime(google::cloud::notebooks::v1::UpgradeRuntimeRequest const &)
Parameter
Name
Description
request
google::cloud::notebooks::v1::UpgradeRuntimeRequest const &
Returns
Type
Description
future< StatusOr< google::cloud::notebooks::v1::Runtime > >
virtual UpgradeRuntime(NoAwaitTag, google::cloud::notebooks::v1::UpgradeRuntimeRequest const &)
Parameters
Name
Description
NoAwaitTag
request
google::cloud::notebooks::v1::UpgradeRuntimeRequest const &
Returns
Type
Description
StatusOr< google::longrunning::Operation >
virtual UpgradeRuntime(google::longrunning::Operation const &)
Parameter
Name
Description
operation
google::longrunning::Operation const &
Returns
Type
Description
future< StatusOr< google::cloud::notebooks::v1::Runtime > >
virtual ReportRuntimeEvent(google::cloud::notebooks::v1::ReportRuntimeEventRequest const &)
Parameter
Name
Description
request
google::cloud::notebooks::v1::ReportRuntimeEventRequest const &
Returns
Type
Description
future< StatusOr< google::cloud::notebooks::v1::Runtime > >
virtual ReportRuntimeEvent(NoAwaitTag, google::cloud::notebooks::v1::ReportRuntimeEventRequest const &)
Parameters
Name
Description
NoAwaitTag
request
google::cloud::notebooks::v1::ReportRuntimeEventRequest const &
Returns
Type
Description
StatusOr< google::longrunning::Operation >
virtual ReportRuntimeEvent(google::longrunning::Operation const &)
Parameter
Name
Description
operation
google::longrunning::Operation const &
Returns
Type
Description
future< StatusOr< google::cloud::notebooks::v1::Runtime > >
virtual RefreshRuntimeTokenInternal(google::cloud::notebooks::v1::RefreshRuntimeTokenInternalRequest const &)
Parameter
Name
Description
request
google::cloud::notebooks::v1::RefreshRuntimeTokenInternalRequest const &
Returns
Type
Description
StatusOr< google::cloud::notebooks::v1::RefreshRuntimeTokenInternalResponse >
virtual DiagnoseRuntime(google::cloud::notebooks::v1::DiagnoseRuntimeRequest const &)
Parameter
Name
Description
request
google::cloud::notebooks::v1::DiagnoseRuntimeRequest const &
Returns
Type
Description
future< StatusOr< google::cloud::notebooks::v1::Runtime > >
virtual DiagnoseRuntime(NoAwaitTag, google::cloud::notebooks::v1::DiagnoseRuntimeRequest const &)
Parameters
Name
Description
NoAwaitTag
request
google::cloud::notebooks::v1::DiagnoseRuntimeRequest const &
Returns
Type
Description
StatusOr< google::longrunning::Operation >
virtual DiagnoseRuntime(google::longrunning::Operation const &)
Parameter
Name
Description
operation
google::longrunning::Operation const &
Returns
Type
Description
future< StatusOr< google::cloud::notebooks::v1::Runtime > >
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-07-09 UTC.
[[["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-07-09 UTC."],[[["This webpage details the `ManagedNotebookServiceConnection` object, which acts as an interface for the `ManagedNotebookServiceClient`, defining virtual methods for all user-facing overload sets in the client."],["Users can utilize this object to inject custom behavior during testing, such as using a Google Mock object, and creating a concrete instance of it is possible via `MakeManagedNotebookServiceConnection()`."],["The `ManagedNotebookServiceConnection` interface offers a comprehensive set of functions for managing runtimes, including listing, getting, creating, updating, deleting, starting, stopping, switching, resetting, upgrading, reporting events, refreshing tokens, and diagnosing."],["The latest version available is 2.37.0-rc, while version 2.28.0 is in focus in the content, and the list of prior versions goes back to 2.11.0."]]],[]]