---
title: "Edit Google Cloud Data Source"
method: PATCH
path: "/v1/dataSources/googleCloud/{googleCloudDataSourceId}"
tags: ["Cloud"]
---

# Edit Google Cloud Data Source

`PATCH /v1/dataSources/googleCloud/{googleCloudDataSourceId}`

Edit the metadata of a Google Cloud data source. Metadata refers to any property of the data source that is not related to the data source's cloud data itself.

## Path parameters

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

## Request body

- EditGoogleCloudDataSourceRequest
  - `name` string — The new display name to give to the Google Cloud data source

## Response `200`

OK. Returns the edited Google Cloud data source.

- GoogleCloudDataSourceObject
  - `dataSourceId` string, required — Google Cloud data source ID
  - `type` 'googleCloud', required
  - `params` object, required
    - `name` string, required
    - `importType` 'serviceAccount' | 'cliJson', required
    - `projectIds` string[] — The ID of the linked Google Cloud project (only for serviceAccount import types)
    - `resourceSelection` string[] — List of Google Cloud resources included in the data source (only for serviceAccount import types)

## Other responses

- `400` — Bad Request. Occurs when the data source ID is malformatted.
- `403` — Forbidden. Occurs when the data source does not exist or the user does not have access to it.

---

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