All Downloads are FREE. Search and download functionalities are using the official Maven repository.

target.apidocs.com.google.api.services.dataflow.Dataflow.Projects.Jobs.WorkItems.html Maven / Gradle / Ivy

There is a newer version: v1b4-rev7-1.20.0
Show newest version






Dataflow.Projects.Jobs.WorkItems (Dataflow API v1b3-rev20231112-2.0.0)












com.google.api.services.dataflow

Class Dataflow.Projects.Jobs.WorkItems

  • java.lang.Object
    • com.google.api.services.dataflow.Dataflow.Projects.Jobs.WorkItems
  • Enclosing class:
    Dataflow.Projects.Jobs


    public class Dataflow.Projects.Jobs.WorkItems
    extends Object
    The "workItems" collection of methods.
    • Constructor Detail

      • WorkItems

        public WorkItems()
    • Method Detail

      • lease

        public Dataflow.Projects.Jobs.WorkItems.Lease lease(String projectId,
                                                            String jobId,
                                                            LeaseWorkItemRequest content)
                                                     throws IOException
        Leases a dataflow WorkItem to run. Create a request for the method "workItems.lease". This request holds the parameters needed by the dataflow server. After setting any optional parameters, call the AbstractGoogleClientRequest.execute() method to invoke the remote operation.
        Parameters:
        projectId - Identifies the project this worker belongs to.
        jobId - Identifies the workflow job this worker belongs to.
        content - the LeaseWorkItemRequest
        Returns:
        the request
        Throws:
        IOException
      • reportStatus

        public Dataflow.Projects.Jobs.WorkItems.ReportStatus reportStatus(String projectId,
                                                                          String jobId,
                                                                          ReportWorkItemStatusRequest content)
                                                                   throws IOException
        Reports the status of dataflow WorkItems leased by a worker. Create a request for the method "workItems.reportStatus". This request holds the parameters needed by the dataflow server. After setting any optional parameters, call the AbstractGoogleClientRequest.execute() method to invoke the remote operation.
        Parameters:
        projectId - The project which owns the WorkItem's job.
        jobId - The job which the WorkItem is part of.
        content - the ReportWorkItemStatusRequest
        Returns:
        the request
        Throws:
        IOException

Copyright © 2011–2023 Google. All rights reserved.





© 2015 - 2024 Weber Informatics LLC | Privacy Policy