Full name: projects.locations.instances.legacyPlaybooks.legacyCreateFeedback
legacyPlaybooks.legacyCreateFeedback creates a feedback for a playbook.
HTTP request
Path parameters
Parameters | |
---|---|
instance |
Required. The instance to create the feedback for. Format: projects/{project}/locations/{location}/instances/{instance} |
Request body
The request body contains data with the following structure:
JSON representation |
---|
{ "workflowInstanceId": string, "workflowDefinitionId": string, "alertId": string, "rating": string, "options": [ string ], "comment": string } |
Fields | |
---|---|
workflowInstanceId |
Required. The workflow instance id. |
workflowDefinitionId |
Required. The workflow definition id. |
alertId |
Required. The alert id. |
rating |
Required. The rating of the feedback. |
options[] |
Optional. The options selected by the user. |
comment |
Optional. The comment left by the user. |
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.