Google_Service_Dfareporting_AccountPermissionGroups_Resource

The "accountPermissionGroups" collection of methods.

Defined (1)

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

/includes/api-libs/Google/Service/Dfareporting.php  
  1. class Google_Service_Dfareporting_AccountPermissionGroups_Resource extends Google_Service_Resource 
  2.  
  3. /** 
  4. * Gets one account permission group by ID. (accountPermissionGroups.get) 
  5. * @param string $profileId User profile ID associated with this request. 
  6. * @param string $id Account permission group ID. 
  7. * @param array $optParams Optional parameters. 
  8. * @return Google_Service_Dfareporting_AccountPermissionGroup 
  9. */ 
  10. public function get($profileId, $id, $optParams = array()) 
  11. $params = array('profileId' => $profileId, 'id' => $id); 
  12. $params = array_merge($params, $optParams); 
  13. return $this->call('get', array($params), "Google_Service_Dfareporting_AccountPermissionGroup"); 
  14.  
  15. /** 
  16. * Retrieves the list of account permission groups. 
  17. * (accountPermissionGroups.listAccountPermissionGroups) 
  18. * @param string $profileId User profile ID associated with this request. 
  19. * @param array $optParams Optional parameters. 
  20. * @return Google_Service_Dfareporting_AccountPermissionGroupsListResponse 
  21. */ 
  22. public function listAccountPermissionGroups($profileId, $optParams = array()) 
  23. $params = array('profileId' => $profileId); 
  24. $params = array_merge($params, $optParams); 
  25. return $this->call('list', array($params), "Google_Service_Dfareporting_AccountPermissionGroupsListResponse");