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 |
Deletes all error events of a given project.
See: Stackdriver Error Reporting API Reference for clouderrorreporting.projects.deleteEvents
.
Synopsis
- type ProjectsDeleteEventsResource = "v1beta1" :> (Capture "projectName" Text :> ("events" :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> Delete '[JSON] DeleteEventsResponse))))))))
- projectsDeleteEvents :: Text -> ProjectsDeleteEvents
- data ProjectsDeleteEvents
- pdeXgafv :: Lens' ProjectsDeleteEvents (Maybe Xgafv)
- pdeUploadProtocol :: Lens' ProjectsDeleteEvents (Maybe Text)
- pdeAccessToken :: Lens' ProjectsDeleteEvents (Maybe Text)
- pdeUploadType :: Lens' ProjectsDeleteEvents (Maybe Text)
- pdeProjectName :: Lens' ProjectsDeleteEvents Text
- pdeCallback :: Lens' ProjectsDeleteEvents (Maybe Text)
REST Resource
type ProjectsDeleteEventsResource = "v1beta1" :> (Capture "projectName" Text :> ("events" :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> Delete '[JSON] DeleteEventsResponse)))))))) Source #
A resource alias for clouderrorreporting.projects.deleteEvents
method which the
ProjectsDeleteEvents
request conforms to.
Creating a Request
Creates a value of ProjectsDeleteEvents
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data ProjectsDeleteEvents Source #
Deletes all error events of a given project.
See: projectsDeleteEvents
smart constructor.
Instances
Request Lenses
pdeUploadProtocol :: Lens' ProjectsDeleteEvents (Maybe Text) Source #
Upload protocol for media (e.g. "raw", "multipart").
pdeAccessToken :: Lens' ProjectsDeleteEvents (Maybe Text) Source #
OAuth access token.
pdeUploadType :: Lens' ProjectsDeleteEvents (Maybe Text) Source #
Legacy upload protocol for media (e.g. "media", "multipart").
pdeProjectName :: Lens' ProjectsDeleteEvents Text Source #
- Required
- The resource name of the Google Cloud Platform project. Written as `projects/` plus the Google Cloud Platform project ID. Example: `projects/my-project-123`.
pdeCallback :: Lens' ProjectsDeleteEvents (Maybe Text) Source #
JSONP