Class TranscoderService.TranscoderServiceBase (1.0.0-beta04)

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

Base class for server-side implementations of TranscoderService

Inheritance

Object > TranscoderService.TranscoderServiceBase

Namespace

Google.Cloud.Video.Transcoder.V1Beta1

Assembly

Google.Cloud.Video.Transcoder.V1Beta1.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
Task<Job>

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
Task<JobTemplate>

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
Task<Empty>

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
Task<Empty>

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
Task<Job>

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
Task<JobTemplate>

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
Task<ListJobsResponse>

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
Task<ListJobTemplatesResponse>

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