[BindServiceMethod(typeof(TranscoderService), "BindService")]
public abstract class TranscoderService.TranscoderServiceBaseReference documentation and code samples for the Transcoder v1 API class TranscoderService.TranscoderServiceBase.
Base class for server-side implementations of TranscoderService
Namespace
Google.Cloud.Video.Transcoder.V1Assembly
Google.Cloud.Video.Transcoder.V1.dll
Methods
CreateJob(CreateJobRequest, ServerCallContext)
public virtual Task<Job> CreateJob(CreateJobRequest request, ServerCallContext context)Creates a job in the specified region.
| Parameters | |
|---|---|
| Name | Description |
request |
CreateJobRequestThe request received from the client. |
context |
ServerCallContextThe context of the server-side call handler being invoked. |
| Returns | |
|---|---|
| Type | Description |
TaskJob |
The response to send back to the client (wrapped by a task). |
CreateJobTemplate(CreateJobTemplateRequest, ServerCallContext)
public virtual Task<JobTemplate> CreateJobTemplate(CreateJobTemplateRequest request, ServerCallContext context)Creates a job template in the specified region.
| Parameters | |
|---|---|
| Name | Description |
request |
CreateJobTemplateRequestThe request received from the client. |
context |
ServerCallContextThe context of the server-side call handler being invoked. |
| Returns | |
|---|---|
| Type | Description |
TaskJobTemplate |
The response to send back to the client (wrapped by a task). |
DeleteJob(DeleteJobRequest, ServerCallContext)
public virtual Task<Empty> DeleteJob(DeleteJobRequest request, ServerCallContext context)Deletes a job.
| Parameters | |
|---|---|
| Name | Description |
request |
DeleteJobRequestThe 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). |
DeleteJobTemplate(DeleteJobTemplateRequest, ServerCallContext)
public virtual Task<Empty> DeleteJobTemplate(DeleteJobTemplateRequest request, ServerCallContext context)Deletes a job template.
| Parameters | |
|---|---|
| Name | Description |
request |
DeleteJobTemplateRequestThe 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). |
GetJob(GetJobRequest, ServerCallContext)
public virtual Task<Job> GetJob(GetJobRequest request, ServerCallContext context)Returns the job data.
| Parameters | |
|---|---|
| Name | Description |
request |
GetJobRequestThe request received from the client. |
context |
ServerCallContextThe context of the server-side call handler being invoked. |
| Returns | |
|---|---|
| Type | Description |
TaskJob |
The response to send back to the client (wrapped by a task). |
GetJobTemplate(GetJobTemplateRequest, ServerCallContext)
public virtual Task<JobTemplate> GetJobTemplate(GetJobTemplateRequest request, ServerCallContext context)Returns the job template data.
| Parameters | |
|---|---|
| Name | Description |
request |
GetJobTemplateRequestThe request received from the client. |
context |
ServerCallContextThe context of the server-side call handler being invoked. |
| Returns | |
|---|---|
| Type | Description |
TaskJobTemplate |
The response to send back to the client (wrapped by a task). |
ListJobTemplates(ListJobTemplatesRequest, ServerCallContext)
public virtual Task<ListJobTemplatesResponse> ListJobTemplates(ListJobTemplatesRequest request, ServerCallContext context)Lists job templates in the specified region.
| Parameters | |
|---|---|
| Name | Description |
request |
ListJobTemplatesRequestThe request received from the client. |
context |
ServerCallContextThe context of the server-side call handler being invoked. |
| Returns | |
|---|---|
| Type | Description |
TaskListJobTemplatesResponse |
The response to send back to the client (wrapped by a task). |
ListJobs(ListJobsRequest, ServerCallContext)
public virtual Task<ListJobsResponse> ListJobs(ListJobsRequest request, ServerCallContext context)Lists jobs in the specified region.
| Parameters | |
|---|---|
| Name | Description |
request |
ListJobsRequestThe request received from the client. |
context |
ServerCallContextThe context of the server-side call handler being invoked. |
| Returns | |
|---|---|
| Type | Description |
TaskListJobsResponse |
The response to send back to the client (wrapped by a task). |