Google_Service_MapsEngine_LayersParents_Resource

The "parents" collection of methods.

Defined (1)

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

/includes/api-libs/Google/Service/MapsEngine.php  
  1. class Google_Service_MapsEngine_LayersParents_Resource extends Google_Service_Resource 
  2.  
  3. /** 
  4. * Return all parent ids of the specified layer. (parents.listLayersParents) 
  5. * @param string $id The ID of the layer whose parents will be listed. 
  6. * @param array $optParams Optional parameters. 
  7. * @opt_param string pageToken The continuation token, used to page through 
  8. * large result sets. To get the next page of results, set this parameter to the 
  9. * value of nextPageToken from the previous response. 
  10. * @opt_param string maxResults The maximum number of items to include in a 
  11. * single response page. The maximum supported value is 50. 
  12. * @return Google_Service_MapsEngine_ParentsListResponse 
  13. */ 
  14. public function listLayersParents($id, $optParams = array()) 
  15. $params = array('id' => $id); 
  16. $params = array_merge($params, $optParams); 
  17. return $this->call('list', array($params), "Google_Service_MapsEngine_ParentsListResponse");