v1

latestOpenAPI 3.0.0Creative Commons Attribution 3.02026-07-13117665.0 KB
alerts

Creates new feedback for an alert. Attempting to create a feedback for a non-existent alert returns NOT_FOUND error. Attempting to create a feedback for an alert that is marked for deletion returns `FAILED_PRECONDITION' error.

post/v1beta1/alerts/{alertId}/feedback

Path parameters

alertIdstring required

Required. The identifier of the alert this feedback belongs to.

Query parameters

customerIdstring

Optional. The unique identifier of the Google Workspace account of the customer the alert is associated with. The customer_id must have the initial "C" stripped (for example, 046psxkn). Inferred from the caller identity if not provided. Find your customer ID.

Request body

alertIdstring

Output only. The alert identifier.

emailstring

Output only. The email of the user that provided the feedback.

feedbackIdstring

Output only. The unique identifier for the feedback.

createTimestring google-datetime

Output only. The time this feedback was created.

customerIdstring

Output only. The unique identifier of the Google Workspace account of the customer.

type'ALERT_FEEDBACK_TYPE_UNSPECIFIED' | 'NOT_USEFUL' | 'SOMEWHAT_USEFUL' | 'VERY_USEFUL'

Required. The type of the feedback.

Response

Successful response