Method: caseAlerts.setSla

Full name: projects.locations.instances.cases.caseAlerts.setSla

Set CaseAlert SLA.

HTTP request


Path parameters

Parameters
name

string

Required. The CaseAlert to set SLA for. The CaseAlert's name field is used to identify the CaseAlert. Format: projects/{project}/locations/{location}/instances/{instance}/cases/{case}/caseAlerts/{caseAlert}:setSla

Request body

The request body contains data with the following structure:

JSON representation
{
  "totalTimeMs": string,
  "criticalTimeMs": string
}
Fields
totalTimeMs

string (int64 format)

Output only. The total SLA for handling the alert.

criticalTimeMs

string (int64 format)

Output only. The critical time for the SLA to handle the alert.

Response body

If successful, the response body is an empty JSON object.

Authorization scopes

Requires the following OAuth scope:

  • https://www.googleapis.com/auth/cloud-platform

For more information, see the Authentication Overview.