- HTTP request
- Path parameters
- Query parameters
- Request body
- Response body
- Authorization scopes
- IAM Permissions
- SearchTimeRangeType
- GetOpenedAndClosedCasesTrends
- CaseTrendValue
Full name: projects.locations.instances.legacySoarDashboard.legacyGetOpenedAndClosedCasesTrends
Returns the historical trends of opened versus closed cases over a specified time period. This provides insight into SOC workload and case resolution efficiency.
HTTP request
GET https://chronicle.africa-south1.rep.googleapis.com/v1alpha/{instance}/legacySoarDashboard:legacyGetOpenedAndClosedCasesTrends Path parameters
| Parameters | |
|---|---|
instance |
Required. The instance to get the opened and closed cases trends for. Format: projects/{project}/locations/{location}/instances/{instance} |
Query parameters
| Parameters | |
|---|---|
timeRangeType |
Required. The time range type of the opened and closed cases trends. |
Request body
The request body must be empty.
Response body
GetOpenedAndClosedCasesTrendsResponse represents the response for getting opened and closed cases trends.
If successful, the response body contains data with the following structure:
| JSON representation |
|---|
{
"payload": [
{
object ( |
| Fields | |
|---|---|
payload[] |
Optional. The id of the response. |
Authorization scopes
Requires one of the following OAuth scopes:
https://www.googleapis.com/auth/cloud-platformhttps://www.googleapis.com/auth/chroniclehttps://www.googleapis.com/auth/chronicle.readonly
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.
SearchTimeRangeType
SearchTimeRangeType is an enum that represents the time range type for a search.
| Enums | |
|---|---|
SEARCH_TIME_RANGE_TYPE_UNSPECIFIED |
Custom time range |
LAST_DAY |
Last day |
LAST_2_DAYS |
Last 2 days |
LAST_3_DAYS |
Last 3 days |
LAST_4_DAYS |
Last 4 days |
LAST_WEEK |
Last week |
LAST_2_WEEKS |
Last 2 weeks |
LAST_MONTH |
Last year |
LAST_3_MONTHS |
Last 3 months |
LAST_6_MONTHS |
Last 6 months |
LAST_YEAR |
Last year |
LAST_13_MONTHS |
Last 13 months |
GetOpenedAndClosedCasesTrends
GetOpenedAndClosedCasesTrends represents the opened and closed cases trends.
| JSON representation |
|---|
{
"id": string,
"values": [
{
object ( |
| Fields | |
|---|---|
id |
Optional. The id of the response. |
values[] |
Optional. The values of the response. |
CaseTrendValue
CaseTrendValue represents the value of a case trend.
| JSON representation |
|---|
{ "timestamp": string, "count": integer } |
| Fields | |
|---|---|
timestamp |
Optional. The timestamp of the case trend. |
count |
Optional. The count of the case trend. |