FetchGoogleDrive 2025.10.9.21 — Google Drive 파일 가져오기 프로세서
FetchGoogleDrive 2025.10.9.21 — Google Drive 파일 가져오기 프로세서
FetchGoogleDrive 프로세서는 Google Drive 폴더에서 파일을 가져와요. ListGoogleDrive와 함께 사용하도록 설계됐어요. Google Drive에 대한 접근 설정은 Additional Details를 참조하세요.
출처: Snowflake 문서
본문
기능 — 일반 공개 (Generally Available)
Openflow Snowflake 배포는 AWS, Azure, GCP의 상용 리전에서 모든 계정에 제공돼요.
Openflow BYOC 배포는 AWS의 상용 리전에서 모든 계정에 제공돼요.
Bundle
org.apache.nifi | nifi-gcp-nar
Description
Google Drive 폴더에서 파일을 가져와요. ListGoogleDrive와 함께 사용하도록 설계됐어요. Google Drive에 대한 접근을 설정하려면 Additional Details를 참조하세요.
Tags
drive, fetch, google, storage
Input Requirement
REQUIRED
Supports Sensitive Dynamic Properties
false
Properties
| Property | Description |
|---|---|
| Google Doc Export Type | Google 문서는 Google Drive에서 직접 다운로드할 수 없고 지정된 MIME 타입으로 내보내야 해요. 들어오는 FlowFile의 MIME 타입이 Google 문서임을 나타내면 이 속성이 문서를 내보낼 MIME 타입을 지정해요 |
| Google Drawing Export Type | Google 드로잉은 Google Drive에서 직접 다운로드할 수 없고 지정된 MIME 타입으로 내보내야 해요. 들어오는 FlowFile의 MIME 타입이 Google 드로잉임을 나타내면 이 속성이 드로잉을 내보낼 MIME 타입을 지정해요 |
| Google Presentation Export Type | Google 프레젠테이션은 Google Drive에서 직접 다운로드할 수 없고 지정된 MIME 타입으로 내보내야 해요. 들어오는 FlowFile의 MIME 타입이 Google 프레젠테이션임을 나타내면 이 속성이 프레젠테이션을 내보낼 MIME 타입을 지정해요 |
| Google Spreadsheet Export Type | Google 스프레드시트는 Google Drive에서 직접 다운로드할 수 없고 지정된 MIME 타입으로 내보내야 해요. 들어오는 FlowFile의 MIME 타입이 Google 스프레드시트임을 나타내면 이 속성이 스프레드시트를 내보낼 MIME 타입을 지정해요 |
| connect-timeout | Google Drive 서비스에 연결하기 위한 최대 대기 시간 |
| drive-file-id | 가져올 파일의 Drive ID. Drive ID를 얻는 방법은 Additional Details를 참조하세요 |
| gcp-credentials-provider-service | Google Cloud Platform 자격 증명을 얻는 데 사용하는 Controller Service예요 |
| proxy-configuration-service | 네트워크 요청을 프록시할 Proxy Configuration Controller Service를 지정해요 |
| read-timeout | Google Drive 서비스로부터 응답을 기다리는 최대 시간 |
Relationships
| Name | Description |
|---|---|
| failure | fetch를 시도했지만 실패한 각 파일에 대해 FlowFile이 여기로 라우팅돼요 |
| success | 성공적으로 가져온 각 파일에 대해 FlowFile이 여기로 라우팅돼요 |
Writes attributes
| Name | Description |
|---|---|
| drive.id | 파일의 id |
| filename | 파일의 이름 |
| mime.type | 파일의 MIME 타입 |
| drive.size | 파일의 크기. 파일 크기를 알 수 없으면 (예: 외부에 저장된 파일) 0으로 설정돼요 |
| drive.size.available | 파일 크기가 알려져 있는지/사용 가능한지 나타내요 |
| drive.timestamp | 파일의 마지막 수정 시간 또는 생성 시간 중 더 큰 값이에요. 그 이유는 파일의 원래 수정 날짜가 Google Drive에 업로드될 때 보존되기 때문이에요. 'Created time'은 업로드가 발생하는 시간을 취해요. 하지만 업로드된 파일은 나중에 수정될 수 있어요 |
| drive.created.time | 파일의 생성 시간 |
| drive.modified.time | 파일의 마지막 수정 시간 |
| drive.owner | 파일의 소유자 |
| drive.last.modifying.user | 파일을 마지막으로 수정한 사용자 |
| drive.web.view.link | 파일에 대한 웹 보기 링크 |
| drive.web.content.link | 파일에 대한 웹 콘텐츠 링크 |
| drive.parent.folder.id | 파일의 부모 폴더 id |
| drive.parent.folder.name | 파일의 부모 폴더 이름 |
| drive.shared.drive.id | 공유 드라이브의 id (파일이 공유 드라이브에 있는 경우) |
| drive.shared.drive.name | 공유 드라이브의 이름 (파일이 공유 드라이브에 있는 경우) |
| error.code | Google Drive가 반환한 오류 코드 |
| error.message | Google Drive가 반환한 오류 메시지 |
Use Cases Involving Other Components
| Retrieve all files in a Google Drive folder |
|---|
| Google Drive 폴더의 모든 파일을 가져와요 |
See also
- org.apache.nifi.processors.gcp.drive.ListGoogleDrive
- org.apache.nifi.processors.gcp.drive.PutGoogleDrive