Google Drive

Overview

The Google Drive connected system allows you to easily manage files and folders in Google Drive using OAuth 2.0 Authorization Code (per user).

For information that pertains to all connected systems, see Connected System Object.

Properties

The Google Drive connected system has the following properties:

Field Description
Name The name of the connected system. Use a name that will uniquely identify this connection to the external system.
Description Supplemental information about the connected system that is displayed when selecting the system in the integration designer and in the application contents grid.
Instructions To generate new credentials, see How to Generate New Credentials for Google Drive. If you already have credentials, you can download them by going to the Google Cloud Console and navigating to APIs & Services > Credentials.
Client ID This value is available in the downloaded credentials
Client Secret This value is available in the downloaded credentials

Click AUTHORIZE to use the provided configuration information to authorize the designer in a new window. See OAuth 2.0: Authorization Code Grant for more details.

google-drive-cs.png

Operations

Name Description Type
Upload File Upload an Appian document to Google Drive WRITE
Create Folder Create a folder in Google Drive WRITE
Create Google Doc Create a Google Doc file in Google Drive from user input text WRITE
List Folder Contents List files and folders within a Google Drive folder READ
Query Drive Search using specified query within Google Drive READ
Copy File Create a copy of the file and add it to a specified folder WRITE
Download File Retrieve a file from Google Drive and download to Appian WRITE
Manage File Location Move a file between folders within Google Drive WRITE
Find File List files and folders matching a full text search READ

Upload File

Upload an Appian document to Google Drive.

Note: Upload File is a WRITE type integration. To prevent the integration from making the same update twice, it can only be used in the saveInto parameter of an interface component or in a Web API. See Call an Integration for more information.

drive-upload-file.png

Create Folder

Create a folder in Google Drive.

Note: Create Folder is a WRITE type integration. To prevent the integration from making the same update twice, it can only be used in the saveInto parameter of an interface component or in a Web API. See Call an Integration for more information.

drive-create-folder.png

Create Google Doc

Create a Google Doc file in Google Drive from user input text.

Note: Create Google Doc is a WRITE type integration. To prevent the integration from making the same update twice, it can only be used in the saveInto parameter of an interface component or in a Web API. See Call an Integration for more information.

drive-create-google-doc.png

List Folder Contents

List files and folders within a Google Drive folder.

Find File Metadata property names in Google documentation.

drive-list-folder-contents.png

Query Drive

Search using specified query within Google Drive.

Find File Metadata property names in Google documentation.

drive-query-drive.png

Copy File

Create a copy of the file and add it to a specified folder.

Note: Copy File is a WRITE type integration. To prevent the integration from making the same update twice, it can only be used in the saveInto parameter of an interface component or in a Web API. See Call an Integration for more information.

drive-copy-file.png

Download File

Retrieve a file from Google Drive and download to Appian.

Note: Download File is a WRITE type integration. To prevent against duplicate document creation, it can only be used in the saveInto parameter of an interface component or in a Web API. See Call an Integration for more information.

drive-get-file.png

Manage File Location

Move a file between folders within Google Drive.

Note: Manage File Location is a WRITE type integration. To prevent the integration from making the same update twice, it can only be used in the saveInto parameter of an interface component or in a Web API. See Call an Integration for more information.

drive-manage-file-location.png

Find File

List files and folders matching a full text search.

Find File Metadata property names in Google documentation.

drive-find-file.png

How to generate new credentials for Google Drive

Follow the steps below to generate new credentials:

  1. Create a Google Cloud Platform Project that has Drive API services enabled.
  2. Set up the OAuth Consent.
    • Name: Your Name
    • Add the following scopes:
      • ../auth/drive
      • ../auth/drive.metadata
      • ../auth/drive.appdata
    • Authorized Domains: <YOUR_ENVIRONMENT>.appiancloud.com
  3. Create Credentials.
    • OAuth 2.0 client IDs > Create a Client ID > Create OAuth client ID
    • Application Type: Web Application
    • Name: <NAME>
    • Authorized JavaScript origins: <leave empty>
    • Authorized redirect URIs: https://<YOUR_ENVIRONMENT>.appiancloud.com/suite/oauth/callback
  4. Download your credentials from APIs & Services > Credentials.
Open in Github Built: Fri, Nov 19, 2021 (11:59:11 AM)

On This Page

FEEDBACK