---
title: "Create Model from Google Cloud Data Source"
method: POST
path: "/v1/documents/cloud/googleCloud"
tags: ["Cloud"]
---

# Create Model from Google Cloud Data Source

`POST /v1/documents/cloud/googleCloud`

Create a new model containing the visualization of data from a Google Cloud data source. Returns a jobId that can be used to retrieve the status from the Get "Create Model from Google Cloud Data Source" Job Status endpoint.

## Request body

- CreateModelFromGoogleCloudDataSourceRequest
  - `title` string, required — The name to give the created model
  - `dataSources` GoogleCloudDataSourceForModelCreation[], required — The Google Cloud Data Sources to include in the model
    - `dataSourceId` string, required — Google Cloud data source ID
    - `filter` GoogleCloudDataSourceFilter
      - `googleCloudLabels` TagOrLabel[]
        - `key` string, required — The tag or label key
        - `value` string — The tag or label value
      - `includeUnlabeledResources` boolean — Whether to include resources that do not have any labels
  - `autosync` boolean, required — Whether this model should automatically update with changes to its data source(s)
  - `viewTemplates` string[] — The view templates to create in the generated model. Use the "Get Supported Google Cloud View Templates" endpoint to see a list of all supported view templates.

## Response `202`

Accepted. Occurs when the model creation job has been queued.

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

---

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