Google_Service_Blogger_PostUserInfos_Resource

The "postUserInfos" collection of methods.

Defined (1)

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

/includes/api-libs/Google/Service/Blogger.php  
  1. class Google_Service_Blogger_PostUserInfos_Resource extends Google_Service_Resource 
  2.  
  3. /** 
  4. * Gets one post and user info pair, by post ID and user ID. The post user info 
  5. * contains per-user information about the post, such as access rights, specific 
  6. * to the user. (postUserInfos.get) 
  7. * @param string $userId ID of the user for the per-user information to be 
  8. * fetched. Either the word 'self' (sans quote marks) or the user's profile 
  9. * identifier. 
  10. * @param string $blogId The ID of the blog. 
  11. * @param string $postId The ID of the post to get. 
  12. * @param array $optParams Optional parameters. 
  13. * @opt_param string maxComments Maximum number of comments to pull back on a 
  14. * post. 
  15. * @return Google_Service_Blogger_PostUserInfo 
  16. */ 
  17. public function get($userId, $blogId, $postId, $optParams = array()) 
  18. $params = array('userId' => $userId, 'blogId' => $blogId, 'postId' => $postId); 
  19. $params = array_merge($params, $optParams); 
  20. return $this->call('get', array($params), "Google_Service_Blogger_PostUserInfo"); 
  21.  
  22. /** 
  23. * Retrieves a list of post and post user info pairs, possibly filtered. The 
  24. * post user info contains per-user information about the post, such as access 
  25. * rights, specific to the user. (postUserInfos.listPostUserInfos) 
  26. * @param string $userId ID of the user for the per-user information to be 
  27. * fetched. Either the word 'self' (sans quote marks) or the user's profile 
  28. * identifier. 
  29. * @param string $blogId ID of the blog to fetch posts from. 
  30. * @param array $optParams Optional parameters. 
  31. * @opt_param string orderBy Sort order applied to search results. Default is 
  32. * published. 
  33. * @opt_param string startDate Earliest post date to fetch, a date-time with RFC 
  34. * 3339 formatting. 
  35. * @opt_param string endDate Latest post date to fetch, a date-time with RFC 
  36. * 3339 formatting. 
  37. * @opt_param string labels Comma-separated list of labels to search for. 
  38. * @opt_param string maxResults Maximum number of posts to fetch. 
  39. * @opt_param string pageToken Continuation token if the request is paged. 
  40. * @opt_param string status 
  41. * @opt_param bool fetchBodies Whether the body content of posts is included. 
  42. * Default is false. 
  43. * @opt_param string view Access level with which to view the returned result. 
  44. * Note that some fields require elevated access. 
  45. * @return Google_Service_Blogger_PostUserInfosList 
  46. */ 
  47. public function listPostUserInfos($userId, $blogId, $optParams = array()) 
  48. $params = array('userId' => $userId, 'blogId' => $blogId); 
  49. $params = array_merge($params, $optParams); 
  50. return $this->call('list', array($params), "Google_Service_Blogger_PostUserInfosList");