Transcoder v1 API - Class TranscoderService.TranscoderServiceBase (2.8.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
Name Description
request CreateJobRequest

The request received from the client.

context ServerCallContext

The 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 CreateJobTemplateRequest

The request received from the client.

context ServerCallContext

The 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 DeleteJobRequest

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

DeleteJobTemplate(DeleteJobTemplateRequest, ServerCallContext)

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

Deletes a job template.

Parameters
Name Description
request DeleteJobTemplateRequest

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

GetJob(GetJobRequest, ServerCallContext)

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

Returns the job data.

Parameters
Name Description
request GetJobRequest

The request received from the client.

context ServerCallContext

The 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 GetJobTemplateRequest

The request received from the client.

context ServerCallContext

The 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 ListJobTemplatesRequest

The request received from the client.

context ServerCallContext

The 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 ListJobsRequest

The request received from the client.

context ServerCallContext

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