Class ManagedNotebookServiceGrpc.ManagedNotebookServiceBlockingStub (1.49.0)

public static final class ManagedNotebookServiceGrpc.ManagedNotebookServiceBlockingStub extends AbstractBlockingStub<ManagedNotebookServiceGrpc.ManagedNotebookServiceBlockingStub>

A stub to allow clients to do synchronous rpc calls to service ManagedNotebookService.

API v1 service for Managed Notebooks.

Inheritance

java.lang.Object > io.grpc.stub.AbstractStub > io.grpc.stub.AbstractBlockingStub > ManagedNotebookServiceGrpc.ManagedNotebookServiceBlockingStub

Methods

build(Channel channel, CallOptions callOptions)

protected ManagedNotebookServiceGrpc.ManagedNotebookServiceBlockingStub build(Channel channel, CallOptions callOptions)
Parameters
Name Description
channel io.grpc.Channel
callOptions io.grpc.CallOptions
Returns
Type Description
ManagedNotebookServiceGrpc.ManagedNotebookServiceBlockingStub
Overrides
io.grpc.stub.AbstractStub.build(io.grpc.Channel,io.grpc.CallOptions)

createRuntime(CreateRuntimeRequest request)

public Operation createRuntime(CreateRuntimeRequest request)

Creates a new Runtime in a given project and location.

Parameter
Name Description
request CreateRuntimeRequest
Returns
Type Description
Operation

deleteRuntime(DeleteRuntimeRequest request)

public Operation deleteRuntime(DeleteRuntimeRequest request)

Deletes a single Runtime.

Parameter
Name Description
request DeleteRuntimeRequest
Returns
Type Description
Operation

diagnoseRuntime(DiagnoseRuntimeRequest request)

public Operation diagnoseRuntime(DiagnoseRuntimeRequest request)

Creates a Diagnostic File and runs Diagnostic Tool given a Runtime.

Parameter
Name Description
request DiagnoseRuntimeRequest
Returns
Type Description
Operation

getRuntime(GetRuntimeRequest request)

public Runtime getRuntime(GetRuntimeRequest request)

Gets details of a single Runtime. The location must be a regional endpoint rather than zonal.

Parameter
Name Description
request GetRuntimeRequest
Returns
Type Description
Runtime

listRuntimes(ListRuntimesRequest request)

public ListRuntimesResponse listRuntimes(ListRuntimesRequest request)

Lists Runtimes in a given project and location.

Parameter
Name Description
request ListRuntimesRequest
Returns
Type Description
ListRuntimesResponse

refreshRuntimeTokenInternal(RefreshRuntimeTokenInternalRequest request)

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.

Parameter
Name Description
request RefreshRuntimeTokenInternalRequest
Returns
Type Description
RefreshRuntimeTokenInternalResponse

reportRuntimeEvent(ReportRuntimeEventRequest request)

public Operation reportRuntimeEvent(ReportRuntimeEventRequest request)

Report and process a runtime event.

Parameter
Name Description
request ReportRuntimeEventRequest
Returns
Type Description
Operation

resetRuntime(ResetRuntimeRequest request)

public Operation resetRuntime(ResetRuntimeRequest request)

Resets a Managed Notebook Runtime.

Parameter
Name Description
request ResetRuntimeRequest
Returns
Type Description
Operation

startRuntime(StartRuntimeRequest request)

public 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

Parameter
Name Description
request StartRuntimeRequest
Returns
Type Description
Operation

stopRuntime(StopRuntimeRequest request)

public 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

Parameter
Name Description
request StopRuntimeRequest
Returns
Type Description
Operation

switchRuntime(SwitchRuntimeRequest request)

public Operation switchRuntime(SwitchRuntimeRequest request)

Switch a Managed Notebook Runtime.

Parameter
Name Description
request SwitchRuntimeRequest
Returns
Type Description
Operation

updateRuntime(UpdateRuntimeRequest request)

public Operation updateRuntime(UpdateRuntimeRequest request)

Update Notebook Runtime configuration.

Parameter
Name Description
request UpdateRuntimeRequest
Returns
Type Description
Operation

upgradeRuntime(UpgradeRuntimeRequest request)

public Operation upgradeRuntime(UpgradeRuntimeRequest request)

Upgrades a Managed Notebook Runtime to the latest version.

Parameter
Name Description
request UpgradeRuntimeRequest
Returns
Type Description
Operation