Interface ManagedNotebookServiceGrpc.AsyncService (1.39.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
NameDescription
requestCreateRuntimeRequest
responseObserverio.grpc.stub.StreamObserver<Operation>

deleteRuntime(DeleteRuntimeRequest request, StreamObserver<Operation> responseObserver)

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

Deletes a single Runtime.

Parameters
NameDescription
requestDeleteRuntimeRequest
responseObserverio.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
NameDescription
requestDiagnoseRuntimeRequest
responseObserverio.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
NameDescription
requestGetRuntimeRequest
responseObserverio.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
NameDescription
requestListRuntimesRequest
responseObserverio.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
NameDescription
requestRefreshRuntimeTokenInternalRequest
responseObserverio.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
NameDescription
requestReportRuntimeEventRequest
responseObserverio.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
NameDescription
requestResetRuntimeRequest
responseObserverio.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
NameDescription
requestStartRuntimeRequest
responseObserverio.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
NameDescription
requestStopRuntimeRequest
responseObserverio.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
NameDescription
requestSwitchRuntimeRequest
responseObserverio.grpc.stub.StreamObserver<Operation>

updateRuntime(UpdateRuntimeRequest request, StreamObserver<Operation> responseObserver)

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

Update Notebook Runtime configuration.

Parameters
NameDescription
requestUpdateRuntimeRequest
responseObserverio.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
NameDescription
requestUpgradeRuntimeRequest
responseObserverio.grpc.stub.StreamObserver<Operation>