Full name: projects.locations.instances.legacySoarDashboard.legacyAddOrUpdateDashboard
Adds a new dashboard or updates an existing one (determined by dashboard identifier).
HTTP request
Path parameters
Parameters | |
---|---|
instance |
Required. The name of the parent resource, which is the SecOps instance to get the workflow menu cards for. Format: projects/{project}/locations/{location}/instances/{instance} |
Request body
The request body contains data with the following structure:
JSON representation |
---|
{ "id": integer, "creator": string, "name": string, "defaultTimeRange": enum ( |
Fields | |
---|---|
id |
Required. 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. |
environments[] |
Optional. The environments of the dashboard. |
allowedUsersJson |
Optional. The allowed users of the dashboard in json format. |
allowedUsers[] |
Optional. The allowed users of the dashboard. |
widgets[] |
Optional. The widgets of the dashboard. |
Response body
AddOrUpdateLegacySoarDashboardResponse is the response message for the AddOrUpdateLegacySoarDashboard RPC.
If successful, the response body contains data with the following structure:
JSON representation |
---|
{ "id": integer, "creator": string, "name": string, "defaultTimeRange": enum ( |
Fields | |
---|---|
id |
Required. The ID of the dashboard. |
creator |
Required. The creator of the dashboard. |
name |
Required. The name of the dashboard. |
defaultTimeRange |
Required. The default time range of the dashboard. |
allowedUsersJson |
Required. The allowed users of the dashboard in json format. |
allowedUsers[] |
Required. The allowed users of the dashboard. |
widgets[] |
Required. The widgets of the dashboard. |
environmentsJson |
Required. The environments of the dashboard in json format. |
environments[] |
Required. The environments of the dashboard. |
creationTimeUnixTimeInMs |
Optional. The creation time of the dashboard. |
lastModifiedTimeUnixTimeInMs |
Optional. The last modified time of the dashboard. |
Authorization scopes
Requires the following OAuth scope:
https://www.googleapis.com/auth/cloud-platform
For more information, see the Authentication Overview.