- HTTP request
- Path parameters
- Request body
- Response body
- Authorization scopes
- DashboardWidgetTypesEnum
- CustomWidgetObjectEnum
- PlaybookStatusFilter
- LegacySoarDashboardWidgetValues
- DashboardWidgetSeriesDataModel
- SeriesTypeEnum
- DashboardEntityKey
- Try it!
Full name: projects.locations.instances.legacySoarDashboard.legacyGetDashboardWidgetValues
Returns the values of a widget in a dashboard.
HTTP request
Path parameters
Parameters | |
---|---|
instance |
Required. The instance to get the dashboard widget values for. Format: projects/{project}/locations/{location}/instances/{instance} |
Request body
The request body contains data with the following structure:
JSON representation |
---|
{ "id": integer, "dashboardId": integer, "title": string, "description": string, "widgetType": enum ( |
Fields | |
---|---|
id |
Required. The ID of the widget. |
dashboardId |
Required. The ID of the dashboard. |
title |
Required. The title of the widget. |
description |
Optional. The description of the widget. |
widgetType |
Required. The type of the widget. |
widthSize |
Required. The width of the widget. |
order |
Optional. The order of the widget in the dashboard. |
timeFilter |
Optional. The time range filter of the widget. |
tagFilters[] |
Optional. The tag filters of the widget. |
environmentFilter[] |
Optional. The environment filters of the widget. |
entityTypeFilter[] |
Optional. The entity type filters of the widget. |
analystFilters[] |
Optional. The analyst filters of the widget. |
priorityFilter[] |
Optional. The priority filters of the widget. |
caseStatusesFilter[] |
Optional. The case status filters of the widget. |
importanceStatusesFilter[] |
Optional. The importance status filters of the widget. |
incidentStatusesFilter[] |
Optional. The incident status filters of the widget. |
exceededSlaFilter[] |
Optional. The exceeded SLA filters of the widget. |
closeReasonsFilter[] |
Optional. The close reason filters of the widget. |
caseStageFilter[] |
Optional. The case stage filters of the widget. |
caseRootCauseFilter[] |
Optional. The case root cause filters of the widget. |
productFilters[] |
Optional. The product filters of the widget. |
alertNamesFilter[] |
Optional. The alert name filters of the widget. |
entityIdentifierFilter[] |
Optional. The entity identifier filters of the widget. |
networksFilter[] |
Optional. The network filters of the widget. |
portsFilter[] |
Optional. The port filters of the widget. |
categoryOutcomeFilter[] |
Optional. The category outcome filters of the widget. |
customWidgetSubjectFilter[] |
Optional. The custom widget subject filters of the widget. |
subject |
Optional. The subject of the custom widget. |
dimensionA |
Optional. The first dimension of the custom widget. |
dimensionB |
Optional. The second dimension of the custom widget. |
dimensionC |
Optional. The third dimension of the custom widget. |
chartType |
Optional. The chart type of the custom widget. CustomWidgetChartTypeEnum is an enum that represents the custom widget chart type for a widget. enum CustomWidgetChartTypeEnum { // Pie chart PIE = 0; // Horizontal bars chart HORIZENTAL_BARS = 1; // Vertical bars chart VERTICAL_BARS = 2; // Table chart TABLE = 3; // Time series chart TIME_SERIES = 4; // Trends chart TRENDS = 5; // SOC status chart SOC_STATUS = 6; // ROI chart ROI = 7; // Text chart TEXT = 8; // Image chart IMAGE = 9; // Number status chart NUMBER_STATUS = 10; } |
resultsAmount |
Optional. The number of results to display in the widget. |
resultsOrder |
Optional. The order of the results in the widget. |
startStage |
Optional. The start stage filter of the widget. |
endStage |
Optional. The end stage filter of the widget. |
text |
Optional. The text to display in the widget. |
calculateField |
Optional. The calculate field of the widget. |
groupByField |
Optional. The group by field of the widget. |
playbooksFilter[] |
Optional. The playbook filters of the widget. |
integrationsFilter[] |
Optional. The integration filters of the widget. |
playbookStatusFilter[] |
Optional. The playbook status filters of the widget. |
socAnalystsLoadFirstSocRoleId |
Optional. The first soc role id to filter soc analysts load. |
socAnalystsLoadSecondSocRoleId |
Optional. The second soc role id to filter soc analysts load. |
socAnalystsLoadManagerUsername |
Optional. The manager username to filter soc analysts load. |
creationTimeUnixTimeInMs |
Optional. The creation time of the dashboard. |
lastModifiedTimeUnixTimeInMs |
Optional. The last modified time of the dashboard. |
Response body
GetLegacySoarDashboardWidgetValuesResponse represents the response for getting dashboard widget values.
If successful, the response body contains data with the following structure:
JSON representation |
---|
{
"payload": {
object ( |
Fields | |
---|---|
payload |
Optional. The values of the widget. |
Authorization scopes
Requires the following OAuth scope:
https://www.googleapis.com/auth/cloud-platform
For more information, see the Authentication Overview.
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 |
CustomWidgetObjectEnum
CustomWidgetObjectEnum is an enum that represents the custom widget object for a widget.
Enums | |
---|---|
ANALYST |
Analyst Object |
TAG |
Tag Object |
PRIORITY |
Priority Object |
RULE_NAME |
Status Object |
ENVIRONMENT |
Environment Object |
PLAYBOOK |
Playbook Object |
PRODUCT |
Product Object |
IMPORTANCE |
Importance Object |
CASE_STATUS |
Case Status Object |
CASE_CLOSE_REASON |
Close Reason Object |
CASE_ROOT_CAUSE |
Case Root Cause Object |
ENTITY_TYPE |
Entity Type Object |
NETWORK |
Network Object |
STAGE |
Stage Object |
PORT |
Port Object |
CATEGORY_OUTCOME |
Category Outcome Object |
ENTITY_IDENTIFIER |
Entity Identifier Object |
SLA_STATUS |
SLA Status Object |
BLOCK |
Block Object |
SOC_ANALYSTS_LOAD |
SOC Analysts Load Object |
SOC_STATUS |
SOC Status Object |
PLAYBOOK_STATUS |
Playbook Status Object |
ALERTS_REDUCTION |
Alerts reduction |
OPEN_CASES_STAGE_AVRAGE_HANDLING_TIME |
Open cases stage average handling time |
AVERAGE_STAGE_TRANSITION_TIME |
Average stage transition time |
SLA_STAGE_MEETING_RATE |
SLA stage meeting rate |
SLA_STAGE_OVERDUE_RATE |
SLA stage overdue rate |
CASE_OPEN_AND_CLOSURE_TRENDS |
Case open and closure trends |
ALERT_TRENDS |
Alert trends |
CASE_CLOSURE_BY_ANALYST_TRENDS |
Case closure by analyst trends |
MOST_REPORTING_PRODUCTS_TRENDS |
Most reporting products trends |
CASE_TAGS_TRENDS |
Case tags trends |
PLAYBOOK_TRENDS |
Playbook trends |
TASK_CREATOR |
Task creator |
TASK_OWNER |
Task owner |
TASK_STATUS |
Task status |
PLAYBOOK_TOTAL_RUNS |
Playbook total runs |
PLAYBOOK_SUCCEEDED_RUNS |
Playbook succeeded runs |
PLAYBOOK_IN_PROGRESS_RUNS |
Playbook in progress runs |
PLAYBOOK_FAILED_RUNS |
Playbook failed runs |
PLAYBOOK_DECLINED_RUNS |
Playbook declined runs |
PLAYBOOK_CLOSED_CASES |
Playbook closed cases |
PLAYBOOK_AVG_RUNTIME |
Playbook avg runtime |
PLAYBOOK_RUNS_STATS |
Playbook runs stats |
PLAYBOOK_PENDING |
Playbook pending |
PLAYBOOK_PERCENTAGE_ALERTS_HANDLED_PER_ENVIRONMENT |
Playbook percentage alerts handled per environment |
PLAYBOOK_PERCENTAGE_ALERTS_CLOSED_PER_PLAYBOOK |
Playbook percentage alerts closed per playbook |
PLAYBOOK_PERCENTAGE_ERROR_RUN |
Playbook percentage error runs |
PLAYBOOK_PERCENTAGE_ALERTS_CLOSED_PER_ENVIRONMENT |
Playbook percentage alerts closed per environment |
PlaybookStatusFilter
PlaybookStatusFilter is an enum that represents the playbook status filter for a widget.
Enums | |
---|---|
PLAYBOOK_STATUS_FILTER_UNSPECIFIED |
Unspecified playbook status filter |
FINISHED_SUCCESSFULLY |
Finished successfully |
ERROR |
Error |
WAITING_FOR_USER_ACTION |
Waiting for user action |
DECLINED |
Declined |
PLAYBOOK_CLOSED_ALERT |
Closed |
PENDING |
Pending |
TERMINATED |
Terminated |
LegacySoarDashboardWidgetValues
LegacySoarDashboardWidgetValues represents the data model for a dashboard widget values.
JSON representation |
---|
{
"series": [
{
object ( |
Fields | |
---|---|
series[] |
Optional. The series of the widget. |
DashboardWidgetSeriesDataModel
DashboardWidgetSeriesDataModel represents the data model for a dashboard widget series.
JSON representation |
---|
{ "identifier": string, "name": string, "values": [ string ], "seriesType": enum ( |
Fields | |
---|---|
identifier |
Optional. The identifier of the series. |
name |
Optional. The name of the series. |
values[] |
Optional. The values of the series. |
seriesType |
Optional. The type of the series. |
entity |
Optional. The entity of the series. |
text |
Optional. The text of the series. |
environments[] |
Optional. The environments of the series. |
SeriesTypeEnum
SeriesTypeEnum is an enum that represents the series types for a dashboard.
Enums | |
---|---|
NUMBER |
Number type |
STRING |
String type |
TIME_IN_MS |
Time in milliseconds type |
PERCENTAGE |
Percentage type |
DashboardEntityKey
DashboardEntityKey represents the key of a dashboard entity.
JSON representation |
---|
{ "identifier": string, "entityType": string } |
Fields | |
---|---|
identifier |
Optional. The identifier of the entity. |
entityType |
Optional. The type of the entity. |