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 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.delete
.
Synopsis
- type ProjectsInspectTemplatesDeleteResource = "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)))))))
- projectsInspectTemplatesDelete :: Text -> ProjectsInspectTemplatesDelete
- data ProjectsInspectTemplatesDelete
- pitdXgafv :: Lens' ProjectsInspectTemplatesDelete (Maybe Xgafv)
- pitdUploadProtocol :: Lens' ProjectsInspectTemplatesDelete (Maybe Text)
- pitdAccessToken :: Lens' ProjectsInspectTemplatesDelete (Maybe Text)
- pitdUploadType :: Lens' ProjectsInspectTemplatesDelete (Maybe Text)
- pitdName :: Lens' ProjectsInspectTemplatesDelete Text
- pitdCallback :: Lens' ProjectsInspectTemplatesDelete (Maybe Text)
REST Resource
type ProjectsInspectTemplatesDeleteResource = "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.inspectTemplates.delete
method which the
ProjectsInspectTemplatesDelete
request conforms to.
Creating a Request
projectsInspectTemplatesDelete Source #
Creates a value of ProjectsInspectTemplatesDelete
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data ProjectsInspectTemplatesDelete Source #
Deletes an InspectTemplate. See https://cloud.google.com/dlp/docs/creating-templates to learn more.
See: projectsInspectTemplatesDelete
smart constructor.
Instances
Request Lenses
pitdUploadProtocol :: Lens' ProjectsInspectTemplatesDelete (Maybe Text) Source #
Upload protocol for media (e.g. "raw", "multipart").
pitdAccessToken :: Lens' ProjectsInspectTemplatesDelete (Maybe Text) Source #
OAuth access token.
pitdUploadType :: Lens' ProjectsInspectTemplatesDelete (Maybe Text) Source #
Legacy upload protocol for media (e.g. "media", "multipart").
pitdName :: Lens' ProjectsInspectTemplatesDelete Text Source #
Resource name of the organization and inspectTemplate to be deleted, for example `organizations/433245324/inspectTemplates/432452342` or projects/project-id/inspectTemplates/432452342.
pitdCallback :: Lens' ProjectsInspectTemplatesDelete (Maybe Text) Source #
JSONP