# Dataflow v1beta3 API - Class TemplatesService.TemplatesServiceBase (2.0.0-beta10)

2.0.0-beta10 (latest) 2.0.0-beta09 1.0.0-beta03

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

Reference documentation and code samples for the Dataflow v1beta3 API class TemplatesService.TemplatesServiceBase.

Base class for server-side implementations of TemplatesService

## Inheritance

[object](https://learn.microsoft.com/dotnet/api/system.object) \> TemplatesService.TemplatesServiceBase

## Inherited Members

[object.GetHashCode()](https://learn.microsoft.com/dotnet/api/system.object.gethashcode) [object.GetType()](https://learn.microsoft.com/dotnet/api/system.object.gettype) [object.MemberwiseClone()](https://learn.microsoft.com/dotnet/api/system.object.memberwiseclone) [object.ToString()](https://learn.microsoft.com/dotnet/api/system.object.tostring)

## Namespace

[Google.Cloud.Dataflow.V1Beta3](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dataflow.V1Beta3/latest/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. Do not enter confidential
information when you supply string values using the API.

To create a job, we recommend using `projects.locations.templates.create`
with a [regional endpoint](https://cloud.google.com/dataflow/docs/concepts/regional-endpoints). Using
`projects.templates.create` is not recommended, because your job will
always start in `us-central1`.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dataflow.V1Beta3/latest/Google.Cloud.Dataflow.V1Beta3.CreateJobFromTemplateRequest` The request received from the client. |
| `context` | `https://cloud.google.com/dotnet/docs/reference/Grpc.Core/latest/Grpc.Core.ServerCallContext.html` The context of the server-side call handler being invoked. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dataflow.V1Beta3/latest/Google.Cloud.Dataflow.V1Beta3.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.

To get the template, we recommend using `projects.locations.templates.get`
with a [regional endpoint](https://cloud.google.com/dataflow/docs/concepts/regional-endpoints). Using
`projects.templates.get` is not recommended, because only
templates that are running in `us-central1` are retrieved.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dataflow.V1Beta3/latest/Google.Cloud.Dataflow.V1Beta3.GetTemplateRequest` The request received from the client. |
| `context` | `https://cloud.google.com/dotnet/docs/reference/Grpc.Core/latest/Grpc.Core.ServerCallContext.html` The context of the server-side call handler being invoked. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dataflow.V1Beta3/latest/Google.Cloud.Dataflow.V1Beta3.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)

Launches a template.

To launch a template, we recommend using
`projects.locations.templates.launch` with a [regional endpoint](https://cloud.google.com/dataflow/docs/concepts/regional-endpoints). Using
`projects.templates.launch` is not recommended, because jobs launched
from the template will always start in `us-central1`.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dataflow.V1Beta3/latest/Google.Cloud.Dataflow.V1Beta3.LaunchTemplateRequest` The request received from the client. |
| `context` | `https://cloud.google.com/dotnet/docs/reference/Grpc.Core/latest/Grpc.Core.ServerCallContext.html` The context of the server-side call handler being invoked. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dataflow.V1Beta3/latest/Google.Cloud.Dataflow.V1Beta3.LaunchTemplateResponse` | The response to send back to the client (wrapped by a task). |