Class TemplatesService.TemplatesServiceBase (1.0.0-beta03)

[BindServiceMethod(typeof(TemplatesService), "BindService")]
public abstract class TemplatesServiceBase

Base class for server-side implementations of TemplatesService

Inheritance

Object > TemplatesService.TemplatesServiceBase

Namespace

Google.Cloud.Dataflow.V1Beta3

Assembly

Google.Cloud.Dataflow.V1Beta3.dll

Methods

CreateJobFromTemplate(CreateJobFromTemplateRequest, ServerCallContext)

public virtual Task<Job> CreateJobFromTemplate(CreateJobFromTemplateRequest request, ServerCallContext context)

Creates a Cloud Dataflow job from a template.

Parameters
NameDescription
requestCreateJobFromTemplateRequest

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

GetTemplate(GetTemplateRequest, ServerCallContext)

public virtual Task<GetTemplateResponse> GetTemplate(GetTemplateRequest request, ServerCallContext context)

Get the template associated with a template.

Parameters
NameDescription
requestGetTemplateRequest

The request received from the client.

contextServerCallContext

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

Returns
TypeDescription
Task<GetTemplateResponse>

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

LaunchTemplate(LaunchTemplateRequest, ServerCallContext)

public virtual Task<LaunchTemplateResponse> LaunchTemplate(LaunchTemplateRequest request, ServerCallContext context)

Launch a template.

Parameters
NameDescription
requestLaunchTemplateRequest

The request received from the client.

contextServerCallContext

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

Returns
TypeDescription
Task<LaunchTemplateResponse>

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