* $dfareportingService = new Google\Service\Dfareporting(...); * $operatingSystems = $dfareportingService->operatingSystems; * */ class OperatingSystems extends \Google\Service\Resource { /** * Gets one operating system by DART ID. (operatingSystems.get) * * @param string $profileId User profile ID associated with this request. * @param string $dartId Operating system DART ID. * @param array $optParams Optional parameters. * @return OperatingSystem */ public function get($profileId, $dartId, $optParams = []) { $params = ['profileId' => $profileId, 'dartId' => $dartId]; $params = array_merge($params, $optParams); return $this->call('get', [$params], OperatingSystem::class); } /** * Retrieves a list of operating systems. * (operatingSystems.listOperatingSystems) * * @param string $profileId User profile ID associated with this request. * @param array $optParams Optional parameters. * @return OperatingSystemsListResponse */ public function listOperatingSystems($profileId, $optParams = []) { $params = ['profileId' => $profileId]; $params = array_merge($params, $optParams); return $this->call('list', [$params], OperatingSystemsListResponse::class); } } // Adding a class alias for backwards compatibility with the previous class name. class_alias(OperatingSystems::class, 'Google_Service_Dfareporting_Resource_OperatingSystems');