Google_Service_Dfareporting_UserRolePermissions_Resource

The "userRolePermissions" 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_UserRolePermissions_Resource extends Google_Service_Resource 
  2.  
  3. /** 
  4. * Gets one user role permission by ID. (userRolePermissions.get) 
  5. * @param string $profileId User profile ID associated with this request. 
  6. * @param string $id User role permission ID. 
  7. * @param array $optParams Optional parameters. 
  8. * @return Google_Service_Dfareporting_UserRolePermission 
  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_UserRolePermission"); 
  14.  
  15. /** 
  16. * Gets a list of user role permissions, possibly filtered. 
  17. * (userRolePermissions.listUserRolePermissions) 
  18. * @param string $profileId User profile ID associated with this request. 
  19. * @param array $optParams Optional parameters. 
  20. * @opt_param string ids Select only user role permissions with these IDs. 
  21. * @return Google_Service_Dfareporting_UserRolePermissionsListResponse 
  22. */ 
  23. public function listUserRolePermissions($profileId, $optParams = array()) 
  24. $params = array('profileId' => $profileId); 
  25. $params = array_merge($params, $optParams); 
  26. return $this->call('list', array($params), "Google_Service_Dfareporting_UserRolePermissionsListResponse");