- HTTP request
- Path parameters
- Query parameters
- Request body
- Response body
- Authorization scopes
- SearchTimeRangeType
- GetOpenedAndClosedCasesTrends
- CaseTrendValue
- Try it!
Full name: projects.locations.instances.legacySoarDashboard.legacyGetOpenedAndClosedCasesTrends
Returns the opened and closed cases trends.
HTTP request
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 the following OAuth scope:
https://www.googleapis.com/auth/cloud-platform
For more information, see the Authentication Overview.
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. |