Class ManagedNotebookServiceGrpc.ManagedNotebookServiceImplBase (1.3.0)

public abstract static class ManagedNotebookServiceGrpc.ManagedNotebookServiceImplBase implements BindableService

API v1 service for Managed Notebooks.

Inheritance

java.lang.Object > ManagedNotebookServiceGrpc.ManagedNotebookServiceImplBase

Implements

io.grpc.BindableService

Constructors

ManagedNotebookServiceImplBase()

public ManagedNotebookServiceImplBase()

Methods

bindService()

public final ServerServiceDefinition bindService()
Returns
TypeDescription
io.grpc.ServerServiceDefinition

createRuntime(CreateRuntimeRequest request, StreamObserver<Operation> responseObserver)

public 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 void deleteRuntime(DeleteRuntimeRequest request, StreamObserver<Operation> responseObserver)

Deletes a single Runtime.

Parameters
NameDescription
requestDeleteRuntimeRequest
responseObserverio.grpc.stub.StreamObserver<Operation>

getRuntime(GetRuntimeRequest request, StreamObserver<Runtime> responseObserver)

public 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 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 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 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 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 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 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 void switchRuntime(SwitchRuntimeRequest request, StreamObserver<Operation> responseObserver)

Switch a Managed Notebook Runtime.

Parameters
NameDescription
requestSwitchRuntimeRequest
responseObserverio.grpc.stub.StreamObserver<Operation>