Google Drive Connector¶
The Jitterbit Harmony Google Drive Connector establishes access to Google Drive.
The Google Drive connector provides an interface for creating a Google Drive connection, the foundation used for generating instances of Google Drive activities. These activities, once configured, interact with Google Drive through the connection.
The Google Drive connector is accessed from the design component palette's Connections tab (see Design Component Palette).
This connector is used to first configure a Google Drive connection. Activity types associated with that connection are then used to create instances of activities that are intended to be used as sources (to provide data in an operation) or targets (to consume data in an operation).
Together, a specific Google Drive connection and its activities are referred to as a Google Drive endpoint:
Update File: Updates files in Google Drive and is intended to be used as a target in an operation.
Delete File: Deletes a file from Google Drive and is intended to be used as a target in an operation.
Create File: Creates files in Google Drive and is intended to be used as a target in an operation.
List Files: Retrieves a list of files (matching a query) from Google Drive and is intended to be used as a source in an operation.
Get File: Retrieves a file from Google Drive and is intended to be used as a source in an operation.
This connector is a Connector SDK-based connector, which may be referred to by Jitterbit when communicating changes made to connectors built with the Connector SDK.
Prerequisites and Supported API Versions¶
The Google Drive connector requires the use of an agent version 10.1 or later. These agent versions automatically download the latest version of the connector when required.
The Google Drive connector uses the Google Drive API v3. Refer to the API documentation for information on the schema nodes and fields.
The Google Drive folder you wish to access must be shared with the Google service account that is used in the connection. Documents outside the shared folder cannot be accessed.
Google Service Account Limitations¶
Due to a limitation of using Google service account credentials (which do not have access to all Google Drive options), the Google Drive List Files activity may not return a complete list of files.
If you experience issues with the Google Drive connector, these troubleshooting steps are recommended:
Ensure the Google Drive connection is successful by using the Test button in the configuration screen. If the connection is not successful, the error returned may provide an indication as to the problem.
Check the operation logs for any information written during execution of the operation.
If using Private Agents, you can enable connector verbose logging for this connector using this specific configuration entry of logger name and level:
<logger name="org.jitterbit.connector.drive.verbose.logging.drive.VerboseLoggerManager" level="DEBUG"/>
If using Private Agents, you can check the agent logs for more information.