Google_Service_Replicapool_ZoneOperations_Resource

The "zoneOperations" collection of methods.

Defined (1)

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

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