public sealed class TemplatesServiceClientImpl : TemplatesServiceClientReference documentation and code samples for the Dataflow v1beta3 API class TemplatesServiceClientImpl.
TemplatesService client wrapper implementation, for convenient use.
Namespace
Google.Cloud.Dataflow.V1Beta3Assembly
Google.Cloud.Dataflow.V1Beta3.dll
Remarks
Provides a method to create Cloud Dataflow jobs from templates.
Constructors
TemplatesServiceClientImpl(TemplatesServiceClient, TemplatesServiceSettings, ILogger)
public TemplatesServiceClientImpl(TemplatesService.TemplatesServiceClient grpcClient, TemplatesServiceSettings settings, ILogger logger)Constructs a client wrapper for the TemplatesService service, with the specified gRPC client and settings.
| Parameters | |
|---|---|
| Name | Description |
grpcClient |
TemplatesServiceTemplatesServiceClientThe underlying gRPC client. |
settings |
TemplatesServiceSettingsThe base TemplatesServiceSettings used within this client. |
logger |
ILoggerOptional ILogger to use within this client. |
Properties
GrpcClient
public override TemplatesService.TemplatesServiceClient GrpcClient { get; }The underlying gRPC TemplatesService client
| Property Value | |
|---|---|
| Type | Description |
TemplatesServiceTemplatesServiceClient |
|
Methods
CreateJobFromTemplate(CreateJobFromTemplateRequest, CallSettings)
public override Job CreateJobFromTemplate(CreateJobFromTemplateRequest request, CallSettings callSettings = null)Creates a Cloud Dataflow job from a template.
| Parameters | |
|---|---|
| Name | Description |
request |
CreateJobFromTemplateRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
Job |
The RPC response. |
CreateJobFromTemplateAsync(CreateJobFromTemplateRequest, CallSettings)
public override Task<Job> CreateJobFromTemplateAsync(CreateJobFromTemplateRequest request, CallSettings callSettings = null)Creates a Cloud Dataflow job from a template.
| Parameters | |
|---|---|
| Name | Description |
request |
CreateJobFromTemplateRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskJob |
A Task containing the RPC response. |
GetTemplate(GetTemplateRequest, CallSettings)
public override GetTemplateResponse GetTemplate(GetTemplateRequest request, CallSettings callSettings = null)Get the template associated with a template.
| Parameters | |
|---|---|
| Name | Description |
request |
GetTemplateRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
GetTemplateResponse |
The RPC response. |
GetTemplateAsync(GetTemplateRequest, CallSettings)
public override Task<GetTemplateResponse> GetTemplateAsync(GetTemplateRequest request, CallSettings callSettings = null)Get the template associated with a template.
| Parameters | |
|---|---|
| Name | Description |
request |
GetTemplateRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskGetTemplateResponse |
A Task containing the RPC response. |
LaunchTemplate(LaunchTemplateRequest, CallSettings)
public override LaunchTemplateResponse LaunchTemplate(LaunchTemplateRequest request, CallSettings callSettings = null)Launch a template.
| Parameters | |
|---|---|
| Name | Description |
request |
LaunchTemplateRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
LaunchTemplateResponse |
The RPC response. |
LaunchTemplateAsync(LaunchTemplateRequest, CallSettings)
public override Task<LaunchTemplateResponse> LaunchTemplateAsync(LaunchTemplateRequest request, CallSettings callSettings = null)Launch a template.
| Parameters | |
|---|---|
| Name | Description |
request |
LaunchTemplateRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskLaunchTemplateResponse |
A Task containing the RPC response. |