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 a job trigger. See https://cloud.google.com/dlp/docs/creating-job-triggers to learn more.
See: Cloud Data Loss Prevention (DLP) API Reference for dlp.projects.jobTriggers.delete
.
Synopsis
- type ProjectsJobTriggersDeleteResource = "v2" :> (Capture "name" Text :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> Delete '[JSON] GoogleProtobufEmpty)))))))
- projectsJobTriggersDelete :: Text -> ProjectsJobTriggersDelete
- data ProjectsJobTriggersDelete
- pjtdXgafv :: Lens' ProjectsJobTriggersDelete (Maybe Xgafv)
- pjtdUploadProtocol :: Lens' ProjectsJobTriggersDelete (Maybe Text)
- pjtdAccessToken :: Lens' ProjectsJobTriggersDelete (Maybe Text)
- pjtdUploadType :: Lens' ProjectsJobTriggersDelete (Maybe Text)
- pjtdName :: Lens' ProjectsJobTriggersDelete Text
- pjtdCallback :: Lens' ProjectsJobTriggersDelete (Maybe Text)
REST Resource
type ProjectsJobTriggersDeleteResource = "v2" :> (Capture "name" Text :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> Delete '[JSON] GoogleProtobufEmpty))))))) Source #
A resource alias for dlp.projects.jobTriggers.delete
method which the
ProjectsJobTriggersDelete
request conforms to.
Creating a Request
projectsJobTriggersDelete Source #
Creates a value of ProjectsJobTriggersDelete
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data ProjectsJobTriggersDelete Source #
Deletes a job trigger. See https://cloud.google.com/dlp/docs/creating-job-triggers to learn more.
See: projectsJobTriggersDelete
smart constructor.
Instances
Request Lenses
pjtdUploadProtocol :: Lens' ProjectsJobTriggersDelete (Maybe Text) Source #
Upload protocol for media (e.g. "raw", "multipart").
pjtdAccessToken :: Lens' ProjectsJobTriggersDelete (Maybe Text) Source #
OAuth access token.
pjtdUploadType :: Lens' ProjectsJobTriggersDelete (Maybe Text) Source #
Legacy upload protocol for media (e.g. "media", "multipart").
pjtdName :: Lens' ProjectsJobTriggersDelete Text Source #
Resource name of the project and the triggeredJob, for example `projects/dlp-test-project/jobTriggers/53234423`.
pjtdCallback :: Lens' ProjectsJobTriggersDelete (Maybe Text) Source #
JSONP