[BindServiceMethod(typeof(NotebookService), "BindService")]
public abstract class NotebookService.NotebookServiceBaseReference documentation and code samples for the Notebooks v2 API class NotebookService.NotebookServiceBase.
Base class for server-side implementations of NotebookService
Namespace
Google.Cloud.Notebooks.V2Assembly
Google.Cloud.Notebooks.V2.dll
Methods
CheckInstanceUpgradability(CheckInstanceUpgradabilityRequest, ServerCallContext)
public virtual Task<CheckInstanceUpgradabilityResponse> CheckInstanceUpgradability(CheckInstanceUpgradabilityRequest request, ServerCallContext context)Checks whether a notebook instance is upgradable.
| Parameters | |
|---|---|
| Name | Description |
request |
CheckInstanceUpgradabilityRequestThe request received from the client. |
context |
ServerCallContextThe context of the server-side call handler being invoked. |
| Returns | |
|---|---|
| Type | Description |
TaskCheckInstanceUpgradabilityResponse |
The response to send back to the client (wrapped by a task). |
CreateInstance(CreateInstanceRequest, ServerCallContext)
public virtual Task<Operation> CreateInstance(CreateInstanceRequest request, ServerCallContext context)Creates a new Instance in a given project and location.
| Parameters | |
|---|---|
| Name | Description |
request |
CreateInstanceRequestThe request received from the client. |
context |
ServerCallContextThe context of the server-side call handler being invoked. |
| Returns | |
|---|---|
| Type | Description |
TaskOperation |
The response to send back to the client (wrapped by a task). |
DeleteInstance(DeleteInstanceRequest, ServerCallContext)
public virtual Task<Operation> DeleteInstance(DeleteInstanceRequest request, ServerCallContext context)Deletes a single Instance.
| Parameters | |
|---|---|
| Name | Description |
request |
DeleteInstanceRequestThe request received from the client. |
context |
ServerCallContextThe context of the server-side call handler being invoked. |
| Returns | |
|---|---|
| Type | Description |
TaskOperation |
The response to send back to the client (wrapped by a task). |
DiagnoseInstance(DiagnoseInstanceRequest, ServerCallContext)
public virtual Task<Operation> DiagnoseInstance(DiagnoseInstanceRequest request, ServerCallContext context)Creates a Diagnostic File and runs Diagnostic Tool given an Instance.
| Parameters | |
|---|---|
| Name | Description |
request |
DiagnoseInstanceRequestThe request received from the client. |
context |
ServerCallContextThe context of the server-side call handler being invoked. |
| Returns | |
|---|---|
| Type | Description |
TaskOperation |
The response to send back to the client (wrapped by a task). |
GetInstance(GetInstanceRequest, ServerCallContext)
public virtual Task<Instance> GetInstance(GetInstanceRequest request, ServerCallContext context)Gets details of a single Instance.
| Parameters | |
|---|---|
| Name | Description |
request |
GetInstanceRequestThe request received from the client. |
context |
ServerCallContextThe context of the server-side call handler being invoked. |
| Returns | |
|---|---|
| Type | Description |
TaskInstance |
The response to send back to the client (wrapped by a task). |
ListInstances(ListInstancesRequest, ServerCallContext)
public virtual Task<ListInstancesResponse> ListInstances(ListInstancesRequest request, ServerCallContext context)Lists instances in a given project and location.
| Parameters | |
|---|---|
| Name | Description |
request |
ListInstancesRequestThe request received from the client. |
context |
ServerCallContextThe context of the server-side call handler being invoked. |
| Returns | |
|---|---|
| Type | Description |
TaskListInstancesResponse |
The response to send back to the client (wrapped by a task). |
ResetInstance(ResetInstanceRequest, ServerCallContext)
public virtual Task<Operation> ResetInstance(ResetInstanceRequest request, ServerCallContext context)Resets a notebook instance.
| Parameters | |
|---|---|
| Name | Description |
request |
ResetInstanceRequestThe request received from the client. |
context |
ServerCallContextThe context of the server-side call handler being invoked. |
| Returns | |
|---|---|
| Type | Description |
TaskOperation |
The response to send back to the client (wrapped by a task). |
RollbackInstance(RollbackInstanceRequest, ServerCallContext)
public virtual Task<Operation> RollbackInstance(RollbackInstanceRequest request, ServerCallContext context)Rollbacks a notebook instance to the previous version.
| Parameters | |
|---|---|
| Name | Description |
request |
RollbackInstanceRequestThe request received from the client. |
context |
ServerCallContextThe context of the server-side call handler being invoked. |
| Returns | |
|---|---|
| Type | Description |
TaskOperation |
The response to send back to the client (wrapped by a task). |
StartInstance(StartInstanceRequest, ServerCallContext)
public virtual Task<Operation> StartInstance(StartInstanceRequest request, ServerCallContext context)Starts a notebook instance.
| Parameters | |
|---|---|
| Name | Description |
request |
StartInstanceRequestThe request received from the client. |
context |
ServerCallContextThe context of the server-side call handler being invoked. |
| Returns | |
|---|---|
| Type | Description |
TaskOperation |
The response to send back to the client (wrapped by a task). |
StopInstance(StopInstanceRequest, ServerCallContext)
public virtual Task<Operation> StopInstance(StopInstanceRequest request, ServerCallContext context)Stops a notebook instance.
| Parameters | |
|---|---|
| Name | Description |
request |
StopInstanceRequestThe request received from the client. |
context |
ServerCallContextThe context of the server-side call handler being invoked. |
| Returns | |
|---|---|
| Type | Description |
TaskOperation |
The response to send back to the client (wrapped by a task). |
UpdateInstance(UpdateInstanceRequest, ServerCallContext)
public virtual Task<Operation> UpdateInstance(UpdateInstanceRequest request, ServerCallContext context)UpdateInstance updates an Instance.
| Parameters | |
|---|---|
| Name | Description |
request |
UpdateInstanceRequestThe request received from the client. |
context |
ServerCallContextThe context of the server-side call handler being invoked. |
| Returns | |
|---|---|
| Type | Description |
TaskOperation |
The response to send back to the client (wrapped by a task). |
UpgradeInstance(UpgradeInstanceRequest, ServerCallContext)
public virtual Task<Operation> UpgradeInstance(UpgradeInstanceRequest request, ServerCallContext context)Upgrades a notebook instance to the latest version.
| Parameters | |
|---|---|
| Name | Description |
request |
UpgradeInstanceRequestThe request received from the client. |
context |
ServerCallContextThe context of the server-side call handler being invoked. |
| Returns | |
|---|---|
| Type | Description |
TaskOperation |
The response to send back to the client (wrapped by a task). |