- HTTP request
- Path parameters
- Request body
- Response body
- Authorization scopes
- IAM Permissions
- DashboardWidgetDefinitionDataModel
- DashboardWidgetTypesEnum
- Try it!
Full name: projects.locations.instances.legacySoarDashboard.legacyGetDashboardWidgetDefinitions
Returns the widget definitions of a dashboard.
HTTP request
Path parameters
| Parameters | |
|---|---|
| instance | 
 Required. The instance to get the dashboard widget definitions for. Format: projects/{project}/locations/{location}/instances/{instance} | 
Request body
The request body must be empty.
Response body
GetLegacySoarDashboardWidgetDefinitionsResponse represents the response for getting dashboard widget definitions.
If successful, the response body contains data with the following structure:
| JSON representation | 
|---|
| {
  "payload": [
    {
      object ( | 
| Fields | |
|---|---|
| payload[] | 
 Optional. The data model of the dashboard widget definitions. | 
Authorization scopes
Requires the following OAuth scope:
- https://www.googleapis.com/auth/cloud-platform
For more information, see the Authentication Overview.
IAM Permissions
Requires the following IAM permission on the instance resource:
- chronicle.legacySoarDashboards.get
For more information, see the IAM documentation.
DashboardWidgetDefinitionDataModel
DashboardWidgetDefinitionDataModel represents the data model for a dashboard widget definition.
| JSON representation | 
|---|
| {
  "id": integer,
  "name": string,
  "description": string,
  "widgetPreviewImage": string,
  "widgetType": enum ( | 
| Fields | |
|---|---|
| id | 
 Optional. The ID of the widget. | 
| name | 
 Optional. The name of the widget. | 
| description | 
 Optional. The description of the widget. | 
| widgetPreviewImage | 
 Optional. The widget preview image. | 
| widgetType | 
 Optional. The type of the widget. | 
| axisXDescription | 
 Optional. The description of the x axis. | 
| axisYDescription | 
 Optional. The description of the y axis. | 
| creationTimeUnixTimeInMs | 
 Optional. The creation time of the widget in Unix time in milliseconds. | 
| modificationTimeUnixTimeInMs | 
 Optional. The update time of the widget in Unix time in milliseconds. | 
DashboardWidgetTypesEnum
DashboardWidgetTypesEnum is an enum that represents the widget types for a dashboard.
| Enums | |
|---|---|
| DASHBOARD_WIDGET_TYPE_UNSPECIFIED | Unspecified widget type | 
| CUSTOM | Custom type | 
| PLAYBOOK_MONITORING | Playbook monitoring |