---
title: "Update Google Cloud Data Source from File"
method: POST
path: "/v1/dataSources/googleCloud/{googleCloudDataSourceId}/upload"
tags: ["Cloud"]
---

# Update Google Cloud Data Source from File

`POST /v1/dataSources/googleCloud/{googleCloudDataSourceId}/upload`

Update an existing Google Cloud data source to reflect the state represented in a JSON file exported from Google Cloud directly via the Google Cloud CLI. Returns a jobId that can be used to monitor progress through the Get "Update Google Cloud Data Source" Job Status endpoint.

## Path parameters

- `googleCloudDataSourceId` string, required — Google Cloud data source ID

## Response `202`

Accepted. Occurs when the update 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.
- `403` — Forbidden. Occurs when the data source does not exist or the user does not have access to it.
- `409` — Conflict. Occurs when an update job is already in progress for this data source.

---

[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)
