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