Transcoder v1 API - Class TranscoderService.TranscoderServiceBase (2.6.0)

[BindServiceMethod(typeof(TranscoderService), "BindService")]
public abstract class TranscoderService.TranscoderServiceBase

Reference documentation and code samples for the Transcoder v1 API class TranscoderService.TranscoderServiceBase.

Base class for server-side implementations of TranscoderService

Inheritance

object > TranscoderService.TranscoderServiceBase

Namespace

Google.Cloud.Video.Transcoder.V1

Assembly

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
NameDescription
requestCreateJobRequest

The request received from the client.

contextServerCallContext

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

Returns
TypeDescription
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
NameDescription
requestCreateJobTemplateRequest

The request received from the client.

contextServerCallContext

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

Returns
TypeDescription
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
NameDescription
requestDeleteJobRequest

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).

DeleteJobTemplate(DeleteJobTemplateRequest, ServerCallContext)

public virtual Task<Empty> DeleteJobTemplate(DeleteJobTemplateRequest request, ServerCallContext context)

Deletes a job template.

Parameters
NameDescription
requestDeleteJobTemplateRequest

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).

GetJob(GetJobRequest, ServerCallContext)

public virtual Task<Job> GetJob(GetJobRequest request, ServerCallContext context)

Returns the job data.

Parameters
NameDescription
requestGetJobRequest

The request received from the client.

contextServerCallContext

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

Returns
TypeDescription
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
NameDescription
requestGetJobTemplateRequest

The request received from the client.

contextServerCallContext

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

Returns
TypeDescription
TaskJobTemplate

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
NameDescription
requestListJobsRequest

The request received from the client.

contextServerCallContext

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

Returns
TypeDescription
TaskListJobsResponse

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
NameDescription
requestListJobTemplatesRequest

The request received from the client.

contextServerCallContext

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

Returns
TypeDescription
TaskListJobTemplatesResponse

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