public static final class ManagedNotebookServiceGrpc.ManagedNotebookServiceStub extends io.grpc.stub.AbstractAsyncStub<ManagedNotebookServiceGrpc.ManagedNotebookServiceStub>
API v1 service for Managed Notebooks.
| Modifier and Type | Method and Description |
|---|---|
protected ManagedNotebookServiceGrpc.ManagedNotebookServiceStub |
build(io.grpc.Channel channel,
io.grpc.CallOptions callOptions) |
void |
createRuntime(CreateRuntimeRequest request,
io.grpc.stub.StreamObserver<com.google.longrunning.Operation> responseObserver)
Creates a new Runtime in a given project and location.
|
void |
deleteRuntime(DeleteRuntimeRequest request,
io.grpc.stub.StreamObserver<com.google.longrunning.Operation> responseObserver)
Deletes a single Runtime.
|
void |
diagnoseRuntime(DiagnoseRuntimeRequest request,
io.grpc.stub.StreamObserver<com.google.longrunning.Operation> responseObserver)
Creates a Diagnostic File and runs Diagnostic Tool given a Runtime.
|
void |
getRuntime(GetRuntimeRequest request,
io.grpc.stub.StreamObserver<Runtime> responseObserver)
Gets details of a single Runtime.
|
void |
listRuntimes(ListRuntimesRequest request,
io.grpc.stub.StreamObserver<ListRuntimesResponse> responseObserver)
Lists Runtimes in a given project and location.
|
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.
|
void |
reportRuntimeEvent(ReportRuntimeEventRequest request,
io.grpc.stub.StreamObserver<com.google.longrunning.Operation> responseObserver)
Report and process a runtime event.
|
void |
resetRuntime(ResetRuntimeRequest request,
io.grpc.stub.StreamObserver<com.google.longrunning.Operation> responseObserver)
Resets a Managed Notebook Runtime.
|
void |
startRuntime(StartRuntimeRequest request,
io.grpc.stub.StreamObserver<com.google.longrunning.Operation> responseObserver)
Starts a Managed Notebook Runtime.
|
void |
stopRuntime(StopRuntimeRequest request,
io.grpc.stub.StreamObserver<com.google.longrunning.Operation> responseObserver)
Stops a Managed Notebook Runtime.
|
void |
switchRuntime(SwitchRuntimeRequest request,
io.grpc.stub.StreamObserver<com.google.longrunning.Operation> responseObserver)
Switch a Managed Notebook Runtime.
|
void |
updateRuntime(UpdateRuntimeRequest request,
io.grpc.stub.StreamObserver<com.google.longrunning.Operation> responseObserver)
Update Notebook Runtime configuration.
|
void |
upgradeRuntime(UpgradeRuntimeRequest request,
io.grpc.stub.StreamObserver<com.google.longrunning.Operation> responseObserver)
Upgrades a Managed Notebook Runtime to the latest version.
|
protected ManagedNotebookServiceGrpc.ManagedNotebookServiceStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions)
build in class io.grpc.stub.AbstractStub<ManagedNotebookServiceGrpc.ManagedNotebookServiceStub>public void listRuntimes(ListRuntimesRequest request, io.grpc.stub.StreamObserver<ListRuntimesResponse> responseObserver)
Lists Runtimes in a given project and location.
public 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.
public void createRuntime(CreateRuntimeRequest request, io.grpc.stub.StreamObserver<com.google.longrunning.Operation> responseObserver)
Creates a new Runtime in a given project and location.
public void updateRuntime(UpdateRuntimeRequest request, io.grpc.stub.StreamObserver<com.google.longrunning.Operation> responseObserver)
Update Notebook Runtime configuration.
public void deleteRuntime(DeleteRuntimeRequest request, io.grpc.stub.StreamObserver<com.google.longrunning.Operation> responseObserver)
Deletes a single Runtime.
public 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
public 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
public void switchRuntime(SwitchRuntimeRequest request, io.grpc.stub.StreamObserver<com.google.longrunning.Operation> responseObserver)
Switch a Managed Notebook Runtime.
public void resetRuntime(ResetRuntimeRequest request, io.grpc.stub.StreamObserver<com.google.longrunning.Operation> responseObserver)
Resets a Managed Notebook Runtime.
public void upgradeRuntime(UpgradeRuntimeRequest request, io.grpc.stub.StreamObserver<com.google.longrunning.Operation> responseObserver)
Upgrades a Managed Notebook Runtime to the latest version.
public void reportRuntimeEvent(ReportRuntimeEventRequest request, io.grpc.stub.StreamObserver<com.google.longrunning.Operation> responseObserver)
Report and process a runtime event.
public 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.
public 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.