Google_ManagementAccountsServiceResource
The "accounts" collection of methods.
Defined (1)
The class is defined in the following location(s).
- /src/contrib/Google_AnalyticsService.php
- class Google_ManagementAccountsServiceResource extends Google_ServiceResource {
- /**
- * Lists all accounts to which the user has access. (accounts.list)
- *
- * @param array $optParams Optional parameters.
- *
- * @opt_param int max-results The maximum number of accounts to include in this response.
- * @opt_param int start-index An index of the first account to retrieve. Use this parameter as a pagination mechanism along with the max-results parameter.
- * @return Google_Accounts
- */
- public function listManagementAccounts($optParams = array()) {
- $params = array();
- $params = array_merge($params, $optParams);
- $data = $this->__call('list', array($params));
- if ($this->useObjects()) {
- return new Google_Accounts($data);
- } else {
- return $data;
- }
- }
- }