* $chromemanagementService = new Google\Service\ChromeManagement(...); * $apps = $chromemanagementService->apps; * */ class CustomersApps extends \Google\Service\Resource { /** * Generate summary of app installation requests. (apps.countChromeAppRequests) * * @param string $customer Required. Customer id or "my_customer" to use the * customer associated to the account making the request. * @param array $optParams Optional parameters. * * @opt_param string orderBy Field used to order results. Supported fields: * * request_count * latest_request_time * @opt_param string orgUnitId The ID of the organizational unit. * @opt_param int pageSize Maximum number of results to return. Maximum and * default are 50, anything above will be coerced to 50. * @opt_param string pageToken Token to specify the page of the request to be * returned. * @return GoogleChromeManagementV1CountChromeAppRequestsResponse */ public function countChromeAppRequests($customer, $optParams = []) { $params = ['customer' => $customer]; $params = array_merge($params, $optParams); return $this->call('countChromeAppRequests', [$params], GoogleChromeManagementV1CountChromeAppRequestsResponse::class); } } // Adding a class alias for backwards compatibility with the previous class name. class_alias(CustomersApps::class, 'Google_Service_ChromeManagement_Resource_CustomersApps');