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 stored infoType. See https://cloud.google.com/dlp/docs/creating-stored-infotypes to learn more.
See: Cloud Data Loss Prevention (DLP) API Reference for dlp.projects.storedInfoTypes.delete
.
Synopsis
- type ProjectsStoredInfoTypesDeleteResource = "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)))))))
- projectsStoredInfoTypesDelete :: Text -> ProjectsStoredInfoTypesDelete
- data ProjectsStoredInfoTypesDelete
- psitdXgafv :: Lens' ProjectsStoredInfoTypesDelete (Maybe Xgafv)
- psitdUploadProtocol :: Lens' ProjectsStoredInfoTypesDelete (Maybe Text)
- psitdAccessToken :: Lens' ProjectsStoredInfoTypesDelete (Maybe Text)
- psitdUploadType :: Lens' ProjectsStoredInfoTypesDelete (Maybe Text)
- psitdName :: Lens' ProjectsStoredInfoTypesDelete Text
- psitdCallback :: Lens' ProjectsStoredInfoTypesDelete (Maybe Text)
REST Resource
type ProjectsStoredInfoTypesDeleteResource = "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.storedInfoTypes.delete
method which the
ProjectsStoredInfoTypesDelete
request conforms to.
Creating a Request
projectsStoredInfoTypesDelete Source #
Creates a value of ProjectsStoredInfoTypesDelete
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data ProjectsStoredInfoTypesDelete Source #
Deletes a stored infoType. See https://cloud.google.com/dlp/docs/creating-stored-infotypes to learn more.
See: projectsStoredInfoTypesDelete
smart constructor.
Instances
Request Lenses
psitdXgafv :: Lens' ProjectsStoredInfoTypesDelete (Maybe Xgafv) Source #
V1 error format.
psitdUploadProtocol :: Lens' ProjectsStoredInfoTypesDelete (Maybe Text) Source #
Upload protocol for media (e.g. "raw", "multipart").
psitdAccessToken :: Lens' ProjectsStoredInfoTypesDelete (Maybe Text) Source #
OAuth access token.
psitdUploadType :: Lens' ProjectsStoredInfoTypesDelete (Maybe Text) Source #
Legacy upload protocol for media (e.g. "media", "multipart").
psitdName :: Lens' ProjectsStoredInfoTypesDelete Text Source #
Resource name of the organization and storedInfoType to be deleted, for example `organizations/433245324/storedInfoTypes/432452342` or projects/project-id/storedInfoTypes/432452342.
psitdCallback :: Lens' ProjectsStoredInfoTypesDelete (Maybe Text) Source #
JSONP