Google Cloud Dataproc v1 API - Class SessionTemplateController.SessionTemplateControllerBase (5.10.0)

[BindServiceMethod(typeof(SessionTemplateController), "BindService")]
public abstract class SessionTemplateController.SessionTemplateControllerBase

Reference documentation and code samples for the Google Cloud Dataproc v1 API class SessionTemplateController.SessionTemplateControllerBase.

Base class for server-side implementations of SessionTemplateController

Inheritance

object > SessionTemplateController.SessionTemplateControllerBase

Namespace

Google.Cloud.Dataproc.V1

Assembly

Google.Cloud.Dataproc.V1.dll

Methods

CreateSessionTemplate(CreateSessionTemplateRequest, ServerCallContext)

public virtual Task<SessionTemplate> CreateSessionTemplate(CreateSessionTemplateRequest request, ServerCallContext context)

Create a session template synchronously.

Parameters
NameDescription
requestCreateSessionTemplateRequest

The request received from the client.

contextServerCallContext

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

Returns
TypeDescription
TaskSessionTemplate

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

DeleteSessionTemplate(DeleteSessionTemplateRequest, ServerCallContext)

public virtual Task<Empty> DeleteSessionTemplate(DeleteSessionTemplateRequest request, ServerCallContext context)

Deletes a session template.

Parameters
NameDescription
requestDeleteSessionTemplateRequest

The request received from the client.

contextServerCallContext

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

Returns
TypeDescription
TaskEmpty

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

GetSessionTemplate(GetSessionTemplateRequest, ServerCallContext)

public virtual Task<SessionTemplate> GetSessionTemplate(GetSessionTemplateRequest request, ServerCallContext context)

Gets the resource representation for a session template.

Parameters
NameDescription
requestGetSessionTemplateRequest

The request received from the client.

contextServerCallContext

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

Returns
TypeDescription
TaskSessionTemplate

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

ListSessionTemplates(ListSessionTemplatesRequest, ServerCallContext)

public virtual Task<ListSessionTemplatesResponse> ListSessionTemplates(ListSessionTemplatesRequest request, ServerCallContext context)

Lists session templates.

Parameters
NameDescription
requestListSessionTemplatesRequest

The request received from the client.

contextServerCallContext

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

Returns
TypeDescription
TaskListSessionTemplatesResponse

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

UpdateSessionTemplate(UpdateSessionTemplateRequest, ServerCallContext)

public virtual Task<SessionTemplate> UpdateSessionTemplate(UpdateSessionTemplateRequest request, ServerCallContext context)

Updates the session template synchronously.

Parameters
NameDescription
requestUpdateSessionTemplateRequest

The request received from the client.

contextServerCallContext

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

Returns
TypeDescription
TaskSessionTemplate

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