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 DeidentifyTemplate. See https://cloud.google.com/dlp/docs/creating-templates-deid to learn more.
See: Cloud Data Loss Prevention (DLP) API Reference for dlp.projects.deidentifyTemplates.get
.
Synopsis
- type ProjectsDeidentifyTemplatesGetResource = "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] GooglePrivacyDlpV2DeidentifyTemplate)))))))
- projectsDeidentifyTemplatesGet :: Text -> ProjectsDeidentifyTemplatesGet
- data ProjectsDeidentifyTemplatesGet
- pdtgXgafv :: Lens' ProjectsDeidentifyTemplatesGet (Maybe Xgafv)
- pdtgUploadProtocol :: Lens' ProjectsDeidentifyTemplatesGet (Maybe Text)
- pdtgAccessToken :: Lens' ProjectsDeidentifyTemplatesGet (Maybe Text)
- pdtgUploadType :: Lens' ProjectsDeidentifyTemplatesGet (Maybe Text)
- pdtgName :: Lens' ProjectsDeidentifyTemplatesGet Text
- pdtgCallback :: Lens' ProjectsDeidentifyTemplatesGet (Maybe Text)
REST Resource
type ProjectsDeidentifyTemplatesGetResource = "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] GooglePrivacyDlpV2DeidentifyTemplate))))))) Source #
A resource alias for dlp.projects.deidentifyTemplates.get
method which the
ProjectsDeidentifyTemplatesGet
request conforms to.
Creating a Request
projectsDeidentifyTemplatesGet Source #
Creates a value of ProjectsDeidentifyTemplatesGet
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data ProjectsDeidentifyTemplatesGet Source #
Gets a DeidentifyTemplate. See https://cloud.google.com/dlp/docs/creating-templates-deid to learn more.
See: projectsDeidentifyTemplatesGet
smart constructor.
Instances
Request Lenses
pdtgUploadProtocol :: Lens' ProjectsDeidentifyTemplatesGet (Maybe Text) Source #
Upload protocol for media (e.g. "raw", "multipart").
pdtgAccessToken :: Lens' ProjectsDeidentifyTemplatesGet (Maybe Text) Source #
OAuth access token.
pdtgUploadType :: Lens' ProjectsDeidentifyTemplatesGet (Maybe Text) Source #
Legacy upload protocol for media (e.g. "media", "multipart").
pdtgName :: Lens' ProjectsDeidentifyTemplatesGet Text Source #
Resource name of the organization and deidentify template to be read, for example `organizations/433245324/deidentifyTemplates/432452342` or projects/project-id/deidentifyTemplates/432452342.
pdtgCallback :: Lens' ProjectsDeidentifyTemplatesGet (Maybe Text) Source #
JSONP