Google_ManagementSegmentsServiceResource
The "segments" collection of methods.
Defined (1)
The class is defined in the following location(s).
- /src/contrib/Google_AnalyticsService.php
- class Google_ManagementSegmentsServiceResource extends Google_ServiceResource {
- /**
- * Lists advanced segments to which the user has access. (segments.list)
- *
- * @param array $optParams Optional parameters.
- *
- * @opt_param int max-results The maximum number of advanced segments to include in this response.
- * @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.
- * @return Google_Segments
- */
- public function listManagementSegments($optParams = array()) {
- $params = array();
- $params = array_merge($params, $optParams);
- $data = $this->__call('list', array($params));
- if ($this->useObjects()) {
- return new Google_Segments($data);
- } else {
- return $data;
- }
- }
- }