[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
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 | CreateSessionTemplateRequest The request received from the client. |
context | ServerCallContext The 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 | DeleteSessionTemplateRequest The request received from the client. |
context | ServerCallContext The 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 | GetSessionTemplateRequest The request received from the client. |
context | ServerCallContext The 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 | ListSessionTemplatesRequest The request received from the client. |
context | ServerCallContext The 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 | UpdateSessionTemplateRequest The request received from the client. |
context | ServerCallContext The 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). |