public class Dataflow.Projects.Jobs.WorkItems extends 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(String projectId,
String jobId,
LeaseWorkItemRequest content)
Leases a dataflow WorkItem to run.
|
Dataflow.Projects.Jobs.WorkItems.ReportStatus |
reportStatus(String projectId,
String jobId,
ReportWorkItemStatusRequest content)
Reports the status of dataflow WorkItems leased by a worker.
|
public Dataflow.Projects.Jobs.WorkItems.Lease lease(String projectId, String jobId, LeaseWorkItemRequest content) throws 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
IOException
public Dataflow.Projects.Jobs.WorkItems.ReportStatus reportStatus(String projectId, String jobId, ReportWorkItemStatusRequest content) throws 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
IOException
Copyright © 2011–2023 Google. All rights reserved.