Google_Service_Compute_RegionOperations_Resource

The "regionOperations" collection of methods.

Defined (1)

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

/includes/api-libs/Google/Service/Compute.php  
  1. class Google_Service_Compute_RegionOperations_Resource extends Google_Service_Resource 
  2.  
  3. /** 
  4. * Deletes the specified region-specific operation resource. 
  5. * (regionOperations.delete) 
  6. * @param string $project Name of the project scoping this request. 
  7. * @param string $region Name of the region scoping this request. 
  8. * @param string $operation Name of the operation resource to delete. 
  9. * @param array $optParams Optional parameters. 
  10. */ 
  11. public function delete($project, $region, $operation, $optParams = array()) 
  12. $params = array('project' => $project, 'region' => $region, 'operation' => $operation); 
  13. $params = array_merge($params, $optParams); 
  14. return $this->call('delete', array($params)); 
  15.  
  16. /** 
  17. * Retrieves the specified region-specific operation resource. 
  18. * (regionOperations.get) 
  19. * @param string $project Name of the project scoping this request. 
  20. * @param string $region Name of the zone scoping this request. 
  21. * @param string $operation Name of the operation resource to return. 
  22. * @param array $optParams Optional parameters. 
  23. * @return Google_Service_Compute_Operation 
  24. */ 
  25. public function get($project, $region, $operation, $optParams = array()) 
  26. $params = array('project' => $project, 'region' => $region, 'operation' => $operation); 
  27. $params = array_merge($params, $optParams); 
  28. return $this->call('get', array($params), "Google_Service_Compute_Operation"); 
  29.  
  30. /** 
  31. * Retrieves the list of operation resources contained within the specified 
  32. * region. (regionOperations.listRegionOperations) 
  33. * @param string $project Name of the project scoping this request. 
  34. * @param string $region Name of the region scoping this request. 
  35. * @param array $optParams Optional parameters. 
  36. * @opt_param string filter Optional. Filter expression for filtering listed 
  37. * resources. 
  38. * @opt_param string pageToken Optional. Tag returned by a previous list request 
  39. * truncated by maxResults. Used to continue a previous list request. 
  40. * @opt_param string maxResults Optional. Maximum count of results to be 
  41. * returned. Maximum value is 500 and default value is 500. 
  42. * @return Google_Service_Compute_OperationList 
  43. */ 
  44. public function listRegionOperations($project, $region, $optParams = array()) 
  45. $params = array('project' => $project, 'region' => $region); 
  46. $params = array_merge($params, $optParams); 
  47. return $this->call('list', array($params), "Google_Service_Compute_OperationList");