title: Google Cloud Storage getting download link
body: <p>I'm working in an Asp.Net Core 2 web api for files hosted at Google Cloud Storage. The files hosted there are not public, so I can't use the <code>MediaLink</code> property of the object. I tried to make a download endpoint using <code>MemoryStream</code> but when there are many users downloading large files at once I run into memory issues.</p>
  
  <p>My question is: is there a way to create something link a one-time download link for a file or something similar?</p>
  
  <p>I'm also trying to implement what's described in <a href="https://cloud.google.com/storage/docs/xml-api/get-object-download" rel="noreferrer">this link</a> but I'd need to give the bearer token to the user. I can't do that.</p>
  
  <p>Any tips?</p>