parameters: (client)
return_statement: return results
docstring: Fetches all the files.
  
    Args:
      client: Authorized drive api client.
    Returns:
docstring_summary: Fetches all the files.
docstring_tokens: Fetches all the files .
function: def fetch_all_metadata(client):
    """Fetches all the files.
  
    Args:
      client: Authorized drive api client.
    Returns:
    """
    results = []
    page = ended = None
    while not ended:
      resp = client.files().list(pageToken=page, maxResults=100,
          q='trashed=false',
          fields='nextPageToken,items(id,md5Checksum,title,alternateLink,quotaBytesUsed)'
          ).execute()
      page = resp.get('nextPageToken')
      ended = page == None
      for item in resp['items']:
        if 'md5Checksum' in item:
          results.append(item)
      print 'Fetched: {}'.format(len(results))
    return results
function_tokens: def fetch_all_metadata ( client ) : results = [ ] page = ended = None while not ended : resp = client . files ( ) . list ( pageToken = page , maxResults = 100 , q = 'trashed=false' , fields = 'nextPageToken,items(id,md5Checksum,title,alternateLink,quotaBytesUsed)' ) . execute ( ) page = resp . get ( 'nextPageToken' ) ended = page == None for item in resp [ 'items' ] : if 'md5Checksum' in item : results . append ( item ) print 'Fetched: {}' . format ( len ( results ) ) return results