public static interface ManagedNotebookServiceGrpc.AsyncService
API v1 service for Managed Notebooks.
| Modifier and Type | Method and 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.
|
default void listRuntimes(ListRuntimesRequest request, io.grpc.stub.StreamObserver<ListRuntimesResponse> responseObserver)
Lists Runtimes in a given project and location.
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.
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 updateRuntime(UpdateRuntimeRequest request, io.grpc.stub.StreamObserver<com.google.longrunning.Operation> responseObserver)
Update Notebook Runtime configuration.
default void deleteRuntime(DeleteRuntimeRequest request, io.grpc.stub.StreamObserver<com.google.longrunning.Operation> responseObserver)
Deletes a single Runtime.
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
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
default void switchRuntime(SwitchRuntimeRequest request, io.grpc.stub.StreamObserver<com.google.longrunning.Operation> responseObserver)
Switch a Managed Notebook Runtime.
default void resetRuntime(ResetRuntimeRequest request, io.grpc.stub.StreamObserver<com.google.longrunning.Operation> responseObserver)
Resets a Managed Notebook Runtime.
default void upgradeRuntime(UpgradeRuntimeRequest request, io.grpc.stub.StreamObserver<com.google.longrunning.Operation> responseObserver)
Upgrades a Managed Notebook Runtime to the latest version.
default void reportRuntimeEvent(ReportRuntimeEventRequest request, io.grpc.stub.StreamObserver<com.google.longrunning.Operation> responseObserver)
Report and process a runtime event.
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.
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.
Copyright © 2023 Google LLC. All rights reserved.