Class FlexTemplatesService.FlexTemplatesServiceClient (1.0.0-beta03)

public class FlexTemplatesServiceClient : ClientBase<FlexTemplatesService.FlexTemplatesServiceClient>

Client for FlexTemplatesService

Inheritance

Object > ClientBase > ClientBase<FlexTemplatesService.FlexTemplatesServiceClient> > FlexTemplatesService.FlexTemplatesServiceClient

Namespace

Google.Cloud.Dataflow.V1Beta3

Assembly

Google.Cloud.Dataflow.V1Beta3.dll

Constructors

FlexTemplatesServiceClient()

protected FlexTemplatesServiceClient()

Protected parameterless constructor to allow creation of test doubles.

FlexTemplatesServiceClient(CallInvoker)

public FlexTemplatesServiceClient(CallInvoker callInvoker)

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

Parameter
NameDescription
callInvokerCallInvoker

The callInvoker to use to make remote calls.

FlexTemplatesServiceClient(ChannelBase)

public FlexTemplatesServiceClient(ChannelBase channel)

Creates a new client for FlexTemplatesService

Parameter
NameDescription
channelChannelBase

The channel to use to make remote calls.

FlexTemplatesServiceClient(ClientBase.ClientBaseConfiguration)

protected FlexTemplatesServiceClient(ClientBase.ClientBaseConfiguration configuration)

Protected constructor to allow creation of configured clients.

Parameter
NameDescription
configurationClientBase.ClientBaseConfiguration

The client configuration.

Methods

LaunchFlexTemplate(LaunchFlexTemplateRequest, CallOptions)

public virtual LaunchFlexTemplateResponse LaunchFlexTemplate(LaunchFlexTemplateRequest request, CallOptions options)

Launch a job with a FlexTemplate.

Parameters
NameDescription
requestLaunchFlexTemplateRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
LaunchFlexTemplateResponse

The response received from the server.

LaunchFlexTemplate(LaunchFlexTemplateRequest, Metadata, Nullable<DateTime>, CancellationToken)

public virtual LaunchFlexTemplateResponse LaunchFlexTemplate(LaunchFlexTemplateRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))

Launch a job with a FlexTemplate.

Parameters
NameDescription
requestLaunchFlexTemplateRequest

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
LaunchFlexTemplateResponse

The response received from the server.

LaunchFlexTemplateAsync(LaunchFlexTemplateRequest, CallOptions)

public virtual AsyncUnaryCall<LaunchFlexTemplateResponse> LaunchFlexTemplateAsync(LaunchFlexTemplateRequest request, CallOptions options)

Launch a job with a FlexTemplate.

Parameters
NameDescription
requestLaunchFlexTemplateRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCall<LaunchFlexTemplateResponse>

The call object.

LaunchFlexTemplateAsync(LaunchFlexTemplateRequest, Metadata, Nullable<DateTime>, CancellationToken)

public virtual AsyncUnaryCall<LaunchFlexTemplateResponse> LaunchFlexTemplateAsync(LaunchFlexTemplateRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))

Launch a job with a FlexTemplate.

Parameters
NameDescription
requestLaunchFlexTemplateRequest

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<LaunchFlexTemplateResponse>

The call object.

NewInstance(ClientBase.ClientBaseConfiguration)

protected override FlexTemplatesService.FlexTemplatesServiceClient NewInstance(ClientBase.ClientBaseConfiguration configuration)

Creates a new instance of client from given ClientBaseConfiguration.

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