[BindServiceMethod(typeof(ManagedNotebookService), "BindService")]
public abstract class ManagedNotebookServiceBaseBase class for server-side implementations of ManagedNotebookService
Namespace
Google.Cloud.Notebooks.V1Assembly
Google.Cloud.Notebooks.V1.dll
Methods
CreateRuntime(CreateRuntimeRequest, ServerCallContext)
public virtual Task<Operation> CreateRuntime(CreateRuntimeRequest request, ServerCallContext context)Creates a new Runtime in a given project and location.
| Parameters | |
|---|---|
| Name | Description | 
| request | CreateRuntimeRequestThe request received from the client. | 
| context | ServerCallContextThe context of the server-side call handler being invoked. | 
| Returns | |
|---|---|
| Type | Description | 
| Task<Operation> | The response to send back to the client (wrapped by a task). | 
DeleteRuntime(DeleteRuntimeRequest, ServerCallContext)
public virtual Task<Operation> DeleteRuntime(DeleteRuntimeRequest request, ServerCallContext context)Deletes a single Runtime.
| Parameters | |
|---|---|
| Name | Description | 
| request | DeleteRuntimeRequestThe request received from the client. | 
| context | ServerCallContextThe context of the server-side call handler being invoked. | 
| Returns | |
|---|---|
| Type | Description | 
| Task<Operation> | The response to send back to the client (wrapped by a task). | 
GetRuntime(GetRuntimeRequest, ServerCallContext)
public virtual Task<Runtime> GetRuntime(GetRuntimeRequest request, ServerCallContext context)Gets details of a single Runtime. The location must be a regional endpoint rather than zonal.
| Parameters | |
|---|---|
| Name | Description | 
| request | GetRuntimeRequestThe request received from the client. | 
| context | ServerCallContextThe context of the server-side call handler being invoked. | 
| Returns | |
|---|---|
| Type | Description | 
| Task<Runtime> | The response to send back to the client (wrapped by a task). | 
ListRuntimes(ListRuntimesRequest, ServerCallContext)
public virtual Task<ListRuntimesResponse> ListRuntimes(ListRuntimesRequest request, ServerCallContext context)Lists Runtimes in a given project and location.
| Parameters | |
|---|---|
| Name | Description | 
| request | ListRuntimesRequestThe request received from the client. | 
| context | ServerCallContextThe context of the server-side call handler being invoked. | 
| Returns | |
|---|---|
| Type | Description | 
| Task<ListRuntimesResponse> | The response to send back to the client (wrapped by a task). | 
RefreshRuntimeTokenInternal(RefreshRuntimeTokenInternalRequest, ServerCallContext)
public virtual Task<RefreshRuntimeTokenInternalResponse> RefreshRuntimeTokenInternal(RefreshRuntimeTokenInternalRequest request, ServerCallContext context)Gets an access token for the consumer service account that the customer attached to the runtime. Only accessible from the tenant instance.
| Parameters | |
|---|---|
| Name | Description | 
| request | RefreshRuntimeTokenInternalRequestThe request received from the client. | 
| context | ServerCallContextThe context of the server-side call handler being invoked. | 
| Returns | |
|---|---|
| Type | Description | 
| Task<RefreshRuntimeTokenInternalResponse> | The response to send back to the client (wrapped by a task). | 
ReportRuntimeEvent(ReportRuntimeEventRequest, ServerCallContext)
public virtual Task<Operation> ReportRuntimeEvent(ReportRuntimeEventRequest request, ServerCallContext context)Report and process a runtime event.
| Parameters | |
|---|---|
| Name | Description | 
| request | ReportRuntimeEventRequestThe request received from the client. | 
| context | ServerCallContextThe context of the server-side call handler being invoked. | 
| Returns | |
|---|---|
| Type | Description | 
| Task<Operation> | The response to send back to the client (wrapped by a task). | 
ResetRuntime(ResetRuntimeRequest, ServerCallContext)
public virtual Task<Operation> ResetRuntime(ResetRuntimeRequest request, ServerCallContext context)Resets a Managed Notebook Runtime.
| Parameters | |
|---|---|
| Name | Description | 
| request | ResetRuntimeRequestThe request received from the client. | 
| context | ServerCallContextThe context of the server-side call handler being invoked. | 
| Returns | |
|---|---|
| Type | Description | 
| Task<Operation> | The response to send back to the client (wrapped by a task). | 
StartRuntime(StartRuntimeRequest, ServerCallContext)
public virtual Task<Operation> StartRuntime(StartRuntimeRequest request, ServerCallContext context)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
| Parameters | |
|---|---|
| Name | Description | 
| request | StartRuntimeRequestThe request received from the client. | 
| context | ServerCallContextThe context of the server-side call handler being invoked. | 
| Returns | |
|---|---|
| Type | Description | 
| Task<Operation> | The response to send back to the client (wrapped by a task). | 
StopRuntime(StopRuntimeRequest, ServerCallContext)
public virtual Task<Operation> StopRuntime(StopRuntimeRequest request, ServerCallContext context)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
| Parameters | |
|---|---|
| Name | Description | 
| request | StopRuntimeRequestThe request received from the client. | 
| context | ServerCallContextThe context of the server-side call handler being invoked. | 
| Returns | |
|---|---|
| Type | Description | 
| Task<Operation> | The response to send back to the client (wrapped by a task). | 
SwitchRuntime(SwitchRuntimeRequest, ServerCallContext)
public virtual Task<Operation> SwitchRuntime(SwitchRuntimeRequest request, ServerCallContext context)Switch a Managed Notebook Runtime.
| Parameters | |
|---|---|
| Name | Description | 
| request | SwitchRuntimeRequestThe request received from the client. | 
| context | ServerCallContextThe context of the server-side call handler being invoked. | 
| Returns | |
|---|---|
| Type | Description | 
| Task<Operation> | The response to send back to the client (wrapped by a task). |