Class TemplatesService.TemplatesServiceClient (1.0.0-beta03)

public class TemplatesServiceClient : ClientBase<TemplatesService.TemplatesServiceClient>

Client for TemplatesService

Inheritance

Object > ClientBase > ClientBase<TemplatesService.TemplatesServiceClient> > TemplatesService.TemplatesServiceClient

Namespace

Google.Cloud.Dataflow.V1Beta3

Assembly

Google.Cloud.Dataflow.V1Beta3.dll

Constructors

TemplatesServiceClient()

protected TemplatesServiceClient()

Protected parameterless constructor to allow creation of test doubles.

TemplatesServiceClient(CallInvoker)

public TemplatesServiceClient(CallInvoker callInvoker)

Creates a new client for TemplatesService that uses a custom CallInvoker.

Parameter
NameDescription
callInvokerCallInvoker

The callInvoker to use to make remote calls.

TemplatesServiceClient(ChannelBase)

public TemplatesServiceClient(ChannelBase channel)

Creates a new client for TemplatesService

Parameter
NameDescription
channelChannelBase

The channel to use to make remote calls.

TemplatesServiceClient(ClientBase.ClientBaseConfiguration)

protected TemplatesServiceClient(ClientBase.ClientBaseConfiguration configuration)

Protected constructor to allow creation of configured clients.

Parameter
NameDescription
configurationClientBase.ClientBaseConfiguration

The client configuration.

Methods

CreateJobFromTemplate(CreateJobFromTemplateRequest, CallOptions)

public virtual Job CreateJobFromTemplate(CreateJobFromTemplateRequest request, CallOptions options)

Creates a Cloud Dataflow job from a template.

Parameters
NameDescription
requestCreateJobFromTemplateRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
Job

The response received from the server.

CreateJobFromTemplate(CreateJobFromTemplateRequest, Metadata, Nullable<DateTime>, CancellationToken)

public virtual Job CreateJobFromTemplate(CreateJobFromTemplateRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))

Creates a Cloud Dataflow job from a template.

Parameters
NameDescription
requestCreateJobFromTemplateRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineNullable<DateTime>

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
Job

The response received from the server.

CreateJobFromTemplateAsync(CreateJobFromTemplateRequest, CallOptions)

public virtual AsyncUnaryCall<Job> CreateJobFromTemplateAsync(CreateJobFromTemplateRequest request, CallOptions options)

Creates a Cloud Dataflow job from a template.

Parameters
NameDescription
requestCreateJobFromTemplateRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCall<Job>

The call object.

CreateJobFromTemplateAsync(CreateJobFromTemplateRequest, Metadata, Nullable<DateTime>, CancellationToken)

public virtual AsyncUnaryCall<Job> CreateJobFromTemplateAsync(CreateJobFromTemplateRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))

Creates a Cloud Dataflow job from a template.

Parameters
NameDescription
requestCreateJobFromTemplateRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineNullable<DateTime>

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
AsyncUnaryCall<Job>

The call object.

GetTemplate(GetTemplateRequest, CallOptions)

public virtual GetTemplateResponse GetTemplate(GetTemplateRequest request, CallOptions options)

Get the template associated with a template.

Parameters
NameDescription
requestGetTemplateRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
GetTemplateResponse

The response received from the server.

GetTemplate(GetTemplateRequest, Metadata, Nullable<DateTime>, CancellationToken)

public virtual GetTemplateResponse GetTemplate(GetTemplateRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))

Get the template associated with a template.

Parameters
NameDescription
requestGetTemplateRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineNullable<DateTime>

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
GetTemplateResponse

The response received from the server.

GetTemplateAsync(GetTemplateRequest, CallOptions)

public virtual AsyncUnaryCall<GetTemplateResponse> GetTemplateAsync(GetTemplateRequest request, CallOptions options)

Get the template associated with a template.

Parameters
NameDescription
requestGetTemplateRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCall<GetTemplateResponse>

The call object.

GetTemplateAsync(GetTemplateRequest, Metadata, Nullable<DateTime>, CancellationToken)

public virtual AsyncUnaryCall<GetTemplateResponse> GetTemplateAsync(GetTemplateRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))

Get the template associated with a template.

Parameters
NameDescription
requestGetTemplateRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineNullable<DateTime>

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
AsyncUnaryCall<GetTemplateResponse>

The call object.

LaunchTemplate(LaunchTemplateRequest, CallOptions)

public virtual LaunchTemplateResponse LaunchTemplate(LaunchTemplateRequest request, CallOptions options)

Launch a template.

Parameters
NameDescription
requestLaunchTemplateRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
LaunchTemplateResponse

The response received from the server.

LaunchTemplate(LaunchTemplateRequest, Metadata, Nullable<DateTime>, CancellationToken)

public virtual LaunchTemplateResponse LaunchTemplate(LaunchTemplateRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))

Launch a template.

Parameters
NameDescription
requestLaunchTemplateRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineNullable<DateTime>

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
LaunchTemplateResponse

The response received from the server.

LaunchTemplateAsync(LaunchTemplateRequest, CallOptions)

public virtual AsyncUnaryCall<LaunchTemplateResponse> LaunchTemplateAsync(LaunchTemplateRequest request, CallOptions options)

Launch a template.

Parameters
NameDescription
requestLaunchTemplateRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCall<LaunchTemplateResponse>

The call object.

LaunchTemplateAsync(LaunchTemplateRequest, Metadata, Nullable<DateTime>, CancellationToken)

public virtual AsyncUnaryCall<LaunchTemplateResponse> LaunchTemplateAsync(LaunchTemplateRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))

Launch a template.

Parameters
NameDescription
requestLaunchTemplateRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineNullable<DateTime>

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
AsyncUnaryCall<LaunchTemplateResponse>

The call object.

NewInstance(ClientBase.ClientBaseConfiguration)

protected override TemplatesService.TemplatesServiceClient NewInstance(ClientBase.ClientBaseConfiguration configuration)

Creates a new instance of client from given ClientBaseConfiguration.

Parameter
NameDescription
configurationClientBase.ClientBaseConfiguration
Returns
TypeDescription
TemplatesService.TemplatesServiceClient
Overrides
Grpc.Core.ClientBase<Google.Cloud.Dataflow.V1Beta3.TemplatesService.TemplatesServiceClient>.NewInstance(Grpc.Core.ClientBase.ClientBaseConfiguration)