Class NotebookServiceGrpc.NotebookServiceBlockingStub (1.51.0)

public static final class NotebookServiceGrpc.NotebookServiceBlockingStub extends AbstractBlockingStub<NotebookServiceGrpc.NotebookServiceBlockingStub>

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

API v2 service for Workbench Notebooks Instances.

Inheritance

java.lang.Object > io.grpc.stub.AbstractStub > io.grpc.stub.AbstractBlockingStub > NotebookServiceGrpc.NotebookServiceBlockingStub

Methods

build(Channel channel, CallOptions callOptions)

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

checkInstanceUpgradability(CheckInstanceUpgradabilityRequest request)

public CheckInstanceUpgradabilityResponse checkInstanceUpgradability(CheckInstanceUpgradabilityRequest request)

Checks whether a notebook instance is upgradable.

Parameter
Name Description
request CheckInstanceUpgradabilityRequest
Returns
Type Description
CheckInstanceUpgradabilityResponse

createInstance(CreateInstanceRequest request)

public Operation createInstance(CreateInstanceRequest request)

Creates a new Instance in a given project and location.

Parameter
Name Description
request CreateInstanceRequest
Returns
Type Description
Operation

deleteInstance(DeleteInstanceRequest request)

public Operation deleteInstance(DeleteInstanceRequest request)

Deletes a single Instance.

Parameter
Name Description
request DeleteInstanceRequest
Returns
Type Description
Operation

diagnoseInstance(DiagnoseInstanceRequest request)

public Operation diagnoseInstance(DiagnoseInstanceRequest request)

Creates a Diagnostic File and runs Diagnostic Tool given an Instance.

Parameter
Name Description
request DiagnoseInstanceRequest
Returns
Type Description
Operation

getInstance(GetInstanceRequest request)

public Instance getInstance(GetInstanceRequest request)

Gets details of a single Instance.

Parameter
Name Description
request GetInstanceRequest
Returns
Type Description
Instance

listInstances(ListInstancesRequest request)

public ListInstancesResponse listInstances(ListInstancesRequest request)

Lists instances in a given project and location.

Parameter
Name Description
request ListInstancesRequest
Returns
Type Description
ListInstancesResponse

resetInstance(ResetInstanceRequest request)

public Operation resetInstance(ResetInstanceRequest request)

Resets a notebook instance.

Parameter
Name Description
request ResetInstanceRequest
Returns
Type Description
Operation

rollbackInstance(RollbackInstanceRequest request)

public Operation rollbackInstance(RollbackInstanceRequest request)

Rollbacks a notebook instance to the previous version.

Parameter
Name Description
request RollbackInstanceRequest
Returns
Type Description
Operation

startInstance(StartInstanceRequest request)

public Operation startInstance(StartInstanceRequest request)

Starts a notebook instance.

Parameter
Name Description
request StartInstanceRequest
Returns
Type Description
Operation

stopInstance(StopInstanceRequest request)

public Operation stopInstance(StopInstanceRequest request)

Stops a notebook instance.

Parameter
Name Description
request StopInstanceRequest
Returns
Type Description
Operation

updateInstance(UpdateInstanceRequest request)

public Operation updateInstance(UpdateInstanceRequest request)

UpdateInstance updates an Instance.

Parameter
Name Description
request UpdateInstanceRequest
Returns
Type Description
Operation

upgradeInstance(UpgradeInstanceRequest request)

public Operation upgradeInstance(UpgradeInstanceRequest request)

Upgrades a notebook instance to the latest version.

Parameter
Name Description
request UpgradeInstanceRequest
Returns
Type Description
Operation