[BindServiceMethod(typeof(TemplatesService), "BindService")]
public abstract class TemplatesService.TemplatesServiceBaseReference documentation and code samples for the Dataflow v1beta3 API class TemplatesService.TemplatesServiceBase.
Base class for server-side implementations of TemplatesService
Namespace
Google.Cloud.Dataflow.V1Beta3Assembly
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. Using
projects.templates.create is not recommended, because your job will
always start in us-central1.
| Parameters | |
|---|---|
| Name | Description |
request |
CreateJobFromTemplateRequestThe request received from the client. |
context |
ServerCallContextThe 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). |
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. Using
projects.templates.get is not recommended, because only
templates that are running in us-central1 are retrieved.
| Parameters | |
|---|---|
| Name | Description |
request |
GetTemplateRequestThe request received from the client. |
context |
ServerCallContextThe context of the server-side call handler being invoked. |
| Returns | |
|---|---|
| Type | Description |
TaskGetTemplateResponse |
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. Using
projects.templates.launch is not recommended, because jobs launched
from the template will always start in us-central1.
| Parameters | |
|---|---|
| Name | Description |
request |
LaunchTemplateRequestThe request received from the client. |
context |
ServerCallContextThe context of the server-side call handler being invoked. |
| Returns | |
|---|---|
| Type | Description |
TaskLaunchTemplateResponse |
The response to send back to the client (wrapped by a task). |