Google Cloud Dataproc v1 API - Class SessionController.SessionControllerBase (5.10.0)

[BindServiceMethod(typeof(SessionController), "BindService")]
public abstract class SessionController.SessionControllerBase

Reference documentation and code samples for the Google Cloud Dataproc v1 API class SessionController.SessionControllerBase.

Base class for server-side implementations of SessionController

Inheritance

object > SessionController.SessionControllerBase

Namespace

Google.Cloud.Dataproc.V1

Assembly

Google.Cloud.Dataproc.V1.dll

Methods

CreateSession(CreateSessionRequest, ServerCallContext)

public virtual Task<Operation> CreateSession(CreateSessionRequest request, ServerCallContext context)

Create an interactive session asynchronously.

Parameters
NameDescription
requestCreateSessionRequest

The request received from the client.

contextServerCallContext

The context of the server-side call handler being invoked.

Returns
TypeDescription
TaskOperation

The response to send back to the client (wrapped by a task).

DeleteSession(DeleteSessionRequest, ServerCallContext)

public virtual Task<Operation> DeleteSession(DeleteSessionRequest request, ServerCallContext context)

Deletes the interactive session resource. If the session is not in terminal state, it is terminated, and then deleted.

Parameters
NameDescription
requestDeleteSessionRequest

The request received from the client.

contextServerCallContext

The context of the server-side call handler being invoked.

Returns
TypeDescription
TaskOperation

The response to send back to the client (wrapped by a task).

GetSession(GetSessionRequest, ServerCallContext)

public virtual Task<Session> GetSession(GetSessionRequest request, ServerCallContext context)

Gets the resource representation for an interactive session.

Parameters
NameDescription
requestGetSessionRequest

The request received from the client.

contextServerCallContext

The context of the server-side call handler being invoked.

Returns
TypeDescription
TaskSession

The response to send back to the client (wrapped by a task).

ListSessions(ListSessionsRequest, ServerCallContext)

public virtual Task<ListSessionsResponse> ListSessions(ListSessionsRequest request, ServerCallContext context)

Lists interactive sessions.

Parameters
NameDescription
requestListSessionsRequest

The request received from the client.

contextServerCallContext

The context of the server-side call handler being invoked.

Returns
TypeDescription
TaskListSessionsResponse

The response to send back to the client (wrapped by a task).

TerminateSession(TerminateSessionRequest, ServerCallContext)

public virtual Task<Operation> TerminateSession(TerminateSessionRequest request, ServerCallContext context)

Terminates the interactive session.

Parameters
NameDescription
requestTerminateSessionRequest

The request received from the client.

contextServerCallContext

The context of the server-side call handler being invoked.

Returns
TypeDescription
TaskOperation

The response to send back to the client (wrapped by a task).