google-drives

Create a Google Drive data source

Creates a new Google Drive data source and starts ingestion.

Required scope: `ingestion:manage`

post/google-drives

Request body

namestring required

Name of the Google Drive data source

folder_urlstring required

Google Drive folder URL

service_account_keystring

One-time service account key JSON (mutually exclusive with secret_id)

secret_idstring

ID of a stored secret to use (mutually exclusive with service_account_key)

rrulestring

Recurrence rule (RFC 5545 RRULE). Requires secret_id (not one-time key).

Response

Successfully created Google Drive data source

idstring required

Google Drive data source ID

ingestion_setting_idstring

Google Drive ingestion setting ID

namestring required

Name of the Google Drive ingestion setting

folder_urlstring required

Google Drive folder URL

creation_timeinteger

Creation time (Unix timestamp in seconds)

status'unknown' | 'queued' | 'not_started' | 'managed' | 'starting' | 'started' | 'success' | 'failure' | 'canceling' | 'canceled' | 'deleting' | 'delete_job_failure' required

Job status

start_timeinteger

Job start time (Unix timestamp in seconds)

end_timeinteger

Job end time (Unix timestamp in seconds)

Changes

Changed in 2 of the 71 revisions of this API.3

    • added the new optional request property

      new-optional-request-property

    • added the optional property to the response with the status

      response-optional-property-added

    • endpoint added

      endpoint-added

Of the 71 revisions, 18 have no diff computed.