Jitterbit Harmony Google Drive Connector¶
The Jitterbit Harmony Google Drive Connector is accessed from the Connectivity tab of the design component palette:
This connector is used to first configure a Google Drive connection, establishing access to an account on the Google Drive server, and then used to configure one or more Google Drive activities associated with that connection as either a source or target within an operation:
Get File: A Google Drive Get File activity retrieves a file from a Google Drive connection and is used as a source in an operation.
Create File: A Google Drive Create File activity creates a file in a Google Drive connection and is used as a target in an operation.
Update File: A Google Drive Update File activity updates a file in a Google Drive connection and is used as a target in an operation.
Delete File: A Google Drive Delete File activity deletes a file in a Google Drive connection and is used as a target in an operation.
The Google Drive connector uses the Google Drive API v3. Refer to the API documentation for information on the schema fields.
The Google Drive connector requires the use of an agent version 10.1 or later.
Together, a specific Google Drive connection and its activities are referred to as a Google Drive endpoint. Once a connection is configured, activities associated with the endpoint are available from the Endpoints filter:
Google Drive Registration¶
As the connection will be an application that interfaces with Google Drive, you will need a Project ID, Client Email, and Private Key to access the Google Drive API. To obtain these, you need to create a service account from a Google account. See Google Registration for details.
The Google Drive folder you wish to access must be shared with the Google service account email that is used to create the connection. All the documents accessed by the connection will be in that particular folder. Sharing at least one folder is required. Documents outside the shared folder cannot be accessed.
Google Service Account Limitations¶
Due to a limitation of using Google service account credentials, the Google Drive List Files activity may not return a complete list of files.