Interface ManagedNotebookServiceGrpc.AsyncService (1.43.0)

public static interface ManagedNotebookServiceGrpc.AsyncService

API v1 service for Managed Notebooks.

Methods

createRuntime(CreateRuntimeRequest request, StreamObserver<Operation> responseObserver)

public default void createRuntime(CreateRuntimeRequest request, StreamObserver<Operation> responseObserver)

Creates a new Runtime in a given project and location.

Parameters
Name Description
request CreateRuntimeRequest
responseObserver io.grpc.stub.StreamObserver<Operation>

deleteRuntime(DeleteRuntimeRequest request, StreamObserver<Operation> responseObserver)

public default void deleteRuntime(DeleteRuntimeRequest request, StreamObserver<Operation> responseObserver)

Deletes a single Runtime.

Parameters
Name Description
request DeleteRuntimeRequest
responseObserver io.grpc.stub.StreamObserver<Operation>

diagnoseRuntime(DiagnoseRuntimeRequest request, StreamObserver<Operation> responseObserver)

public default void diagnoseRuntime(DiagnoseRuntimeRequest request, StreamObserver<Operation> responseObserver)

Creates a Diagnostic File and runs Diagnostic Tool given a Runtime.

Parameters
Name Description
request DiagnoseRuntimeRequest
responseObserver io.grpc.stub.StreamObserver<Operation>

getRuntime(GetRuntimeRequest request, StreamObserver<Runtime> responseObserver)

public default void getRuntime(GetRuntimeRequest request, StreamObserver<Runtime> responseObserver)

Gets details of a single Runtime. The location must be a regional endpoint rather than zonal.

Parameters
Name Description
request GetRuntimeRequest
responseObserver io.grpc.stub.StreamObserver<Runtime>

listRuntimes(ListRuntimesRequest request, StreamObserver<ListRuntimesResponse> responseObserver)

public default void listRuntimes(ListRuntimesRequest request, StreamObserver<ListRuntimesResponse> responseObserver)

Lists Runtimes in a given project and location.

Parameters
Name Description
request ListRuntimesRequest
responseObserver io.grpc.stub.StreamObserver<ListRuntimesResponse>

refreshRuntimeTokenInternal(RefreshRuntimeTokenInternalRequest request, StreamObserver<RefreshRuntimeTokenInternalResponse> responseObserver)

public default void refreshRuntimeTokenInternal(RefreshRuntimeTokenInternalRequest request, 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.

Parameters
Name Description
request RefreshRuntimeTokenInternalRequest
responseObserver io.grpc.stub.StreamObserver<RefreshRuntimeTokenInternalResponse>

reportRuntimeEvent(ReportRuntimeEventRequest request, StreamObserver<Operation> responseObserver)

public default void reportRuntimeEvent(ReportRuntimeEventRequest request, StreamObserver<Operation> responseObserver)

Report and process a runtime event.

Parameters
Name Description
request ReportRuntimeEventRequest
responseObserver io.grpc.stub.StreamObserver<Operation>

resetRuntime(ResetRuntimeRequest request, StreamObserver<Operation> responseObserver)

public default void resetRuntime(ResetRuntimeRequest request, StreamObserver<Operation> responseObserver)

Resets a Managed Notebook Runtime.

Parameters
Name Description
request ResetRuntimeRequest
responseObserver io.grpc.stub.StreamObserver<Operation>

startRuntime(StartRuntimeRequest request, StreamObserver<Operation> responseObserver)

public default void startRuntime(StartRuntimeRequest request, StreamObserver<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

Parameters
Name Description
request StartRuntimeRequest
responseObserver io.grpc.stub.StreamObserver<Operation>

stopRuntime(StopRuntimeRequest request, StreamObserver<Operation> responseObserver)

public default void stopRuntime(StopRuntimeRequest request, StreamObserver<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

Parameters
Name Description
request StopRuntimeRequest
responseObserver io.grpc.stub.StreamObserver<Operation>

switchRuntime(SwitchRuntimeRequest request, StreamObserver<Operation> responseObserver)

public default void switchRuntime(SwitchRuntimeRequest request, StreamObserver<Operation> responseObserver)

Switch a Managed Notebook Runtime.

Parameters
Name Description
request SwitchRuntimeRequest
responseObserver io.grpc.stub.StreamObserver<Operation>

updateRuntime(UpdateRuntimeRequest request, StreamObserver<Operation> responseObserver)

public default void updateRuntime(UpdateRuntimeRequest request, StreamObserver<Operation> responseObserver)

Update Notebook Runtime configuration.

Parameters
Name Description
request UpdateRuntimeRequest
responseObserver io.grpc.stub.StreamObserver<Operation>

upgradeRuntime(UpgradeRuntimeRequest request, StreamObserver<Operation> responseObserver)

public default void upgradeRuntime(UpgradeRuntimeRequest request, StreamObserver<Operation> responseObserver)

Upgrades a Managed Notebook Runtime to the latest version.

Parameters
Name Description
request UpgradeRuntimeRequest
responseObserver io.grpc.stub.StreamObserver<Operation>