Interface NotebookServiceGrpc.AsyncService (3.45.0)

public static interface NotebookServiceGrpc.AsyncService

The interface for Vertex Notebook service (a.k.a. Colab on Workbench).

Methods

assignNotebookRuntime(AssignNotebookRuntimeRequest request, StreamObserver<Operation> responseObserver)

public default void assignNotebookRuntime(AssignNotebookRuntimeRequest request, StreamObserver<Operation> responseObserver)

Assigns a NotebookRuntime to a user for a particular Notebook file. This method will either returns an existing assignment or generates a new one.

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

createNotebookRuntimeTemplate(CreateNotebookRuntimeTemplateRequest request, StreamObserver<Operation> responseObserver)

public default void createNotebookRuntimeTemplate(CreateNotebookRuntimeTemplateRequest request, StreamObserver<Operation> responseObserver)

Creates a NotebookRuntimeTemplate.

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

deleteNotebookRuntime(DeleteNotebookRuntimeRequest request, StreamObserver<Operation> responseObserver)

public default void deleteNotebookRuntime(DeleteNotebookRuntimeRequest request, StreamObserver<Operation> responseObserver)

Deletes a NotebookRuntime.

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

deleteNotebookRuntimeTemplate(DeleteNotebookRuntimeTemplateRequest request, StreamObserver<Operation> responseObserver)

public default void deleteNotebookRuntimeTemplate(DeleteNotebookRuntimeTemplateRequest request, StreamObserver<Operation> responseObserver)

Deletes a NotebookRuntimeTemplate.

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

getNotebookRuntime(GetNotebookRuntimeRequest request, StreamObserver<NotebookRuntime> responseObserver)

public default void getNotebookRuntime(GetNotebookRuntimeRequest request, StreamObserver<NotebookRuntime> responseObserver)

Gets a NotebookRuntime.

Parameters
Name Description
request GetNotebookRuntimeRequest
responseObserver io.grpc.stub.StreamObserver<NotebookRuntime>

getNotebookRuntimeTemplate(GetNotebookRuntimeTemplateRequest request, StreamObserver<NotebookRuntimeTemplate> responseObserver)

public default void getNotebookRuntimeTemplate(GetNotebookRuntimeTemplateRequest request, StreamObserver<NotebookRuntimeTemplate> responseObserver)

Gets a NotebookRuntimeTemplate.

Parameters
Name Description
request GetNotebookRuntimeTemplateRequest
responseObserver io.grpc.stub.StreamObserver<NotebookRuntimeTemplate>

listNotebookRuntimeTemplates(ListNotebookRuntimeTemplatesRequest request, StreamObserver<ListNotebookRuntimeTemplatesResponse> responseObserver)

public default void listNotebookRuntimeTemplates(ListNotebookRuntimeTemplatesRequest request, StreamObserver<ListNotebookRuntimeTemplatesResponse> responseObserver)

Lists NotebookRuntimeTemplates in a Location.

Parameters
Name Description
request ListNotebookRuntimeTemplatesRequest
responseObserver io.grpc.stub.StreamObserver<ListNotebookRuntimeTemplatesResponse>

listNotebookRuntimes(ListNotebookRuntimesRequest request, StreamObserver<ListNotebookRuntimesResponse> responseObserver)

public default void listNotebookRuntimes(ListNotebookRuntimesRequest request, StreamObserver<ListNotebookRuntimesResponse> responseObserver)

Lists NotebookRuntimes in a Location.

Parameters
Name Description
request ListNotebookRuntimesRequest
responseObserver io.grpc.stub.StreamObserver<ListNotebookRuntimesResponse>

startNotebookRuntime(StartNotebookRuntimeRequest request, StreamObserver<Operation> responseObserver)

public default void startNotebookRuntime(StartNotebookRuntimeRequest request, StreamObserver<Operation> responseObserver)

Starts a NotebookRuntime.

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

upgradeNotebookRuntime(UpgradeNotebookRuntimeRequest request, StreamObserver<Operation> responseObserver)

public default void upgradeNotebookRuntime(UpgradeNotebookRuntimeRequest request, StreamObserver<Operation> responseObserver)

Upgrades a NotebookRuntime.

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