When you open your .gdoc link in Google Drive to access the Google Docs document, you can download the file in TXT format using the File ► Download as function in the upper menu. Except for that, direct gdoc to txt conversion without access to Google Docs (online) is not possible, because the .gdoc file is but a link and does not actually contain the document itself.
Open GDOC file Open TXT file