ListGoogleDriveFileInfo

ListGoogleDriveFileInfo

지정된 Google Drive의 모든 파일과 폴더를 나열하는 프로세서예요. 이 프로세서는 Drive ID가 필요하며 선택적으로 드라이브 내 모든 폴더를 재귀적으로 파일을 나열할 수 있어요.

출처: Snowflake 문서

본문

기능 — 일반 제공(Generally Available)

Openflow Snowflake 배포는 AWS, Azure, GCP Commercial 리전의 모든 계정에서 사용할 수 있어요. Openflow BYOC 배포는 AWS Commercial 리전의 모든 계정에서 사용할 수 있어요.

Bundle

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

설명 (Description)

지정된 Google Drive의 모든 파일과 폴더를 나열해요. 프로세서는 Drive ID가 필요하며 선택적으로 드라이브 내 모든 폴더를 통해 파일을 재귀적으로 나열할 수 있어요.

태그 (Tags)

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

입력 요구사항 (Input Requirement)

REQUIRED (필수)

민감한 동적 속성 지원 (Supports Sensitive Dynamic Properties)

false

속성 (Properties)

Property Description
Drive ID 파일을 나열할 드라이브의 ID예요. 공유 드라이브 ID일 수 있어요.
GCP Credentials Service Google Cloud Platform 자격 증명을 얻는 데 사용하는 Controller Service예요.
Include Folders ‘true’이면 결과에 파일과 폴더가 모두 포함돼요. ‘false’이면 파일만(폴더 제외) 포함돼요.
Minimum File Age 파일이 고려되기 위한 최소 수명이에요. 이보다 최신 파일은 무시돼요.
Record Writer 메타데이터 레코드를 기록하는 데 사용할 Controller Service를 지정해요. 반드시 설정해야 해요.
Search Recursively ‘true’이면 드라이브 내 모든 폴더의 파일을 재귀적으로 나열해요. ‘false’이면 드라이브 루트 수준의 파일만 나열해요.

관계 (Relationships)

Name Description
failure 파일 메타데이터를 가져오는 중 오류가 발생하면 FlowFile이 이 관계로 연결돼요.
retry 프로세서가 요청을 재시도해야 하면(예: rate limiting 후) FlowFile이 이 관계로 연결돼요.
success 처리에 성공하면 파일 메타데이터 레코드를 담은 FlowFile이 이 관계로 연결돼요.

쓰기 속성 (Writes attributes)

Name Description
google.drive.drive.id 파일이 나열된 드라이브의 ID예요.
record.count FlowFile에 들어 있는 레코드 수예요.
mime.type Record Writer가 지정한 MIME Type이에요.
google.drive.error.code Google Drive API 요청이 실패하면 오류 코드예요.
google.drive.error.message Google Drive API 요청이 실패하면 오류 메시지예요.

함께 보기 (See also)

  • com.snowflake.openflow.runtime.processors.google.CaptureGoogleDriveChanges
  • com.snowflake.openflow.runtime.processors.google.FetchGoogleDriveMetadata

더 알아보기 (Learn more)