Method: legacySdk.legacyAddComment

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

Legacy RPC for add comment.

HTTP request


Path parameters

Parameters
instance

string

Required. The AddComment request. Format: projects/{project}/locations/{location}/instances/{instance}/legacySdk:addComment

Request body

The request body contains data with the following structure:

JSON representation
{
  "caseId": string,
  "alertIdentifier": string,
  "comment": string
}
Fields
caseId

string (int64 format)

Required. The case id to add the comment to.

alertIdentifier

string

Required. The alert identifier.

comment

string

Required. The comment to add.

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.