post
https://api.lucid.co/dataSources/googleCloud
Create a new data source from Google Cloud resources.
Returns a jobId that can be used to get the status from Get "Create Google Cloud Data Source" Job Status.
This endpoint supports two valid request body formats:
- Multipart/form-data
- This is generally exported from your Google Cloud Command-Line Interface (CLI)
- JSON
- A list of supported resources can be retrieved using Get Fully Supported Google Cloud Resources.
This endpoint starts a long-running job. For more information, see Job-based (asynchronous) endpoints.
Valid Authentication Methods
API Key Grants:
- CloudEdit
OAuth 2.0 User Token and Account Token Scopes:
- cloud.datasource
Create Google Cloud Data Source from File
Body Params
| Parameter | Type | Description |
|---|---|---|
| googlecloudclijson | .json file (required) | The Google-Cloud-CLI-generated JSON file from which to create the new data source |
| displayName | string (optional) | When provided, the name to give the created data source. When not provided, the filename of the JSON file is used. |
curl 'https://api.lucid.app/dataSources/googleCloud'\
--request 'POST'\
--header 'Authorization: Bearer <OAuth 2.0 Access Token>'\
--header 'Lucid-Api-Version: 1'\
--header 'content-type: multipart/form-data'