节点与集成

File and Folder operations

Use this operation to search for files and folders in Google Drive. Refer to Google Drive for more information on the Google Drive node itself.

Search files and folders

Use this operation to search for files and folders in a drive.

Enter these parameters:

  • Credential to connect with: Create or select an existing Google Drive credentials.
  • Resource: Select File/Folder.
  • Operation: Select Search.
  • Search Method: Choose how you want to search:
  • Search File/Folder Name: Fill out the Search Query with the name of the file or folder you want to search for. Returns files and folders that are partial matches for the query as well.
  • Advanced Search: Fill out the Query String to search for files and folders using Google query string syntax.
  • Return All: Choose whether to return all results or only up to a given limit.
  • Limit: The maximum number of items to return when Return All is disabled.
  • Filter: Choose whether to limit the scope of your search:
  • Drive: The drive you want to search in. By default, uses your personal "My Drive". Select From list to choose the drive from the dropdown list, By URL to enter the URL of the drive, or By ID to enter the driveId.
  • You can find the driveId by visiting the shared drive in your browser and copying the last URL component: https://drive.google.com/drive/u/1/folders/driveId.
  • Folder: The folder to search in. Select From list to choose the folder from the dropdown list, By URL to enter the URL of the folder, or By ID to enter the folderId.
  • You can find the folderId by visiting the shared folder in your browser and copying the last URL component: https://drive.google.com/drive/u/1/folders/folderId.
  • What to Search: Whether to search for Files and Folders, Files, or Folders.
  • Include Trashed Items: Whether to also return items in the Drive's trash.

Options

  • Fields: Select the fields to return. Can be one or more of the following: \[All], explicitlyTrashed, exportLinks, hasThumbnail, iconLink, ID, Kind, mimeType, Name, Permissions, Shared, Spaces, Starred, thumbnailLink, Trashed, Version, or webViewLink.

Refer to the Method: files.list | Google Drive API documentation for more information.

官方原文和授权

本页来自 N8N 英文官方网站固定快照,并转换成 xueai 静态页面。内容以 N8N 持续更新的官方页面为准。

来源、授权与修改

本站保留许可证、固定提交号、社区作者和修改说明,不代表 n8n 对本站背书。

查看许可证查看来源和修改说明