Package com.google.cloud.notebooks.v1
Interface ManagedNotebookServiceGrpc.AsyncService
-
- All Known Implementing Classes:
ManagedNotebookServiceGrpc.ManagedNotebookServiceImplBase
- Enclosing class:
- ManagedNotebookServiceGrpc
public static interface ManagedNotebookServiceGrpc.AsyncService
API v1 service for Managed Notebooks.
-
-
Method Summary
All Methods Instance Methods Default Methods Modifier and Type Method Description default void
createRuntime(CreateRuntimeRequest request, io.grpc.stub.StreamObserver<com.google.longrunning.Operation> responseObserver)
Creates a new Runtime in a given project and location.default void
deleteRuntime(DeleteRuntimeRequest request, io.grpc.stub.StreamObserver<com.google.longrunning.Operation> responseObserver)
Deletes a single Runtime.default void
diagnoseRuntime(DiagnoseRuntimeRequest request, io.grpc.stub.StreamObserver<com.google.longrunning.Operation> responseObserver)
Creates a Diagnostic File and runs Diagnostic Tool given a Runtime.default void
getRuntime(GetRuntimeRequest request, io.grpc.stub.StreamObserver<Runtime> responseObserver)
Gets details of a single Runtime.default void
listRuntimes(ListRuntimesRequest request, io.grpc.stub.StreamObserver<ListRuntimesResponse> responseObserver)
Lists Runtimes in a given project and location.default void
refreshRuntimeTokenInternal(RefreshRuntimeTokenInternalRequest request, io.grpc.stub.StreamObserver<RefreshRuntimeTokenInternalResponse> responseObserver)
Gets an access token for the consumer service account that the customer attached to the runtime.default void
reportRuntimeEvent(ReportRuntimeEventRequest request, io.grpc.stub.StreamObserver<com.google.longrunning.Operation> responseObserver)
Report and process a runtime event.default void
resetRuntime(ResetRuntimeRequest request, io.grpc.stub.StreamObserver<com.google.longrunning.Operation> responseObserver)
Resets a Managed Notebook Runtime.default void
startRuntime(StartRuntimeRequest request, io.grpc.stub.StreamObserver<com.google.longrunning.Operation> responseObserver)
Starts a Managed Notebook Runtime.default void
stopRuntime(StopRuntimeRequest request, io.grpc.stub.StreamObserver<com.google.longrunning.Operation> responseObserver)
Stops a Managed Notebook Runtime.default void
switchRuntime(SwitchRuntimeRequest request, io.grpc.stub.StreamObserver<com.google.longrunning.Operation> responseObserver)
Switch a Managed Notebook Runtime.default void
updateRuntime(UpdateRuntimeRequest request, io.grpc.stub.StreamObserver<com.google.longrunning.Operation> responseObserver)
Update Notebook Runtime configuration.default void
upgradeRuntime(UpgradeRuntimeRequest request, io.grpc.stub.StreamObserver<com.google.longrunning.Operation> responseObserver)
Upgrades a Managed Notebook Runtime to the latest version.
-
-
-
Method Detail
-
listRuntimes
default void listRuntimes(ListRuntimesRequest request, io.grpc.stub.StreamObserver<ListRuntimesResponse> responseObserver)
Lists Runtimes in a given project and location.
-
getRuntime
default void getRuntime(GetRuntimeRequest request, io.grpc.stub.StreamObserver<Runtime> responseObserver)
Gets details of a single Runtime. The location must be a regional endpoint rather than zonal.
-
createRuntime
default void createRuntime(CreateRuntimeRequest request, io.grpc.stub.StreamObserver<com.google.longrunning.Operation> responseObserver)
Creates a new Runtime in a given project and location.
-
updateRuntime
default void updateRuntime(UpdateRuntimeRequest request, io.grpc.stub.StreamObserver<com.google.longrunning.Operation> responseObserver)
Update Notebook Runtime configuration.
-
deleteRuntime
default void deleteRuntime(DeleteRuntimeRequest request, io.grpc.stub.StreamObserver<com.google.longrunning.Operation> responseObserver)
Deletes a single Runtime.
-
startRuntime
default void startRuntime(StartRuntimeRequest request, io.grpc.stub.StreamObserver<com.google.longrunning.Operation> responseObserver)
Starts a Managed Notebook Runtime. Perform "Start" on GPU instances; "Resume" on CPU instances See: https://cloud.google.com/compute/docs/instances/stop-start-instance https://cloud.google.com/compute/docs/instances/suspend-resume-instance
-
stopRuntime
default void stopRuntime(StopRuntimeRequest request, io.grpc.stub.StreamObserver<com.google.longrunning.Operation> responseObserver)
Stops a Managed Notebook Runtime. Perform "Stop" on GPU instances; "Suspend" on CPU instances See: https://cloud.google.com/compute/docs/instances/stop-start-instance https://cloud.google.com/compute/docs/instances/suspend-resume-instance
-
switchRuntime
default void switchRuntime(SwitchRuntimeRequest request, io.grpc.stub.StreamObserver<com.google.longrunning.Operation> responseObserver)
Switch a Managed Notebook Runtime.
-
resetRuntime
default void resetRuntime(ResetRuntimeRequest request, io.grpc.stub.StreamObserver<com.google.longrunning.Operation> responseObserver)
Resets a Managed Notebook Runtime.
-
upgradeRuntime
default void upgradeRuntime(UpgradeRuntimeRequest request, io.grpc.stub.StreamObserver<com.google.longrunning.Operation> responseObserver)
Upgrades a Managed Notebook Runtime to the latest version.
-
reportRuntimeEvent
default void reportRuntimeEvent(ReportRuntimeEventRequest request, io.grpc.stub.StreamObserver<com.google.longrunning.Operation> responseObserver)
Report and process a runtime event.
-
refreshRuntimeTokenInternal
default void refreshRuntimeTokenInternal(RefreshRuntimeTokenInternalRequest request, io.grpc.stub.StreamObserver<RefreshRuntimeTokenInternalResponse> responseObserver)
Gets an access token for the consumer service account that the customer attached to the runtime. Only accessible from the tenant instance.
-
diagnoseRuntime
default void diagnoseRuntime(DiagnoseRuntimeRequest request, io.grpc.stub.StreamObserver<com.google.longrunning.Operation> responseObserver)
Creates a Diagnostic File and runs Diagnostic Tool given a Runtime.
-
-