Package com.google.cloud.notebooks.v1
Class ManagedNotebookServiceGrpc.ManagedNotebookServiceFutureStub
- java.lang.Object
-
- io.grpc.stub.AbstractStub<S>
-
- io.grpc.stub.AbstractFutureStub<ManagedNotebookServiceGrpc.ManagedNotebookServiceFutureStub>
-
- com.google.cloud.notebooks.v1.ManagedNotebookServiceGrpc.ManagedNotebookServiceFutureStub
-
- Enclosing class:
- ManagedNotebookServiceGrpc
public static final class ManagedNotebookServiceGrpc.ManagedNotebookServiceFutureStub extends io.grpc.stub.AbstractFutureStub<ManagedNotebookServiceGrpc.ManagedNotebookServiceFutureStub>
A stub to allow clients to do ListenableFuture-style rpc calls to service ManagedNotebookService.API v1 service for Managed Notebooks.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected ManagedNotebookServiceGrpc.ManagedNotebookServiceFutureStubbuild(io.grpc.Channel channel, io.grpc.CallOptions callOptions)com.google.common.util.concurrent.ListenableFuture<com.google.longrunning.Operation>createRuntime(CreateRuntimeRequest request)Creates a new Runtime in a given project and location.com.google.common.util.concurrent.ListenableFuture<com.google.longrunning.Operation>deleteRuntime(DeleteRuntimeRequest request)Deletes a single Runtime.com.google.common.util.concurrent.ListenableFuture<com.google.longrunning.Operation>diagnoseRuntime(DiagnoseRuntimeRequest request)Creates a Diagnostic File and runs Diagnostic Tool given a Runtime.com.google.common.util.concurrent.ListenableFuture<Runtime>getRuntime(GetRuntimeRequest request)Gets details of a single Runtime.com.google.common.util.concurrent.ListenableFuture<ListRuntimesResponse>listRuntimes(ListRuntimesRequest request)Lists Runtimes in a given project and location.com.google.common.util.concurrent.ListenableFuture<RefreshRuntimeTokenInternalResponse>refreshRuntimeTokenInternal(RefreshRuntimeTokenInternalRequest request)Gets an access token for the consumer service account that the customer attached to the runtime.com.google.common.util.concurrent.ListenableFuture<com.google.longrunning.Operation>reportRuntimeEvent(ReportRuntimeEventRequest request)Report and process a runtime event.com.google.common.util.concurrent.ListenableFuture<com.google.longrunning.Operation>resetRuntime(ResetRuntimeRequest request)Resets a Managed Notebook Runtime.com.google.common.util.concurrent.ListenableFuture<com.google.longrunning.Operation>startRuntime(StartRuntimeRequest request)Starts a Managed Notebook Runtime.com.google.common.util.concurrent.ListenableFuture<com.google.longrunning.Operation>stopRuntime(StopRuntimeRequest request)Stops a Managed Notebook Runtime.com.google.common.util.concurrent.ListenableFuture<com.google.longrunning.Operation>switchRuntime(SwitchRuntimeRequest request)Switch a Managed Notebook Runtime.com.google.common.util.concurrent.ListenableFuture<com.google.longrunning.Operation>updateRuntime(UpdateRuntimeRequest request)Update Notebook Runtime configuration.com.google.common.util.concurrent.ListenableFuture<com.google.longrunning.Operation>upgradeRuntime(UpgradeRuntimeRequest request)Upgrades a Managed Notebook Runtime to the latest version.
-
-
-
Method Detail
-
build
protected ManagedNotebookServiceGrpc.ManagedNotebookServiceFutureStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions)
- Specified by:
buildin classio.grpc.stub.AbstractStub<ManagedNotebookServiceGrpc.ManagedNotebookServiceFutureStub>
-
listRuntimes
public com.google.common.util.concurrent.ListenableFuture<ListRuntimesResponse> listRuntimes(ListRuntimesRequest request)
Lists Runtimes in a given project and location.
-
getRuntime
public com.google.common.util.concurrent.ListenableFuture<Runtime> getRuntime(GetRuntimeRequest request)
Gets details of a single Runtime. The location must be a regional endpoint rather than zonal.
-
createRuntime
public com.google.common.util.concurrent.ListenableFuture<com.google.longrunning.Operation> createRuntime(CreateRuntimeRequest request)
Creates a new Runtime in a given project and location.
-
updateRuntime
public com.google.common.util.concurrent.ListenableFuture<com.google.longrunning.Operation> updateRuntime(UpdateRuntimeRequest request)
Update Notebook Runtime configuration.
-
deleteRuntime
public com.google.common.util.concurrent.ListenableFuture<com.google.longrunning.Operation> deleteRuntime(DeleteRuntimeRequest request)
Deletes a single Runtime.
-
startRuntime
public com.google.common.util.concurrent.ListenableFuture<com.google.longrunning.Operation> startRuntime(StartRuntimeRequest request)
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
-
stopRuntime
public com.google.common.util.concurrent.ListenableFuture<com.google.longrunning.Operation> stopRuntime(StopRuntimeRequest request)
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
-
switchRuntime
public com.google.common.util.concurrent.ListenableFuture<com.google.longrunning.Operation> switchRuntime(SwitchRuntimeRequest request)
Switch a Managed Notebook Runtime.
-
resetRuntime
public com.google.common.util.concurrent.ListenableFuture<com.google.longrunning.Operation> resetRuntime(ResetRuntimeRequest request)
Resets a Managed Notebook Runtime.
-
upgradeRuntime
public com.google.common.util.concurrent.ListenableFuture<com.google.longrunning.Operation> upgradeRuntime(UpgradeRuntimeRequest request)
Upgrades a Managed Notebook Runtime to the latest version.
-
reportRuntimeEvent
public com.google.common.util.concurrent.ListenableFuture<com.google.longrunning.Operation> reportRuntimeEvent(ReportRuntimeEventRequest request)
Report and process a runtime event.
-
refreshRuntimeTokenInternal
public com.google.common.util.concurrent.ListenableFuture<RefreshRuntimeTokenInternalResponse> refreshRuntimeTokenInternal(RefreshRuntimeTokenInternalRequest request)
Gets an access token for the consumer service account that the customer attached to the runtime. Only accessible from the tenant instance.
-
diagnoseRuntime
public com.google.common.util.concurrent.ListenableFuture<com.google.longrunning.Operation> diagnoseRuntime(DiagnoseRuntimeRequest request)
Creates a Diagnostic File and runs Diagnostic Tool given a Runtime.
-
-