Google_Service_PlusDomains_Audiences_Resource

The "audiences" collection of methods.

Defined (1)

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

/includes/api-libs/Google/Service/PlusDomains.php  
  1. class Google_Service_PlusDomains_Audiences_Resource extends Google_Service_Resource 
  2.  
  3. /** 
  4. * List all of the audiences to which a user can share. 
  5. * (audiences.listAudiences) 
  6. * @param string $userId The ID of the user to get audiences for. The special 
  7. * value "me" can be used to indicate the authenticated user. 
  8. * @param array $optParams Optional parameters. 
  9. * @opt_param string pageToken The continuation token, which is used to page 
  10. * through large result sets. To get the next page of results, set this 
  11. * parameter to the value of "nextPageToken" from the previous response. 
  12. * @opt_param string maxResults The maximum number of circles to include in the 
  13. * response, which is used for paging. For any response, the actual number 
  14. * returned might be less than the specified maxResults. 
  15. * @return Google_Service_PlusDomains_AudiencesFeed 
  16. */ 
  17. public function listAudiences($userId, $optParams = array()) 
  18. $params = array('userId' => $userId); 
  19. $params = array_merge($params, $optParams); 
  20. return $this->call('list', array($params), "Google_Service_PlusDomains_AudiencesFeed");