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 |
Gets 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.get
.
Synopsis
- type ProjectsJobTriggersGetResource = "v2" :> (Capture "name" Text :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> Get '[JSON] GooglePrivacyDlpV2JobTrigger)))))))
- projectsJobTriggersGet :: Text -> ProjectsJobTriggersGet
- data ProjectsJobTriggersGet
- pjtgXgafv :: Lens' ProjectsJobTriggersGet (Maybe Xgafv)
- pjtgUploadProtocol :: Lens' ProjectsJobTriggersGet (Maybe Text)
- pjtgAccessToken :: Lens' ProjectsJobTriggersGet (Maybe Text)
- pjtgUploadType :: Lens' ProjectsJobTriggersGet (Maybe Text)
- pjtgName :: Lens' ProjectsJobTriggersGet Text
- pjtgCallback :: Lens' ProjectsJobTriggersGet (Maybe Text)
REST Resource
type ProjectsJobTriggersGetResource = "v2" :> (Capture "name" Text :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> Get '[JSON] GooglePrivacyDlpV2JobTrigger))))))) Source #
A resource alias for dlp.projects.jobTriggers.get
method which the
ProjectsJobTriggersGet
request conforms to.
Creating a Request
projectsJobTriggersGet Source #
Creates a value of ProjectsJobTriggersGet
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data ProjectsJobTriggersGet Source #
Gets a job trigger. See https://cloud.google.com/dlp/docs/creating-job-triggers to learn more.
See: projectsJobTriggersGet
smart constructor.
Instances
Request Lenses
pjtgUploadProtocol :: Lens' ProjectsJobTriggersGet (Maybe Text) Source #
Upload protocol for media (e.g. "raw", "multipart").
pjtgAccessToken :: Lens' ProjectsJobTriggersGet (Maybe Text) Source #
OAuth access token.
pjtgUploadType :: Lens' ProjectsJobTriggersGet (Maybe Text) Source #
Legacy upload protocol for media (e.g. "media", "multipart").
pjtgName :: Lens' ProjectsJobTriggersGet Text Source #
Resource name of the project and the triggeredJob, for example `projects/dlp-test-project/jobTriggers/53234423`.
pjtgCallback :: Lens' ProjectsJobTriggersGet (Maybe Text) Source #
JSONP