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 |
De-identifies potentially sensitive info from a ContentItem. This method has limits on input size and output size. See https://cloud.google.com/dlp/docs/deidentify-sensitive-data to learn more. When no InfoTypes or CustomInfoTypes are specified in this request, the system will automatically choose what detectors to run. By default this may be all types, but may change over time as detectors are updated.
See: Cloud Data Loss Prevention (DLP) API Reference for dlp.projects.content.deidentify
.
Synopsis
- type ProjectsContentDeidentifyResource = "v2" :> (Capture "parent" Text :> ("content:deidentify" :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] GooglePrivacyDlpV2DeidentifyContentRequest :> Post '[JSON] GooglePrivacyDlpV2DeidentifyContentResponse)))))))))
- projectsContentDeidentify :: Text -> GooglePrivacyDlpV2DeidentifyContentRequest -> ProjectsContentDeidentify
- data ProjectsContentDeidentify
- pcdParent :: Lens' ProjectsContentDeidentify Text
- pcdXgafv :: Lens' ProjectsContentDeidentify (Maybe Xgafv)
- pcdUploadProtocol :: Lens' ProjectsContentDeidentify (Maybe Text)
- pcdAccessToken :: Lens' ProjectsContentDeidentify (Maybe Text)
- pcdUploadType :: Lens' ProjectsContentDeidentify (Maybe Text)
- pcdPayload :: Lens' ProjectsContentDeidentify GooglePrivacyDlpV2DeidentifyContentRequest
- pcdCallback :: Lens' ProjectsContentDeidentify (Maybe Text)
REST Resource
type ProjectsContentDeidentifyResource = "v2" :> (Capture "parent" Text :> ("content:deidentify" :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] GooglePrivacyDlpV2DeidentifyContentRequest :> Post '[JSON] GooglePrivacyDlpV2DeidentifyContentResponse))))))))) Source #
A resource alias for dlp.projects.content.deidentify
method which the
ProjectsContentDeidentify
request conforms to.
Creating a Request
projectsContentDeidentify Source #
Creates a value of ProjectsContentDeidentify
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data ProjectsContentDeidentify Source #
De-identifies potentially sensitive info from a ContentItem. This method has limits on input size and output size. See https://cloud.google.com/dlp/docs/deidentify-sensitive-data to learn more. When no InfoTypes or CustomInfoTypes are specified in this request, the system will automatically choose what detectors to run. By default this may be all types, but may change over time as detectors are updated.
See: projectsContentDeidentify
smart constructor.
Instances
Request Lenses
pcdParent :: Lens' ProjectsContentDeidentify Text Source #
The parent resource name, for example projects/my-project-id.
pcdUploadProtocol :: Lens' ProjectsContentDeidentify (Maybe Text) Source #
Upload protocol for media (e.g. "raw", "multipart").
pcdAccessToken :: Lens' ProjectsContentDeidentify (Maybe Text) Source #
OAuth access token.
pcdUploadType :: Lens' ProjectsContentDeidentify (Maybe Text) Source #
Legacy upload protocol for media (e.g. "media", "multipart").
pcdPayload :: Lens' ProjectsContentDeidentify GooglePrivacyDlpV2DeidentifyContentRequest Source #
Multipart request metadata.
pcdCallback :: Lens' ProjectsContentDeidentify (Maybe Text) Source #
JSONP