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 |
Deletes 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.delete
.
Synopsis
- type ProjectsDeidentifyTemplatesDeleteResource = "v2" :> (Capture "name" Text :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> Delete '[JSON] GoogleProtobufEmpty)))))))
- projectsDeidentifyTemplatesDelete :: Text -> ProjectsDeidentifyTemplatesDelete
- data ProjectsDeidentifyTemplatesDelete
- pdtdXgafv :: Lens' ProjectsDeidentifyTemplatesDelete (Maybe Xgafv)
- pdtdUploadProtocol :: Lens' ProjectsDeidentifyTemplatesDelete (Maybe Text)
- pdtdAccessToken :: Lens' ProjectsDeidentifyTemplatesDelete (Maybe Text)
- pdtdUploadType :: Lens' ProjectsDeidentifyTemplatesDelete (Maybe Text)
- pdtdName :: Lens' ProjectsDeidentifyTemplatesDelete Text
- pdtdCallback :: Lens' ProjectsDeidentifyTemplatesDelete (Maybe Text)
REST Resource
type ProjectsDeidentifyTemplatesDeleteResource = "v2" :> (Capture "name" Text :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> Delete '[JSON] GoogleProtobufEmpty))))))) Source #
A resource alias for dlp.projects.deidentifyTemplates.delete
method which the
ProjectsDeidentifyTemplatesDelete
request conforms to.
Creating a Request
projectsDeidentifyTemplatesDelete Source #
Creates a value of ProjectsDeidentifyTemplatesDelete
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data ProjectsDeidentifyTemplatesDelete Source #
Deletes a DeidentifyTemplate. See https://cloud.google.com/dlp/docs/creating-templates-deid to learn more.
See: projectsDeidentifyTemplatesDelete
smart constructor.
Instances
Request Lenses
pdtdUploadProtocol :: Lens' ProjectsDeidentifyTemplatesDelete (Maybe Text) Source #
Upload protocol for media (e.g. "raw", "multipart").
pdtdAccessToken :: Lens' ProjectsDeidentifyTemplatesDelete (Maybe Text) Source #
OAuth access token.
pdtdUploadType :: Lens' ProjectsDeidentifyTemplatesDelete (Maybe Text) Source #
Legacy upload protocol for media (e.g. "media", "multipart").