ListGoogleDriveFileInfo 2025.10.9.21

Bundle

com.snowflake.openflow.runtime | runtime-google-drive-nar

Description

Lists all files and folders in a specified Google Drive. The processor requires a Drive ID and can optionally list files recursively through all folders within the drive.

Tags

cloud, drive, files, gcp, google, list, openflow, storage

Input Requirement

REQUIRED

Supports Sensitive Dynamic Properties

false

Properties

PropertyDescription
Drive IDThe ID of the drive to list files from. This can be a shared drive ID.
GCP Credentials ServiceThe Controller Service used to obtain Google Cloud Platform credentials.
Include FoldersWhen ‘true’, both files and folders will be included in the results. When ‘false’, only files (not folders) will be included.
Minimum File AgeThe minimum age a file must be in order to be considered; any files younger than this will be ignored.
Record WriterSpecifies the Controller Service to use for writing the metadata records. Must be set.
Search RecursivelyWhen ‘true’, will recursively list files in all folders within the drive. When ‘false’, will only list files at the root level of the drive.

Relationships

NameDescription
failureA FlowFile will be routed here if there is an error fetching file metadata.
retryA FlowFile is routed here if the processor should retry the request (e.g., after rate limiting).
successA FlowFile containing the file metadata records will be routed to this relationship upon successful processing.

Writes attributes

NameDescription
google.drive.drive.idThe ID of the drive from which files were listed
record.countThe number of records in the FlowFile
mime.typeThe MIME Type specified by the Record Writer
google.drive.error.codeThe error code if the request to Google Drive API fails
google.drive.error.messageThe error message if the request to Google Drive API fails

See also