Full name: projects.locations.instances.legacySdk.legacyCloseAlert
Legacy RPC for close alert.
HTTP request
Path parameters
Parameters | |
---|---|
instance |
Required. The CloseAlert request. Format: projects/{project}/locations/{location}/instances/{instance}/legacySdk:closeAlert |
Request body
The request body contains data with the following structure:
JSON representation |
---|
{ "sourceCaseId": string, "alertIdentifier": string, "rootCause": string, "reason": string, "comment": string, "usefulness": string } |
Fields | |
---|---|
sourceCaseId |
Required. The close alert data. |
alertIdentifier |
Required. The alert identifier to close the alert for. |
rootCause |
Required. The root cause of the alert. |
reason |
Required. The reason for closing the alert. |
comment |
Required. The comment for the alert. |
usefulness |
Required. The usefulness of the alert. |
Response body
The CloseAlertResponse message.
If successful, the response body contains data with the following structure:
JSON representation |
---|
{ "errors": [ string ], "isRequestValid": boolean, "newCaseId": string } |
Fields | |
---|---|
errors[] |
List of errors. |
isRequestValid |
Flag that indicates whether the request is valid or not. |
newCaseId |
Case new id. |
Authorization scopes
Requires the following OAuth scope:
https://www.googleapis.com/auth/cloud-platform
For more information, see the Authentication Overview.