title: Search Google Drive using multiple parameters
body: <p>I'm trying to look for the files that are spreadsheets (via <code>mimeType</code>) with the name "Speed", using <code>nameContains</code> or <code>fullTextContains</code>.</p>
  
  <p>If only I put <code>fullTextContains</code> or <code>name contains</code> or any other method it works, but if I combine it with the method <code>mimeType</code>, I get all spreadsheet files and not just the specific matches. </p>
  
  <p>My current script:  </p>
  
  <pre><code>function SearchFiles() {
    var searchFor = { 'name contains': "Vel", 'mimeType': "spreadsheet" };
    var names = [];
    var fileIds = [];
    var files = DriveApp.searchFiles(searchFor);
    while (files.hasNext()) {
      var file = files.next();
      var fileId = file.getId();
      fileIds.push(fileId);
      var name = file.getName();
      names.push(name);
    ...
  </code></pre>