Method: legacySdk.legacyCreateCaseInsight

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

Legacy RPC for creating case insight.

HTTP request


Path parameters

Parameters
instance

string

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

Request body

The request body contains data with the following structure:

JSON representation
{
  "triggeredBy": string,
  "title": string,
  "content": string,
  "entityIdentifier": string,
  "additionalData": string,
  "additionalDataTitle": string,
  "originalRequestingUser": string,
  "entityType": string,
  "alertIdentifier": string,
  "caseId": string,
  "isFavorite": boolean,
  "severity": enum (InsightSeverityEnum),
  "type": enum (InsightTypeEnum),
  "additionalDataType": enum (InsightTypeEnum)
}
Fields
triggeredBy

string

Required. The triggered by.

title

string

Required. The title.

content

string

Required. The content.

entityIdentifier

string

Required. The entity identifier.

additionalData

string

Optional. The additional data.

additionalDataTitle

string

Optional. The additional data title.

originalRequestingUser

string

Optional. The original requesting user.

entityType

string

Optional. The entity type.

alertIdentifier

string

Required. The alert identifier.

caseId

string (int64 format)

Required. The case id.

isFavorite

boolean

Optional. Is favorite.

severity

enum (InsightSeverityEnum)

Optional. The severity.

type

enum (InsightTypeEnum)

Optional. The type.

additionalDataType

enum (InsightTypeEnum)

Optional. The additional data type.

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.

InsightSeverityEnum

InsightSeverityEnum enum.

Enums
INFO Info.
WARN Warn.
ERROR Error.

InsightTypeEnum

InsightTypeEnum enum.

Enums
GENERAL General.
ENTITY Entity.