Copyright | (c) 2015-2016 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Language | Haskell2010 |
Lists all the feedback for an alert.
See: G Suite Alert Center API Reference for alertcenter.alerts.feedback.list
.
Synopsis
- type AlertsFeedbackListResource = "v1beta1" :> ("alerts" :> (Capture "alertId" Text :> ("feedback" :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "customerId" Text :> (QueryParam "filter" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> Get '[JSON] ListAlertFeedbackResponse)))))))))))
- alertsFeedbackList :: Text -> AlertsFeedbackList
- data AlertsFeedbackList
- aflXgafv :: Lens' AlertsFeedbackList (Maybe Xgafv)
- aflUploadProtocol :: Lens' AlertsFeedbackList (Maybe Text)
- aflAccessToken :: Lens' AlertsFeedbackList (Maybe Text)
- aflAlertId :: Lens' AlertsFeedbackList Text
- aflUploadType :: Lens' AlertsFeedbackList (Maybe Text)
- aflCustomerId :: Lens' AlertsFeedbackList (Maybe Text)
- aflFilter :: Lens' AlertsFeedbackList (Maybe Text)
- aflCallback :: Lens' AlertsFeedbackList (Maybe Text)
REST Resource
type AlertsFeedbackListResource = "v1beta1" :> ("alerts" :> (Capture "alertId" Text :> ("feedback" :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "customerId" Text :> (QueryParam "filter" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> Get '[JSON] ListAlertFeedbackResponse))))))))))) Source #
A resource alias for alertcenter.alerts.feedback.list
method which the
AlertsFeedbackList
request conforms to.
Creating a Request
Creates a value of AlertsFeedbackList
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data AlertsFeedbackList Source #
Lists all the feedback for an alert.
See: alertsFeedbackList
smart constructor.
Instances
Request Lenses
aflUploadProtocol :: Lens' AlertsFeedbackList (Maybe Text) Source #
Upload protocol for media (e.g. "raw", "multipart").
aflAccessToken :: Lens' AlertsFeedbackList (Maybe Text) Source #
OAuth access token.
aflAlertId :: Lens' AlertsFeedbackList Text Source #
Required. The alert identifier. The "-" wildcard could be used to represent all alerts. If alert does not exist returns a `NOT_FOUND` error.
aflUploadType :: Lens' AlertsFeedbackList (Maybe Text) Source #
Legacy upload protocol for media (e.g. "media", "multipart").
aflCustomerId :: Lens' AlertsFeedbackList (Maybe Text) Source #
Optional. The unique identifier of the G Suite organization account of the customer the alert feedback are associated with. Inferred from the caller identity if not provided.
aflFilter :: Lens' AlertsFeedbackList (Maybe Text) Source #
Optional. A query string for filtering alert feedback results. For more details, see Query filters and Supported query filter fields.
aflCallback :: Lens' AlertsFeedbackList (Maybe Text) Source #
JSONP