public class TemplatesServiceClient : ClientBase<TemplatesService.TemplatesServiceClient>
Client for TemplatesService
Inheritance
Object > ClientBase > ClientBase<TemplatesService.TemplatesServiceClient> > TemplatesService.TemplatesServiceClientNamespace
Google.Cloud.Dataflow.V1Beta3Assembly
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 | |
---|---|
Name | Description |
callInvoker | CallInvoker The callInvoker to use to make remote calls. |
TemplatesServiceClient(ChannelBase)
public TemplatesServiceClient(ChannelBase channel)
Creates a new client for TemplatesService
Parameter | |
---|---|
Name | Description |
channel | ChannelBase 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 | |
---|---|
Name | Description |
configuration | ClientBase.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 | |
---|---|
Name | Description |
request | CreateJobFromTemplateRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
request | CreateJobFromTemplateRequest The request to send to the server. |
headers | Metadata The initial metadata to send with the call. This parameter is optional. |
deadline | Nullable<DateTime> An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken | CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
request | CreateJobFromTemplateRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
request | CreateJobFromTemplateRequest The request to send to the server. |
headers | Metadata The initial metadata to send with the call. This parameter is optional. |
deadline | Nullable<DateTime> An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken | CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCall<Job> | The call object. |
GetTemplate(GetTemplateRequest, CallOptions)
public virtual GetTemplateResponse GetTemplate(GetTemplateRequest request, CallOptions options)
Get the template associated with a template.
Parameters | |
---|---|
Name | Description |
request | GetTemplateRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
request | GetTemplateRequest The request to send to the server. |
headers | Metadata The initial metadata to send with the call. This parameter is optional. |
deadline | Nullable<DateTime> An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken | CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
request | GetTemplateRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
request | GetTemplateRequest The request to send to the server. |
headers | Metadata The initial metadata to send with the call. This parameter is optional. |
deadline | Nullable<DateTime> An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken | CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCall<GetTemplateResponse> | The call object. |
LaunchTemplate(LaunchTemplateRequest, CallOptions)
public virtual LaunchTemplateResponse LaunchTemplate(LaunchTemplateRequest request, CallOptions options)
Launch a template.
Parameters | |
---|---|
Name | Description |
request | LaunchTemplateRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
request | LaunchTemplateRequest The request to send to the server. |
headers | Metadata The initial metadata to send with the call. This parameter is optional. |
deadline | Nullable<DateTime> An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken | CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
LaunchTemplateResponse | The response received from the server. |
LaunchTemplateAsync(LaunchTemplateRequest, CallOptions)
public virtual AsyncUnaryCall<LaunchTemplateResponse> LaunchTemplateAsync(LaunchTemplateRequest request, CallOptions options)
Launch a template.
Parameters | |
---|---|
Name | Description |
request | LaunchTemplateRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
request | LaunchTemplateRequest The request to send to the server. |
headers | Metadata The initial metadata to send with the call. This parameter is optional. |
deadline | Nullable<DateTime> An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken | CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
configuration | ClientBase.ClientBaseConfiguration |
Returns | |
---|---|
Type | Description |
TemplatesService.TemplatesServiceClient |