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 an InspectTemplate. See https://cloud.google.com/dlp/docs/creating-templates to learn more.
See: Cloud Data Loss Prevention (DLP) API Reference for dlp.projects.inspectTemplates.get
.
Synopsis
- type ProjectsInspectTemplatesGetResource = "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] GooglePrivacyDlpV2InspectTemplate)))))))
- projectsInspectTemplatesGet :: Text -> ProjectsInspectTemplatesGet
- data ProjectsInspectTemplatesGet
- pitgXgafv :: Lens' ProjectsInspectTemplatesGet (Maybe Xgafv)
- pitgUploadProtocol :: Lens' ProjectsInspectTemplatesGet (Maybe Text)
- pitgAccessToken :: Lens' ProjectsInspectTemplatesGet (Maybe Text)
- pitgUploadType :: Lens' ProjectsInspectTemplatesGet (Maybe Text)
- pitgName :: Lens' ProjectsInspectTemplatesGet Text
- pitgCallback :: Lens' ProjectsInspectTemplatesGet (Maybe Text)
REST Resource
type ProjectsInspectTemplatesGetResource = "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] GooglePrivacyDlpV2InspectTemplate))))))) Source #
A resource alias for dlp.projects.inspectTemplates.get
method which the
ProjectsInspectTemplatesGet
request conforms to.
Creating a Request
projectsInspectTemplatesGet Source #
Creates a value of ProjectsInspectTemplatesGet
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data ProjectsInspectTemplatesGet Source #
Gets an InspectTemplate. See https://cloud.google.com/dlp/docs/creating-templates to learn more.
See: projectsInspectTemplatesGet
smart constructor.
Instances
Request Lenses
pitgUploadProtocol :: Lens' ProjectsInspectTemplatesGet (Maybe Text) Source #
Upload protocol for media (e.g. "raw", "multipart").
pitgAccessToken :: Lens' ProjectsInspectTemplatesGet (Maybe Text) Source #
OAuth access token.
pitgUploadType :: Lens' ProjectsInspectTemplatesGet (Maybe Text) Source #
Legacy upload protocol for media (e.g. "media", "multipart").
pitgName :: Lens' ProjectsInspectTemplatesGet Text Source #
Resource name of the organization and inspectTemplate to be read, for example `organizations/433245324/inspectTemplates/432452342` or projects/project-id/inspectTemplates/432452342.
pitgCallback :: Lens' ProjectsInspectTemplatesGet (Maybe Text) Source #
JSONP