Class ManagedNotebookServiceConnection (2.16.0-rc)

This interface defines virtual methods for each of the user-facing overload sets in ManagedNotebookServiceClient. This allows users to inject custom behavior (e.g., with a Google Mock object) when writing tests that use objects of type ManagedNotebookServiceClient.

To create a concrete instance, see MakeManagedNotebookServiceConnection().

For mocking, see notebooks_v1_mocks::MockManagedNotebookServiceConnection.

Functions

virtual options()

Returns
TypeDescription
Options

virtual ListRuntimes(google::cloud::notebooks::v1::ListRuntimesRequest)

Parameter
NameDescription
request google::cloud::notebooks::v1::ListRuntimesRequest
Returns
TypeDescription
StreamRange< google::cloud::notebooks::v1::Runtime >

virtual GetRuntime(google::cloud::notebooks::v1::GetRuntimeRequest const &)

Parameter
NameDescription
request google::cloud::notebooks::v1::GetRuntimeRequest const &
Returns
TypeDescription
StatusOr< google::cloud::notebooks::v1::Runtime >

virtual CreateRuntime(google::cloud::notebooks::v1::CreateRuntimeRequest const &)

Parameter
NameDescription
request google::cloud::notebooks::v1::CreateRuntimeRequest const &
Returns
TypeDescription
future< StatusOr< google::cloud::notebooks::v1::Runtime > >

virtual UpdateRuntime(google::cloud::notebooks::v1::UpdateRuntimeRequest const &)

Parameter
NameDescription
request google::cloud::notebooks::v1::UpdateRuntimeRequest const &
Returns
TypeDescription
future< StatusOr< google::cloud::notebooks::v1::Runtime > >

virtual DeleteRuntime(google::cloud::notebooks::v1::DeleteRuntimeRequest const &)

Parameter
NameDescription
request google::cloud::notebooks::v1::DeleteRuntimeRequest const &
Returns
TypeDescription
future< StatusOr< google::cloud::notebooks::v1::OperationMetadata > >

virtual StartRuntime(google::cloud::notebooks::v1::StartRuntimeRequest const &)

Parameter
NameDescription
request google::cloud::notebooks::v1::StartRuntimeRequest const &
Returns
TypeDescription
future< StatusOr< google::cloud::notebooks::v1::Runtime > >

virtual StopRuntime(google::cloud::notebooks::v1::StopRuntimeRequest const &)

Parameter
NameDescription
request google::cloud::notebooks::v1::StopRuntimeRequest const &
Returns
TypeDescription
future< StatusOr< google::cloud::notebooks::v1::Runtime > >

virtual SwitchRuntime(google::cloud::notebooks::v1::SwitchRuntimeRequest const &)

Parameter
NameDescription
request google::cloud::notebooks::v1::SwitchRuntimeRequest const &
Returns
TypeDescription
future< StatusOr< google::cloud::notebooks::v1::Runtime > >

virtual ResetRuntime(google::cloud::notebooks::v1::ResetRuntimeRequest const &)

Parameter
NameDescription
request google::cloud::notebooks::v1::ResetRuntimeRequest const &
Returns
TypeDescription
future< StatusOr< google::cloud::notebooks::v1::Runtime > >

virtual UpgradeRuntime(google::cloud::notebooks::v1::UpgradeRuntimeRequest const &)

Parameter
NameDescription
request google::cloud::notebooks::v1::UpgradeRuntimeRequest const &
Returns
TypeDescription
future< StatusOr< google::cloud::notebooks::v1::Runtime > >

virtual ReportRuntimeEvent(google::cloud::notebooks::v1::ReportRuntimeEventRequest const &)

Parameter
NameDescription
request google::cloud::notebooks::v1::ReportRuntimeEventRequest const &
Returns
TypeDescription
future< StatusOr< google::cloud::notebooks::v1::Runtime > >

virtual RefreshRuntimeTokenInternal(google::cloud::notebooks::v1::RefreshRuntimeTokenInternalRequest const &)

Parameter
NameDescription
request google::cloud::notebooks::v1::RefreshRuntimeTokenInternalRequest const &
Returns
TypeDescription
StatusOr< google::cloud::notebooks::v1::RefreshRuntimeTokenInternalResponse >

virtual DiagnoseRuntime(google::cloud::notebooks::v1::DiagnoseRuntimeRequest const &)

Parameter
NameDescription
request google::cloud::notebooks::v1::DiagnoseRuntimeRequest const &
Returns
TypeDescription
future< StatusOr< google::cloud::notebooks::v1::Runtime > >