FetchGoogleDrive

Description:

Fetches files from a Google Drive Folder. Designed to be used in tandem with ListGoogleDrive. For how to setup access to Google Drive please see additional details.

Additional Details...

Tags:

google, drive, storage, fetch

Properties:

In the list below, the names of required properties appear in bold. Any other properties (not in bold) are considered optional. The table also indicates any default values, and whether a property supports the NiFi Expression Language.

Display NameAPI NameDefault ValueAllowable ValuesDescription
GCP Credentials Provider Servicegcp-credentials-provider-serviceController Service API:
GCPCredentialsService
Implementation: GCPCredentialsControllerService
The Controller Service used to obtain Google Cloud Platform credentials.
File IDdrive-file-id${drive.id}The Drive ID of the File to fetch
Supports Expression Language: true (will be evaluated using flow file attributes and variable registry)
Proxy Configuration Serviceproxy-configuration-serviceController Service API:
ProxyConfigurationService
Implementation: StandardProxyConfigurationService
Specifies the Proxy Configuration Controller Service to proxy network requests. Supported proxies: HTTP + AuthN

Relationships:

NameDescription
successA flowfile will be routed here for each successfully fetched File.
failureA flowfile will be routed here for each File for which fetch was attempted but failed.

Reads Attributes:

None specified.

Writes Attributes:

NameDescription
error.codeThe error code returned by Google Drive when the fetch of a file fails
error.messageThe error message returned by Google Drive when the fetch of a file fails

State management:

This component does not store state.

Restricted:

This component is not restricted.

Input requirement:

This component requires an incoming relationship.

System Resource Considerations:

None specified.

See Also:

ListGoogleDrive