Method: legacySoarDashboard.legacyAddOrUpdateDashboard

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

string

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 (DashboardTimeRangeTypesEnums),
  "environments": [
    string
  ],
  "allowedUsersJson": string,
  "allowedUsers": [
    string
  ],
  "widgets": [
    {
      object (LegacySoarDashboardWidgetDataModel)
    }
  ]
}
Fields
id

integer

Required. The ID of the dashboard.

creator

string

Optional. The creator of the dashboard.

name

string

Optional. The name of the dashboard.

defaultTimeRange

enum (DashboardTimeRangeTypesEnums)

Optional. The default time range of the dashboard.

environments[]

string

Optional. The environments of the dashboard.

allowedUsersJson

string

Optional. The allowed users of the dashboard in json format.

allowedUsers[]

string

Optional. The allowed users of the dashboard.

widgets[]

object (LegacySoarDashboardWidgetDataModel)

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 (DashboardTimeRangeTypesEnums),
  "allowedUsersJson": string,
  "allowedUsers": [
    string
  ],
  "widgets": [
    {
      object (LegacySoarDashboardWidgetDataModel)
    }
  ],
  "environmentsJson": string,
  "environments": [
    string
  ],
  "creationTimeUnixTimeInMs": string,
  "lastModifiedTimeUnixTimeInMs": string
}
Fields
id

integer

Required. The ID of the dashboard.

creator

string

Required. The creator of the dashboard.

name

string

Required. The name of the dashboard.

defaultTimeRange

enum (DashboardTimeRangeTypesEnums)

Required. The default time range of the dashboard.

allowedUsersJson

string

Required. The allowed users of the dashboard in json format.

allowedUsers[]

string

Required. The allowed users of the dashboard.

widgets[]

object (LegacySoarDashboardWidgetDataModel)

Required. The widgets of the dashboard.

environmentsJson

string

Required. The environments of the dashboard in json format.

environments[]

string

Required. The environments of the dashboard.

creationTimeUnixTimeInMs

string (int64 format)

Optional. The creation time of the dashboard.

lastModifiedTimeUnixTimeInMs

string (int64 format)

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.