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 |
Creates a DeidentifyTemplate for re-using frequently used configuration for de-identifying content, images, and storage. 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.create
.
Synopsis
- type ProjectsDeidentifyTemplatesCreateResource = "v2" :> (Capture "parent" Text :> ("deidentifyTemplates" :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] GooglePrivacyDlpV2CreateDeidentifyTemplateRequest :> Post '[JSON] GooglePrivacyDlpV2DeidentifyTemplate)))))))))
- projectsDeidentifyTemplatesCreate :: Text -> GooglePrivacyDlpV2CreateDeidentifyTemplateRequest -> ProjectsDeidentifyTemplatesCreate
- data ProjectsDeidentifyTemplatesCreate
- pdtcParent :: Lens' ProjectsDeidentifyTemplatesCreate Text
- pdtcXgafv :: Lens' ProjectsDeidentifyTemplatesCreate (Maybe Xgafv)
- pdtcUploadProtocol :: Lens' ProjectsDeidentifyTemplatesCreate (Maybe Text)
- pdtcAccessToken :: Lens' ProjectsDeidentifyTemplatesCreate (Maybe Text)
- pdtcUploadType :: Lens' ProjectsDeidentifyTemplatesCreate (Maybe Text)
- pdtcPayload :: Lens' ProjectsDeidentifyTemplatesCreate GooglePrivacyDlpV2CreateDeidentifyTemplateRequest
- pdtcCallback :: Lens' ProjectsDeidentifyTemplatesCreate (Maybe Text)
REST Resource
type ProjectsDeidentifyTemplatesCreateResource = "v2" :> (Capture "parent" Text :> ("deidentifyTemplates" :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] GooglePrivacyDlpV2CreateDeidentifyTemplateRequest :> Post '[JSON] GooglePrivacyDlpV2DeidentifyTemplate))))))))) Source #
A resource alias for dlp.projects.deidentifyTemplates.create
method which the
ProjectsDeidentifyTemplatesCreate
request conforms to.
Creating a Request
projectsDeidentifyTemplatesCreate Source #
Creates a value of ProjectsDeidentifyTemplatesCreate
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data ProjectsDeidentifyTemplatesCreate Source #
Creates a DeidentifyTemplate for re-using frequently used configuration for de-identifying content, images, and storage. See https://cloud.google.com/dlp/docs/creating-templates-deid to learn more.
See: projectsDeidentifyTemplatesCreate
smart constructor.
Instances
Request Lenses
pdtcParent :: Lens' ProjectsDeidentifyTemplatesCreate Text Source #
The parent resource name, for example projects/my-project-id or organizations/my-org-id.
pdtcUploadProtocol :: Lens' ProjectsDeidentifyTemplatesCreate (Maybe Text) Source #
Upload protocol for media (e.g. "raw", "multipart").
pdtcAccessToken :: Lens' ProjectsDeidentifyTemplatesCreate (Maybe Text) Source #
OAuth access token.
pdtcUploadType :: Lens' ProjectsDeidentifyTemplatesCreate (Maybe Text) Source #
Legacy upload protocol for media (e.g. "media", "multipart").
pdtcPayload :: Lens' ProjectsDeidentifyTemplatesCreate GooglePrivacyDlpV2CreateDeidentifyTemplateRequest Source #
Multipart request metadata.