---
title: "Create Google Cloud Data Source"
method: POST
path: "/v1/dataSources/googleCloud"
tags: ["Cloud"]
---

# Create Google Cloud Data Source

`POST /v1/dataSources/googleCloud`

Create a new data source from Google Cloud data. Returns a jobId that can be used to check the status of the operation through the Get "Create Google Cloud Data Source" Job Status endpoint.

## Request body

- CreateGoogleCloudDataSourceRequest
  - `name` string, required — The name to give the data source
  - `googleCloudCredentialId` string — Google Cloud credential ID
  - `projectIds` string[], required — The IDs of the Google Cloud projects which contain the data from which to create the data source
  - `resourceSelection` string[], required — The Google Cloud resources to include in the data source. Use the "Get Fully Supported Google Cloud Resources" endpoint to see a list of all supported resources.

## Response `202`

Accepted. Occurs when the creation job has been queued.

- JobReferenceIdResponse
  - `jobId` string, required — Unique identifier for an asynchronous job

## Other responses

- `400` — Bad Request. Occurs when no file is found or the file is invalid.

---

[API](https://skmtc.net/lucid/apis/lucid-rest-api.md) · [All operations](https://skmtc.net/lucid/apis/lucid-rest-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/lucid/lucid-rest-api/revisions/6a32cb9e1aa7/schema)
