public class BatchService.BatchServiceClient : ClientBase<BatchService.BatchServiceClient>
Reference documentation and code samples for the Batch v1alpha API class BatchService.BatchServiceClient.
Client for BatchService
Inheritance
object > ClientBase > ClientBaseBatchServiceBatchServiceClient > BatchService.BatchServiceClientNamespace
Google.Cloud.Batch.V1AlphaAssembly
Google.Cloud.Batch.V1Alpha.dll
Constructors
BatchServiceClient()
protected BatchServiceClient()
Protected parameterless constructor to allow creation of test doubles.
BatchServiceClient(CallInvoker)
public BatchServiceClient(CallInvoker callInvoker)
Creates a new client for BatchService that uses a custom CallInvoker
.
Parameter | |
---|---|
Name | Description |
callInvoker |
CallInvoker The callInvoker to use to make remote calls. |
BatchServiceClient(ChannelBase)
public BatchServiceClient(ChannelBase channel)
Creates a new client for BatchService
Parameter | |
---|---|
Name | Description |
channel |
ChannelBase The channel to use to make remote calls. |
BatchServiceClient(ClientBaseConfiguration)
protected BatchServiceClient(ClientBase.ClientBaseConfiguration configuration)
Protected constructor to allow creation of configured clients.
Parameter | |
---|---|
Name | Description |
configuration |
ClientBaseClientBaseConfiguration The client configuration. |
Methods
CreateJob(CreateJobRequest, CallOptions)
public virtual Job CreateJob(CreateJobRequest request, CallOptions options)
Create a Job.
Parameters | |
---|---|
Name | Description |
request |
CreateJobRequest The request to send to the server. |
options |
CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
Job |
The response received from the server. |
CreateJob(CreateJobRequest, Metadata, DateTime?, CancellationToken)
public virtual Job CreateJob(CreateJobRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Create a Job.
Parameters | |
---|---|
Name | Description |
request |
CreateJobRequest The request to send to the server. |
headers |
Metadata The initial metadata to send with the call. This parameter is optional. |
deadline |
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. |
CreateJobAsync(CreateJobRequest, CallOptions)
public virtual AsyncUnaryCall<Job> CreateJobAsync(CreateJobRequest request, CallOptions options)
Create a Job.
Parameters | |
---|---|
Name | Description |
request |
CreateJobRequest The request to send to the server. |
options |
CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCallJob |
The call object. |
CreateJobAsync(CreateJobRequest, Metadata, DateTime?, CancellationToken)
public virtual AsyncUnaryCall<Job> CreateJobAsync(CreateJobRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Create a Job.
Parameters | |
---|---|
Name | Description |
request |
CreateJobRequest The request to send to the server. |
headers |
Metadata The initial metadata to send with the call. This parameter is optional. |
deadline |
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 |
AsyncUnaryCallJob |
The call object. |
CreateLocationsClient()
public virtual Locations.LocationsClient CreateLocationsClient()
Creates a new instance of Locations.LocationsClient using the same call invoker as this client.
Returns | |
---|---|
Type | Description |
LocationsLocationsClient |
A new Locations.LocationsClient for the same target as this client. |
CreateOperationsClient()
public virtual Operations.OperationsClient CreateOperationsClient()
Creates a new instance of Operations.OperationsClient using the same call invoker as this client.
Returns | |
---|---|
Type | Description |
OperationsOperationsClient |
A new Operations client for the same target as this client. |
CreateResourceAllowance(CreateResourceAllowanceRequest, CallOptions)
public virtual ResourceAllowance CreateResourceAllowance(CreateResourceAllowanceRequest request, CallOptions options)
Create a Resource Allowance.
Parameters | |
---|---|
Name | Description |
request |
CreateResourceAllowanceRequest The request to send to the server. |
options |
CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
ResourceAllowance |
The response received from the server. |
CreateResourceAllowance(CreateResourceAllowanceRequest, Metadata, DateTime?, CancellationToken)
public virtual ResourceAllowance CreateResourceAllowance(CreateResourceAllowanceRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Create a Resource Allowance.
Parameters | |
---|---|
Name | Description |
request |
CreateResourceAllowanceRequest The request to send to the server. |
headers |
Metadata The initial metadata to send with the call. This parameter is optional. |
deadline |
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 |
ResourceAllowance |
The response received from the server. |
CreateResourceAllowanceAsync(CreateResourceAllowanceRequest, CallOptions)
public virtual AsyncUnaryCall<ResourceAllowance> CreateResourceAllowanceAsync(CreateResourceAllowanceRequest request, CallOptions options)
Create a Resource Allowance.
Parameters | |
---|---|
Name | Description |
request |
CreateResourceAllowanceRequest The request to send to the server. |
options |
CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCallResourceAllowance |
The call object. |
CreateResourceAllowanceAsync(CreateResourceAllowanceRequest, Metadata, DateTime?, CancellationToken)
public virtual AsyncUnaryCall<ResourceAllowance> CreateResourceAllowanceAsync(CreateResourceAllowanceRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Create a Resource Allowance.
Parameters | |
---|---|
Name | Description |
request |
CreateResourceAllowanceRequest The request to send to the server. |
headers |
Metadata The initial metadata to send with the call. This parameter is optional. |
deadline |
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 |
AsyncUnaryCallResourceAllowance |
The call object. |
DeleteJob(DeleteJobRequest, CallOptions)
public virtual Operation DeleteJob(DeleteJobRequest request, CallOptions options)
Delete a Job.
Parameters | |
---|---|
Name | Description |
request |
DeleteJobRequest The request to send to the server. |
options |
CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
Operation |
The response received from the server. |
DeleteJob(DeleteJobRequest, Metadata, DateTime?, CancellationToken)
public virtual Operation DeleteJob(DeleteJobRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Delete a Job.
Parameters | |
---|---|
Name | Description |
request |
DeleteJobRequest The request to send to the server. |
headers |
Metadata The initial metadata to send with the call. This parameter is optional. |
deadline |
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 |
Operation |
The response received from the server. |
DeleteJobAsync(DeleteJobRequest, CallOptions)
public virtual AsyncUnaryCall<Operation> DeleteJobAsync(DeleteJobRequest request, CallOptions options)
Delete a Job.
Parameters | |
---|---|
Name | Description |
request |
DeleteJobRequest The request to send to the server. |
options |
CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCallOperation |
The call object. |
DeleteJobAsync(DeleteJobRequest, Metadata, DateTime?, CancellationToken)
public virtual AsyncUnaryCall<Operation> DeleteJobAsync(DeleteJobRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Delete a Job.
Parameters | |
---|---|
Name | Description |
request |
DeleteJobRequest The request to send to the server. |
headers |
Metadata The initial metadata to send with the call. This parameter is optional. |
deadline |
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 |
AsyncUnaryCallOperation |
The call object. |
DeleteResourceAllowance(DeleteResourceAllowanceRequest, CallOptions)
public virtual Operation DeleteResourceAllowance(DeleteResourceAllowanceRequest request, CallOptions options)
Delete a ResourceAllowance.
Parameters | |
---|---|
Name | Description |
request |
DeleteResourceAllowanceRequest The request to send to the server. |
options |
CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
Operation |
The response received from the server. |
DeleteResourceAllowance(DeleteResourceAllowanceRequest, Metadata, DateTime?, CancellationToken)
public virtual Operation DeleteResourceAllowance(DeleteResourceAllowanceRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Delete a ResourceAllowance.
Parameters | |
---|---|
Name | Description |
request |
DeleteResourceAllowanceRequest The request to send to the server. |
headers |
Metadata The initial metadata to send with the call. This parameter is optional. |
deadline |
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 |
Operation |
The response received from the server. |
DeleteResourceAllowanceAsync(DeleteResourceAllowanceRequest, CallOptions)
public virtual AsyncUnaryCall<Operation> DeleteResourceAllowanceAsync(DeleteResourceAllowanceRequest request, CallOptions options)
Delete a ResourceAllowance.
Parameters | |
---|---|
Name | Description |
request |
DeleteResourceAllowanceRequest The request to send to the server. |
options |
CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCallOperation |
The call object. |
DeleteResourceAllowanceAsync(DeleteResourceAllowanceRequest, Metadata, DateTime?, CancellationToken)
public virtual AsyncUnaryCall<Operation> DeleteResourceAllowanceAsync(DeleteResourceAllowanceRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Delete a ResourceAllowance.
Parameters | |
---|---|
Name | Description |
request |
DeleteResourceAllowanceRequest The request to send to the server. |
headers |
Metadata The initial metadata to send with the call. This parameter is optional. |
deadline |
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 |
AsyncUnaryCallOperation |
The call object. |
GetJob(GetJobRequest, CallOptions)
public virtual Job GetJob(GetJobRequest request, CallOptions options)
Get a Job specified by its resource name.
Parameters | |
---|---|
Name | Description |
request |
GetJobRequest The request to send to the server. |
options |
CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
Job |
The response received from the server. |
GetJob(GetJobRequest, Metadata, DateTime?, CancellationToken)
public virtual Job GetJob(GetJobRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Get a Job specified by its resource name.
Parameters | |
---|---|
Name | Description |
request |
GetJobRequest The request to send to the server. |
headers |
Metadata The initial metadata to send with the call. This parameter is optional. |
deadline |
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. |
GetJobAsync(GetJobRequest, CallOptions)
public virtual AsyncUnaryCall<Job> GetJobAsync(GetJobRequest request, CallOptions options)
Get a Job specified by its resource name.
Parameters | |
---|---|
Name | Description |
request |
GetJobRequest The request to send to the server. |
options |
CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCallJob |
The call object. |
GetJobAsync(GetJobRequest, Metadata, DateTime?, CancellationToken)
public virtual AsyncUnaryCall<Job> GetJobAsync(GetJobRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Get a Job specified by its resource name.
Parameters | |
---|---|
Name | Description |
request |
GetJobRequest The request to send to the server. |
headers |
Metadata The initial metadata to send with the call. This parameter is optional. |
deadline |
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 |
AsyncUnaryCallJob |
The call object. |
GetResourceAllowance(GetResourceAllowanceRequest, CallOptions)
public virtual ResourceAllowance GetResourceAllowance(GetResourceAllowanceRequest request, CallOptions options)
Get a ResourceAllowance specified by its resource name.
Parameters | |
---|---|
Name | Description |
request |
GetResourceAllowanceRequest The request to send to the server. |
options |
CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
ResourceAllowance |
The response received from the server. |
GetResourceAllowance(GetResourceAllowanceRequest, Metadata, DateTime?, CancellationToken)
public virtual ResourceAllowance GetResourceAllowance(GetResourceAllowanceRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Get a ResourceAllowance specified by its resource name.
Parameters | |
---|---|
Name | Description |
request |
GetResourceAllowanceRequest The request to send to the server. |
headers |
Metadata The initial metadata to send with the call. This parameter is optional. |
deadline |
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 |
ResourceAllowance |
The response received from the server. |
GetResourceAllowanceAsync(GetResourceAllowanceRequest, CallOptions)
public virtual AsyncUnaryCall<ResourceAllowance> GetResourceAllowanceAsync(GetResourceAllowanceRequest request, CallOptions options)
Get a ResourceAllowance specified by its resource name.
Parameters | |
---|---|
Name | Description |
request |
GetResourceAllowanceRequest The request to send to the server. |
options |
CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCallResourceAllowance |
The call object. |
GetResourceAllowanceAsync(GetResourceAllowanceRequest, Metadata, DateTime?, CancellationToken)
public virtual AsyncUnaryCall<ResourceAllowance> GetResourceAllowanceAsync(GetResourceAllowanceRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Get a ResourceAllowance specified by its resource name.
Parameters | |
---|---|
Name | Description |
request |
GetResourceAllowanceRequest The request to send to the server. |
headers |
Metadata The initial metadata to send with the call. This parameter is optional. |
deadline |
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 |
AsyncUnaryCallResourceAllowance |
The call object. |
GetTask(GetTaskRequest, CallOptions)
public virtual Task GetTask(GetTaskRequest request, CallOptions options)
Return a single Task.
Parameters | |
---|---|
Name | Description |
request |
GetTaskRequest The request to send to the server. |
options |
CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
Task |
The response received from the server. |
GetTask(GetTaskRequest, Metadata, DateTime?, CancellationToken)
public virtual Task GetTask(GetTaskRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Return a single Task.
Parameters | |
---|---|
Name | Description |
request |
GetTaskRequest The request to send to the server. |
headers |
Metadata The initial metadata to send with the call. This parameter is optional. |
deadline |
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 |
Task |
The response received from the server. |
GetTaskAsync(GetTaskRequest, CallOptions)
public virtual AsyncUnaryCall<Task> GetTaskAsync(GetTaskRequest request, CallOptions options)
Return a single Task.
Parameters | |
---|---|
Name | Description |
request |
GetTaskRequest The request to send to the server. |
options |
CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCallTask |
The call object. |
GetTaskAsync(GetTaskRequest, Metadata, DateTime?, CancellationToken)
public virtual AsyncUnaryCall<Task> GetTaskAsync(GetTaskRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Return a single Task.
Parameters | |
---|---|
Name | Description |
request |
GetTaskRequest The request to send to the server. |
headers |
Metadata The initial metadata to send with the call. This parameter is optional. |
deadline |
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 |
AsyncUnaryCallTask |
The call object. |
ListJobs(ListJobsRequest, CallOptions)
public virtual ListJobsResponse ListJobs(ListJobsRequest request, CallOptions options)
List all Jobs for a project within a region.
Parameters | |
---|---|
Name | Description |
request |
ListJobsRequest The request to send to the server. |
options |
CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
ListJobsResponse |
The response received from the server. |
ListJobs(ListJobsRequest, Metadata, DateTime?, CancellationToken)
public virtual ListJobsResponse ListJobs(ListJobsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
List all Jobs for a project within a region.
Parameters | |
---|---|
Name | Description |
request |
ListJobsRequest The request to send to the server. |
headers |
Metadata The initial metadata to send with the call. This parameter is optional. |
deadline |
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 |
ListJobsResponse |
The response received from the server. |
ListJobsAsync(ListJobsRequest, CallOptions)
public virtual AsyncUnaryCall<ListJobsResponse> ListJobsAsync(ListJobsRequest request, CallOptions options)
List all Jobs for a project within a region.
Parameters | |
---|---|
Name | Description |
request |
ListJobsRequest The request to send to the server. |
options |
CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCallListJobsResponse |
The call object. |
ListJobsAsync(ListJobsRequest, Metadata, DateTime?, CancellationToken)
public virtual AsyncUnaryCall<ListJobsResponse> ListJobsAsync(ListJobsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
List all Jobs for a project within a region.
Parameters | |
---|---|
Name | Description |
request |
ListJobsRequest The request to send to the server. |
headers |
Metadata The initial metadata to send with the call. This parameter is optional. |
deadline |
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 |
AsyncUnaryCallListJobsResponse |
The call object. |
ListResourceAllowances(ListResourceAllowancesRequest, CallOptions)
public virtual ListResourceAllowancesResponse ListResourceAllowances(ListResourceAllowancesRequest request, CallOptions options)
List all ResourceAllowances for a project within a region.
Parameters | |
---|---|
Name | Description |
request |
ListResourceAllowancesRequest The request to send to the server. |
options |
CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
ListResourceAllowancesResponse |
The response received from the server. |
ListResourceAllowances(ListResourceAllowancesRequest, Metadata, DateTime?, CancellationToken)
public virtual ListResourceAllowancesResponse ListResourceAllowances(ListResourceAllowancesRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
List all ResourceAllowances for a project within a region.
Parameters | |
---|---|
Name | Description |
request |
ListResourceAllowancesRequest The request to send to the server. |
headers |
Metadata The initial metadata to send with the call. This parameter is optional. |
deadline |
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 |
ListResourceAllowancesResponse |
The response received from the server. |
ListResourceAllowancesAsync(ListResourceAllowancesRequest, CallOptions)
public virtual AsyncUnaryCall<ListResourceAllowancesResponse> ListResourceAllowancesAsync(ListResourceAllowancesRequest request, CallOptions options)
List all ResourceAllowances for a project within a region.
Parameters | |
---|---|
Name | Description |
request |
ListResourceAllowancesRequest The request to send to the server. |
options |
CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCallListResourceAllowancesResponse |
The call object. |
ListResourceAllowancesAsync(ListResourceAllowancesRequest, Metadata, DateTime?, CancellationToken)
public virtual AsyncUnaryCall<ListResourceAllowancesResponse> ListResourceAllowancesAsync(ListResourceAllowancesRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
List all ResourceAllowances for a project within a region.
Parameters | |
---|---|
Name | Description |
request |
ListResourceAllowancesRequest The request to send to the server. |
headers |
Metadata The initial metadata to send with the call. This parameter is optional. |
deadline |
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 |
AsyncUnaryCallListResourceAllowancesResponse |
The call object. |
ListTasks(ListTasksRequest, CallOptions)
public virtual ListTasksResponse ListTasks(ListTasksRequest request, CallOptions options)
List Tasks associated with a job.
Parameters | |
---|---|
Name | Description |
request |
ListTasksRequest The request to send to the server. |
options |
CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
ListTasksResponse |
The response received from the server. |
ListTasks(ListTasksRequest, Metadata, DateTime?, CancellationToken)
public virtual ListTasksResponse ListTasks(ListTasksRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
List Tasks associated with a job.
Parameters | |
---|---|
Name | Description |
request |
ListTasksRequest The request to send to the server. |
headers |
Metadata The initial metadata to send with the call. This parameter is optional. |
deadline |
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 |
ListTasksResponse |
The response received from the server. |
ListTasksAsync(ListTasksRequest, CallOptions)
public virtual AsyncUnaryCall<ListTasksResponse> ListTasksAsync(ListTasksRequest request, CallOptions options)
List Tasks associated with a job.
Parameters | |
---|---|
Name | Description |
request |
ListTasksRequest The request to send to the server. |
options |
CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCallListTasksResponse |
The call object. |
ListTasksAsync(ListTasksRequest, Metadata, DateTime?, CancellationToken)
public virtual AsyncUnaryCall<ListTasksResponse> ListTasksAsync(ListTasksRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
List Tasks associated with a job.
Parameters | |
---|---|
Name | Description |
request |
ListTasksRequest The request to send to the server. |
headers |
Metadata The initial metadata to send with the call. This parameter is optional. |
deadline |
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 |
AsyncUnaryCallListTasksResponse |
The call object. |
NewInstance(ClientBaseConfiguration)
protected override BatchService.BatchServiceClient NewInstance(ClientBase.ClientBaseConfiguration configuration)
Creates a new instance of client from given ClientBaseConfiguration
.
Parameter | |
---|---|
Name | Description |
configuration |
ClientBaseClientBaseConfiguration |
Returns | |
---|---|
Type | Description |
BatchServiceBatchServiceClient |
UpdateJob(UpdateJobRequest, CallOptions)
public virtual Job UpdateJob(UpdateJobRequest request, CallOptions options)
Update a Job.
Parameters | |
---|---|
Name | Description |
request |
UpdateJobRequest The request to send to the server. |
options |
CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
Job |
The response received from the server. |
UpdateJob(UpdateJobRequest, Metadata, DateTime?, CancellationToken)
public virtual Job UpdateJob(UpdateJobRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Update a Job.
Parameters | |
---|---|
Name | Description |
request |
UpdateJobRequest The request to send to the server. |
headers |
Metadata The initial metadata to send with the call. This parameter is optional. |
deadline |
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. |
UpdateJobAsync(UpdateJobRequest, CallOptions)
public virtual AsyncUnaryCall<Job> UpdateJobAsync(UpdateJobRequest request, CallOptions options)
Update a Job.
Parameters | |
---|---|
Name | Description |
request |
UpdateJobRequest The request to send to the server. |
options |
CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCallJob |
The call object. |
UpdateJobAsync(UpdateJobRequest, Metadata, DateTime?, CancellationToken)
public virtual AsyncUnaryCall<Job> UpdateJobAsync(UpdateJobRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Update a Job.
Parameters | |
---|---|
Name | Description |
request |
UpdateJobRequest The request to send to the server. |
headers |
Metadata The initial metadata to send with the call. This parameter is optional. |
deadline |
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 |
AsyncUnaryCallJob |
The call object. |
UpdateResourceAllowance(UpdateResourceAllowanceRequest, CallOptions)
public virtual ResourceAllowance UpdateResourceAllowance(UpdateResourceAllowanceRequest request, CallOptions options)
Update a Resource Allowance.
Parameters | |
---|---|
Name | Description |
request |
UpdateResourceAllowanceRequest The request to send to the server. |
options |
CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
ResourceAllowance |
The response received from the server. |
UpdateResourceAllowance(UpdateResourceAllowanceRequest, Metadata, DateTime?, CancellationToken)
public virtual ResourceAllowance UpdateResourceAllowance(UpdateResourceAllowanceRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Update a Resource Allowance.
Parameters | |
---|---|
Name | Description |
request |
UpdateResourceAllowanceRequest The request to send to the server. |
headers |
Metadata The initial metadata to send with the call. This parameter is optional. |
deadline |
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 |
ResourceAllowance |
The response received from the server. |
UpdateResourceAllowanceAsync(UpdateResourceAllowanceRequest, CallOptions)
public virtual AsyncUnaryCall<ResourceAllowance> UpdateResourceAllowanceAsync(UpdateResourceAllowanceRequest request, CallOptions options)
Update a Resource Allowance.
Parameters | |
---|---|
Name | Description |
request |
UpdateResourceAllowanceRequest The request to send to the server. |
options |
CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCallResourceAllowance |
The call object. |
UpdateResourceAllowanceAsync(UpdateResourceAllowanceRequest, Metadata, DateTime?, CancellationToken)
public virtual AsyncUnaryCall<ResourceAllowance> UpdateResourceAllowanceAsync(UpdateResourceAllowanceRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Update a Resource Allowance.
Parameters | |
---|---|
Name | Description |
request |
UpdateResourceAllowanceRequest The request to send to the server. |
headers |
Metadata The initial metadata to send with the call. This parameter is optional. |
deadline |
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 |
AsyncUnaryCallResourceAllowance |
The call object. |