Class ManagedNotebookServiceGrpc.ManagedNotebookServiceBlockingStub (1.17.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
NameDescription
channelio.grpc.Channel
callOptionsio.grpc.CallOptions
Returns
TypeDescription
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
NameDescription
requestCreateRuntimeRequest
Returns
TypeDescription
Operation

deleteRuntime(DeleteRuntimeRequest request)

public Operation deleteRuntime(DeleteRuntimeRequest request)

Deletes a single Runtime.

Parameter
NameDescription
requestDeleteRuntimeRequest
Returns
TypeDescription
Operation

diagnoseRuntime(DiagnoseRuntimeRequest request)

public Operation diagnoseRuntime(DiagnoseRuntimeRequest request)

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

Parameter
NameDescription
requestDiagnoseRuntimeRequest
Returns
TypeDescription
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
NameDescription
requestGetRuntimeRequest
Returns
TypeDescription
Runtime

listRuntimes(ListRuntimesRequest request)

public ListRuntimesResponse listRuntimes(ListRuntimesRequest request)

Lists Runtimes in a given project and location.

Parameter
NameDescription
requestListRuntimesRequest
Returns
TypeDescription
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
NameDescription
requestRefreshRuntimeTokenInternalRequest
Returns
TypeDescription
RefreshRuntimeTokenInternalResponse

reportRuntimeEvent(ReportRuntimeEventRequest request)

public Operation reportRuntimeEvent(ReportRuntimeEventRequest request)

Report and process a runtime event.

Parameter
NameDescription
requestReportRuntimeEventRequest
Returns
TypeDescription
Operation

resetRuntime(ResetRuntimeRequest request)

public Operation resetRuntime(ResetRuntimeRequest request)

Resets a Managed Notebook Runtime.

Parameter
NameDescription
requestResetRuntimeRequest
Returns
TypeDescription
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
NameDescription
requestStartRuntimeRequest
Returns
TypeDescription
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
NameDescription
requestStopRuntimeRequest
Returns
TypeDescription
Operation

switchRuntime(SwitchRuntimeRequest request)

public Operation switchRuntime(SwitchRuntimeRequest request)

Switch a Managed Notebook Runtime.

Parameter
NameDescription
requestSwitchRuntimeRequest
Returns
TypeDescription
Operation

updateRuntime(UpdateRuntimeRequest request)

public Operation updateRuntime(UpdateRuntimeRequest request)

Update Notebook Runtime configuration.

Parameter
NameDescription
requestUpdateRuntimeRequest
Returns
TypeDescription
Operation

upgradeRuntime(UpgradeRuntimeRequest request)

public Operation upgradeRuntime(UpgradeRuntimeRequest request)

Upgrades a Managed Notebook Runtime to the latest version.

Parameter
NameDescription
requestUpgradeRuntimeRequest
Returns
TypeDescription
Operation