Google_ManagementSegmentsServiceResource

The "segments" collection of methods.

Defined (1)

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

/google-api-php-client/api-code/contrib/Google_AnalyticsService.php  
  1. class Google_ManagementSegmentsServiceResource extends Google_ServiceResource { 
  2.  
  3. /** 
  4. * Lists advanced segments to which the user has access. (segments.list) 
  5. * @param array $optParams Optional parameters. 
  6. * @opt_param int max-results The maximum number of advanced segments to include in this response. 
  7. * @opt_param int start-index An index of the first advanced segment to retrieve. Use this parameter as a pagination mechanism along with the max-results parameter. 
  8. * @return Google_Segments 
  9. */ 
  10. public function listManagementSegments($optParams = array()) { 
  11. $params = array(); 
  12. $params = array_merge($params, $optParams); 
  13. $data = $this->__call('list', array($params)); 
  14. if ($this->useObjects()) { 
  15. return new Google_Segments($data); 
  16. } else { 
  17. return $data;