Class ProjectsResource.JobsResource.WorkItemsResource
The "workItems" collection of methods.
Inherited Members
Namespace: Google.Apis.Dataflow.v1b3
Assembly: Google.Apis.Dataflow.v1b3.dll
Syntax
public class ProjectsResource.JobsResource.WorkItemsResource
Constructors
WorkItemsResource(IClientService)
Constructs a new resource.
Declaration
public WorkItemsResource(IClientService service)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service |
Methods
Lease(LeaseWorkItemRequest, string, string)
Leases a dataflow WorkItem to run.
Declaration
public virtual ProjectsResource.JobsResource.WorkItemsResource.LeaseRequest Lease(LeaseWorkItemRequest body, string projectId, string jobId)
Parameters
Type | Name | Description |
---|---|---|
LeaseWorkItemRequest | body | The body of the request. |
string | projectId | Identifies the project this worker belongs to. |
string | jobId | Identifies the workflow job this worker belongs to. |
Returns
Type | Description |
---|---|
ProjectsResource.JobsResource.WorkItemsResource.LeaseRequest |
ReportStatus(ReportWorkItemStatusRequest, string, string)
Reports the status of dataflow WorkItems leased by a worker.
Declaration
public virtual ProjectsResource.JobsResource.WorkItemsResource.ReportStatusRequest ReportStatus(ReportWorkItemStatusRequest body, string projectId, string jobId)
Parameters
Type | Name | Description |
---|---|---|
ReportWorkItemStatusRequest | body | The body of the request. |
string | projectId | The project which owns the WorkItem's job. |
string | jobId | The job which the WorkItem is part of. |
Returns
Type | Description |
---|---|
ProjectsResource.JobsResource.WorkItemsResource.ReportStatusRequest |