Cloud
Create Model from Google Cloud Data Source
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.
post/v1/documents/cloud/googleCloud
Request body
Example request
{
"title": "Google Cloud Infrastructure Diagram",
"dataSources": [
{
"dataSourceId": "googlecloudds_56789",
"filter": {
"googleCloudLabels": [
{
"key": "Environment",
"value": "Production"
}
],
"includeUnlabeledResources": true
}
}
],
"autosync": true,
"viewTemplates": [
"summarized-infrastructure",
"gke-clusters"
]
}Response
Accepted. Occurs when the model creation job has been queued.
Example response
{
"jobId": "jobr_2f5e5b82-6f1d-4c9f-932a-14e43cf30454"
}