Google_Service_Dataflow_LeaseWorkItemRequest

The Google Photos & Picasa Viewer Google Service Dataflow LeaseWorkItemRequest class.

Defined (1)

The class is defined in the following location(s).

/includes/api-libs/Google/Service/Dataflow.php  
  1. class Google_Service_Dataflow_LeaseWorkItemRequest extends Google_Collection 
  2. protected $collection_key = 'workerCapabilities'; 
  3. protected $internal_gapi_mappings = array( 
  4. ); 
  5. public $currentWorkerTime; 
  6. public $requestedLeaseDuration; 
  7. public $workItemTypes; 
  8. public $workerCapabilities; 
  9. public $workerId; 
  10.  
  11.  
  12. public function setCurrentWorkerTime($currentWorkerTime) 
  13. $this->currentWorkerTime = $currentWorkerTime; 
  14. public function getCurrentWorkerTime() 
  15. return $this->currentWorkerTime; 
  16. public function setRequestedLeaseDuration($requestedLeaseDuration) 
  17. $this->requestedLeaseDuration = $requestedLeaseDuration; 
  18. public function getRequestedLeaseDuration() 
  19. return $this->requestedLeaseDuration; 
  20. public function setWorkItemTypes($workItemTypes) 
  21. $this->workItemTypes = $workItemTypes; 
  22. public function getWorkItemTypes() 
  23. return $this->workItemTypes; 
  24. public function setWorkerCapabilities($workerCapabilities) 
  25. $this->workerCapabilities = $workerCapabilities; 
  26. public function getWorkerCapabilities() 
  27. return $this->workerCapabilities; 
  28. public function setWorkerId($workerId) 
  29. $this->workerId = $workerId; 
  30. public function getWorkerId() 
  31. return $this->workerId;