Cloud

Edit Google Cloud Data Source

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.

patch/v1/dataSources/googleCloud/{googleCloudDataSourceId}

Request

  • Base URL: https://api.lucid.co
  • URL: https://api.lucid.co/v1/dataSources/googleCloud/{googleCloudDataSourceId}
  • Auth: one of:
    • HTTP bearer
    • OAuth 2 (authorization code, authorization URL https://lucid.app/oauth2/authorize, token URL https://api.lucid.co/oauth2/token, scopes: cloud.datasource)

Path parameters

googleCloudDataSourceIdstring required

Google Cloud data source ID

Example:googlecloudds_56789

The ID of the Google Cloud data source to edit

Request body

namestring

The new display name to give to the Google Cloud data source

Example request

{
  "name": "Example Google Cloud Data Source - Updated"
}

Response

OK. Returns the edited Google Cloud data source.

dataSourceIdstring required

Google Cloud data source ID

type'googleCloud' required

Example response

{
  "dataSourceId": "googlecloudds_56789",
  "params": {
    "name": "Example Google Cloud Data Source",
    "importType": "serviceAccount",
    "projectIds": [
      "my-google-cloud-project-123"
    ],
    "resourceSelection": [
      "compute.googleapis.com/Instance"
    ]
  }
}

Changes

No recorded changes to this operation across all 1 revision of this API.