[BindServiceMethod(typeof(SessionTemplateController), "BindService")]
public abstract class SessionTemplateController.SessionTemplateControllerBaseReference documentation and code samples for the Google Cloud Dataproc v1 API class SessionTemplateController.SessionTemplateControllerBase.
Base class for server-side implementations of SessionTemplateController
Namespace
Google.Cloud.Dataproc.V1Assembly
Google.Cloud.Dataproc.V1.dll
Methods
CreateSessionTemplate(CreateSessionTemplateRequest, ServerCallContext)
public virtual Task<SessionTemplate> CreateSessionTemplate(CreateSessionTemplateRequest request, ServerCallContext context)Create a session template synchronously.
| Parameters | |
|---|---|
| Name | Description |
request |
CreateSessionTemplateRequestThe request received from the client. |
context |
ServerCallContextThe context of the server-side call handler being invoked. |
| Returns | |
|---|---|
| Type | Description |
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 | |
|---|---|
| Name | Description |
request |
DeleteSessionTemplateRequestThe request received from the client. |
context |
ServerCallContextThe context of the server-side call handler being invoked. |
| Returns | |
|---|---|
| Type | Description |
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 | |
|---|---|
| Name | Description |
request |
GetSessionTemplateRequestThe request received from the client. |
context |
ServerCallContextThe context of the server-side call handler being invoked. |
| Returns | |
|---|---|
| Type | Description |
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 | |
|---|---|
| Name | Description |
request |
ListSessionTemplatesRequestThe request received from the client. |
context |
ServerCallContextThe context of the server-side call handler being invoked. |
| Returns | |
|---|---|
| Type | Description |
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 | |
|---|---|
| Name | Description |
request |
UpdateSessionTemplateRequestThe request received from the client. |
context |
ServerCallContextThe context of the server-side call handler being invoked. |
| Returns | |
|---|---|
| Type | Description |
TaskSessionTemplate |
The response to send back to the client (wrapped by a task). |