Class TemplatesServiceClientImpl (1.0.0-beta03)

public sealed class TemplatesServiceClientImpl : TemplatesServiceClient

TemplatesService client wrapper implementation, for convenient use.

Inheritance

Object > TemplatesServiceClient > TemplatesServiceClientImpl

Namespace

Google.Cloud.Dataflow.V1Beta3

Assembly

Google.Cloud.Dataflow.V1Beta3.dll

Remarks

Provides a method to create Cloud Dataflow jobs from templates.

Constructors

TemplatesServiceClientImpl(TemplatesService.TemplatesServiceClient, TemplatesServiceSettings)

public TemplatesServiceClientImpl(TemplatesService.TemplatesServiceClient grpcClient, TemplatesServiceSettings settings)

Constructs a client wrapper for the TemplatesService service, with the specified gRPC client and settings.

Parameters
NameDescription
grpcClientTemplatesService.TemplatesServiceClient

The underlying gRPC client.

settingsTemplatesServiceSettings

The base TemplatesServiceSettings used within this client.

Properties

GrpcClient

public override TemplatesService.TemplatesServiceClient GrpcClient { get; }

The underlying gRPC TemplatesService client

Property Value
TypeDescription
TemplatesService.TemplatesServiceClient
Overrides

Methods

CreateJobFromTemplate(CreateJobFromTemplateRequest, CallSettings)

public override Job CreateJobFromTemplate(CreateJobFromTemplateRequest request, CallSettings callSettings = null)

Creates a Cloud Dataflow job from a template.

Parameters
NameDescription
requestCreateJobFromTemplateRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Job

The RPC response.

Overrides

CreateJobFromTemplateAsync(CreateJobFromTemplateRequest, CallSettings)

public override Task<Job> CreateJobFromTemplateAsync(CreateJobFromTemplateRequest request, CallSettings callSettings = null)

Creates a Cloud Dataflow job from a template.

Parameters
NameDescription
requestCreateJobFromTemplateRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Task<Job>

A Task containing the RPC response.

Overrides

GetTemplate(GetTemplateRequest, CallSettings)

public override GetTemplateResponse GetTemplate(GetTemplateRequest request, CallSettings callSettings = null)

Get the template associated with a template.

Parameters
NameDescription
requestGetTemplateRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
GetTemplateResponse

The RPC response.

Overrides

GetTemplateAsync(GetTemplateRequest, CallSettings)

public override Task<GetTemplateResponse> GetTemplateAsync(GetTemplateRequest request, CallSettings callSettings = null)

Get the template associated with a template.

Parameters
NameDescription
requestGetTemplateRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Task<GetTemplateResponse>

A Task containing the RPC response.

Overrides

LaunchTemplate(LaunchTemplateRequest, CallSettings)

public override LaunchTemplateResponse LaunchTemplate(LaunchTemplateRequest request, CallSettings callSettings = null)

Launch a template.

Parameters
NameDescription
requestLaunchTemplateRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
LaunchTemplateResponse

The RPC response.

Overrides

LaunchTemplateAsync(LaunchTemplateRequest, CallSettings)

public override Task<LaunchTemplateResponse> LaunchTemplateAsync(LaunchTemplateRequest request, CallSettings callSettings = null)

Launch a template.

Parameters
NameDescription
requestLaunchTemplateRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Task<LaunchTemplateResponse>

A Task containing the RPC response.

Overrides