public class Dataflow.Projects.Jobs.WorkItems
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
class |
Dataflow.Projects.Jobs.WorkItems.Lease |
class |
Dataflow.Projects.Jobs.WorkItems.ReportStatus |
Constructor and Description |
---|
WorkItems() |
Modifier and Type | Method and Description |
---|---|
Dataflow.Projects.Jobs.WorkItems.Lease |
lease(java.lang.String projectId,
java.lang.String jobId,
LeaseWorkItemRequest content)
Leases a dataflow WorkItem to run.
|
Dataflow.Projects.Jobs.WorkItems.ReportStatus |
reportStatus(java.lang.String projectId,
java.lang.String jobId,
ReportWorkItemStatusRequest content)
Reports the status of dataflow WorkItems leased by a worker.
|
public Dataflow.Projects.Jobs.WorkItems.Lease lease(java.lang.String projectId, java.lang.String jobId, LeaseWorkItemRequest content) throws java.io.IOException
AbstractGoogleClientRequest.execute()
method to invoke the remote operation.projectId
- Identifies the project this worker belongs to.jobId
- Identifies the workflow job this worker belongs to.content
- the LeaseWorkItemRequest
java.io.IOException
public Dataflow.Projects.Jobs.WorkItems.ReportStatus reportStatus(java.lang.String projectId, java.lang.String jobId, ReportWorkItemStatusRequest content) throws java.io.IOException
AbstractGoogleClientRequest.execute()
method to invoke the remote operation.projectId
- The project which owns the WorkItem's job.jobId
- The job which the WorkItem is part of.content
- the ReportWorkItemStatusRequest
java.io.IOException