Method: legacyPlaybooks.legacyCreateFeedback

Full name: projects.locations.instances.legacyPlaybooks.legacyCreateFeedback

legacyPlaybooks.legacyCreateFeedback creates a feedback for a playbook.

HTTP request


Path parameters

Parameters
instance

string

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

string (int64 format)

Required. The workflow instance id.

workflowDefinitionId

string

Required. The workflow definition id.

alertId

string

Required. The alert id.

rating

string

Required. The rating of the feedback.

options[]

string

Optional. The options selected by the user.

comment

string

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.