Method: legacySdk.legacyCloseAlert

Full name: projects.locations.instances.legacySdk.legacyCloseAlert

Legacy RPC for close alert.

HTTP request


Path parameters

Parameters
instance

string

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

string (int64 format)

Required. The close alert data.

alertIdentifier

string

Required. The alert identifier to close the alert for.

rootCause

string

Required. The root cause of the alert.

reason

string

Required. The reason for closing the alert.

comment

string

Required. The comment for the alert.

usefulness

string

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[]

string

List of errors.

isRequestValid

boolean

Flag that indicates whether the request is valid or not.

newCaseId

string (int64 format)

Case new id.

Authorization scopes

Requires the following OAuth scope:

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

For more information, see the Authentication Overview.