public class FlexTemplatesService.FlexTemplatesServiceClient : ClientBase<FlexTemplatesService.FlexTemplatesServiceClient>Reference documentation and code samples for the Dataflow v1beta3 API class FlexTemplatesService.FlexTemplatesServiceClient.
Client for FlexTemplatesService
Inheritance
object > ClientBase > ClientBaseFlexTemplatesServiceFlexTemplatesServiceClient > FlexTemplatesService.FlexTemplatesServiceClientNamespace
Google.Cloud.Dataflow.V1Beta3Assembly
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 | |
|---|---|
| Name | Description |
callInvoker |
CallInvokerThe callInvoker to use to make remote calls. |
FlexTemplatesServiceClient(ChannelBase)
public FlexTemplatesServiceClient(ChannelBase channel)Creates a new client for FlexTemplatesService
| Parameter | |
|---|---|
| Name | Description |
channel |
ChannelBaseThe channel to use to make remote calls. |
FlexTemplatesServiceClient(ClientBaseConfiguration)
protected FlexTemplatesServiceClient(ClientBase.ClientBaseConfiguration configuration)Protected constructor to allow creation of configured clients.
| Parameter | |
|---|---|
| Name | Description |
configuration |
ClientBaseClientBaseConfigurationThe client configuration. |
Methods
LaunchFlexTemplate(LaunchFlexTemplateRequest, CallOptions)
public virtual LaunchFlexTemplateResponse LaunchFlexTemplate(LaunchFlexTemplateRequest request, CallOptions options)Launch a job with a FlexTemplate.
| Parameters | |
|---|---|
| Name | Description |
request |
LaunchFlexTemplateRequestThe request to send to the server. |
options |
CallOptionsThe options for the call. |
| Returns | |
|---|---|
| Type | Description |
LaunchFlexTemplateResponse |
The response received from the server. |
LaunchFlexTemplate(LaunchFlexTemplateRequest, Metadata, DateTime?, CancellationToken)
public virtual LaunchFlexTemplateResponse LaunchFlexTemplate(LaunchFlexTemplateRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)Launch a job with a FlexTemplate.
| Parameters | |
|---|---|
| Name | Description |
request |
LaunchFlexTemplateRequestThe request to send to the server. |
headers |
MetadataThe initial metadata to send with the call. This parameter is optional. |
deadline |
System.DateTimeAn optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationTokenAn optional token for canceling the call. |
| Returns | |
|---|---|
| Type | Description |
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 | |
|---|---|
| Name | Description |
request |
LaunchFlexTemplateRequestThe request to send to the server. |
options |
CallOptionsThe options for the call. |
| Returns | |
|---|---|
| Type | Description |
AsyncUnaryCallLaunchFlexTemplateResponse |
The call object. |
LaunchFlexTemplateAsync(LaunchFlexTemplateRequest, Metadata, DateTime?, CancellationToken)
public virtual AsyncUnaryCall<LaunchFlexTemplateResponse> LaunchFlexTemplateAsync(LaunchFlexTemplateRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)Launch a job with a FlexTemplate.
| Parameters | |
|---|---|
| Name | Description |
request |
LaunchFlexTemplateRequestThe request to send to the server. |
headers |
MetadataThe initial metadata to send with the call. This parameter is optional. |
deadline |
System.DateTimeAn optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationTokenAn optional token for canceling the call. |
| Returns | |
|---|---|
| Type | Description |
AsyncUnaryCallLaunchFlexTemplateResponse |
The call object. |
NewInstance(ClientBaseConfiguration)
protected override FlexTemplatesService.FlexTemplatesServiceClient NewInstance(ClientBase.ClientBaseConfiguration configuration)Creates a new instance of client from given ClientBaseConfiguration.
| Parameter | |
|---|---|
| Name | Description |
configuration |
ClientBaseClientBaseConfiguration |
| Returns | |
|---|---|
| Type | Description |
FlexTemplatesServiceFlexTemplatesServiceClient |
|