* $adminService = new Google\Service\Directory(...); * $commands = $adminService->customer_devices_chromeos_commands; * */ class CustomerDevicesChromeosCommands extends \Google\Service\Resource { /** * Gets command data a specific command issued to the device. (commands.get) * * @param string $customerId Immutable. ID of the Google Workspace account. * @param string $deviceId Immutable. ID of Chrome OS Device. * @param string $commandId Immutable. ID of Chrome OS Device Command. * @param array $optParams Optional parameters. * @return DirectoryChromeosdevicesCommand * @throws \Google\Service\Exception */ public function get($customerId, $deviceId, $commandId, $optParams = []) { $params = ['customerId' => $customerId, 'deviceId' => $deviceId, 'commandId' => $commandId]; $params = array_merge($params, $optParams); return $this->call('get', [$params], DirectoryChromeosdevicesCommand::class); } } // Adding a class alias for backwards compatibility with the previous class name. class_alias(CustomerDevicesChromeosCommands::class, 'Google_Service_Directory_Resource_CustomerDevicesChromeosCommands');