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 |
Updates the 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.patch
.
Synopsis
- type ProjectsDeidentifyTemplatesPatchResource = "v2" :> (Capture "name" Text :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] GooglePrivacyDlpV2UpdateDeidentifyTemplateRequest :> Patch '[JSON] GooglePrivacyDlpV2DeidentifyTemplate))))))))
- projectsDeidentifyTemplatesPatch :: GooglePrivacyDlpV2UpdateDeidentifyTemplateRequest -> Text -> ProjectsDeidentifyTemplatesPatch
- data ProjectsDeidentifyTemplatesPatch
- pdtpXgafv :: Lens' ProjectsDeidentifyTemplatesPatch (Maybe Xgafv)
- pdtpUploadProtocol :: Lens' ProjectsDeidentifyTemplatesPatch (Maybe Text)
- pdtpAccessToken :: Lens' ProjectsDeidentifyTemplatesPatch (Maybe Text)
- pdtpUploadType :: Lens' ProjectsDeidentifyTemplatesPatch (Maybe Text)
- pdtpPayload :: Lens' ProjectsDeidentifyTemplatesPatch GooglePrivacyDlpV2UpdateDeidentifyTemplateRequest
- pdtpName :: Lens' ProjectsDeidentifyTemplatesPatch Text
- pdtpCallback :: Lens' ProjectsDeidentifyTemplatesPatch (Maybe Text)
REST Resource
type ProjectsDeidentifyTemplatesPatchResource = "v2" :> (Capture "name" Text :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] GooglePrivacyDlpV2UpdateDeidentifyTemplateRequest :> Patch '[JSON] GooglePrivacyDlpV2DeidentifyTemplate)))))))) Source #
A resource alias for dlp.projects.deidentifyTemplates.patch
method which the
ProjectsDeidentifyTemplatesPatch
request conforms to.
Creating a Request
projectsDeidentifyTemplatesPatch Source #
Creates a value of ProjectsDeidentifyTemplatesPatch
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data ProjectsDeidentifyTemplatesPatch Source #
Updates the DeidentifyTemplate. See https://cloud.google.com/dlp/docs/creating-templates-deid to learn more.
See: projectsDeidentifyTemplatesPatch
smart constructor.
Instances
Request Lenses
pdtpUploadProtocol :: Lens' ProjectsDeidentifyTemplatesPatch (Maybe Text) Source #
Upload protocol for media (e.g. "raw", "multipart").
pdtpAccessToken :: Lens' ProjectsDeidentifyTemplatesPatch (Maybe Text) Source #
OAuth access token.
pdtpUploadType :: Lens' ProjectsDeidentifyTemplatesPatch (Maybe Text) Source #
Legacy upload protocol for media (e.g. "media", "multipart").
pdtpPayload :: Lens' ProjectsDeidentifyTemplatesPatch GooglePrivacyDlpV2UpdateDeidentifyTemplateRequest Source #
Multipart request metadata.