Full name: projects.locations.instances.generateSoarChatMessage
Generates a SOAR chat message based on the given intent.
HTTP request
Path parameters
Parameters | |
---|---|
instance |
Required. The name of the parent resource, which is the SecOps instance associated with the request. Format: projects/{project}/locations/{location}/instances/{instance} |
Request body
The request body contains data with the following structure:
JSON representation |
---|
{ "intent": enum ( |
Fields | |
---|---|
intent |
Required. The intent of the message. |
userPrompt |
Required. The user's prompt. |
context |
Required. The message's context. The context holds the information that is needed to generate the message. |
Response body
If successful, the response body contains an instance of MessageResponse
.
Authorization scopes
Requires the following OAuth scope:
https://www.googleapis.com/auth/cloud-platform
For more information, see the Authentication Overview.
IntentEnum
An open enumeration of all SOAR's supported chat intents. LINT.IfChange(intent_enum)
Enums | |
---|---|
INTENT_ENUM_UNSPECIFIED |
Represents a nullish value for the enum. |
CASE_INTROSPECTION |
Represents intent for SOAR case introspection. |
ALERT_INTROSPECTION |
Represents intent for SOAR alert introspection. |
PLAYBOOK_INTROSPECTION |
Represents intent for SOAR playbook introspection. |