title: How to retrieve file id from google drive file URL
body: <p>I have the URL of the file, to get details of the file, file_id is required? Is there any way to retrieve file_id from the URL.I'm looking for something like</p>
  
  <pre><code>$driveService-&gt;files-&gt;getFileIdFromUrl($url)
  </code></pre>