class AlertsFeedback extends Resource (View source)

The "feedback" collection of methods.

Typical usage is:

 $alertcenterService = new Google\Service\AlertCenter(...);
 $feedback = $alertcenterService->alerts_feedback;

Methods

create(string $alertId, AlertFeedback $postBody, array $optParams = [])

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.

listAlertsFeedback(string $alertId, array $optParams = [])

Lists all the feedback for an alert. Attempting to list feedbacks for a non- existent alert returns NOT_FOUND error. (feedback.listAlertsFeedback)

Details

AlertFeedback create(string $alertId, AlertFeedback $postBody, array $optParams = [])

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.

(feedback.create)

Parameters

string $alertId

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

AlertFeedback $postBody
array $optParams

Optional parameters.

Return Value

AlertFeedback

Exceptions

Exception

ListAlertFeedbackResponse listAlertsFeedback(string $alertId, array $optParams = [])

Lists all the feedback for an alert. Attempting to list feedbacks for a non- existent alert returns NOT_FOUND error. (feedback.listAlertsFeedback)

Parameters

string $alertId

Required. The alert identifier. The "-" wildcard could be used to represent all alerts.

array $optParams

Optional parameters.

Return Value

ListAlertFeedbackResponse

Exceptions

Exception