$client->setAccessToken($_SESSION[\'access_token\']); $service = new Google_Service_Docs($client); $title = $_SESSION[\'class\'].\' - \'.date("Y