Full name: projects.locations.instances.legacySoarDashboard.legacyImportDashboard
Imports a dashboard from a file.
HTTP request
Path parameters
Parameters | |
---|---|
instance |
Required. The instance to import the dashboard for. Format: projects/{project}/locations/{location}/instances/{instance} |
Request body
The request body contains data with the following structure:
JSON representation |
---|
{ "id": string, "creator": string, "name": string, "defaultTimeRange": enum ( |
Fields | |
---|---|
id |
Optional. The ID of the dashboard. |
creator |
Optional. The creator of the dashboard. |
name |
Optional. The name of the dashboard. |
defaultTimeRange |
Optional. The default time range of the dashboard. |
allowedUsersJson |
Optional. The allowed users of the dashboard. |
allowedUsers[] |
Optional. The allowed users of the dashboard. |
widgets[] |
Optional. The widgets of the dashboard. |
environmentsJson |
Optional. The environments of the dashboard. |
environments[] |
Optional. The environments of the dashboard. |
creationTimeUnixTimeInMs |
Optional. The creation time of the dashboard in Unix time in milliseconds. |
modificationTimeUnixTimeInMs |
Optional. The modification time of the dashboard in Unix time in milliseconds. |
Response body
ImportLegacySoarDashboardResponse represents the response for importing a dashboard.
If successful, the response body contains data with the following structure:
JSON representation |
---|
{
"payload": {
object ( |
Fields | |
---|---|
payload |
Optional. The data model of the dashboard. |
Authorization scopes
Requires the following OAuth scope:
https://www.googleapis.com/auth/cloud-platform
For more information, see the Authentication Overview.