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 |
Redacts potentially sensitive info from an image. This method has limits on input size, processing time, and output size. See https://cloud.google.com/dlp/docs/redacting-sensitive-data-images 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.image.redact
.
Synopsis
- type ProjectsImageRedactResource = "v2" :> (Capture "parent" Text :> ("image:redact" :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] GooglePrivacyDlpV2RedactImageRequest :> Post '[JSON] GooglePrivacyDlpV2RedactImageResponse)))))))))
- projectsImageRedact :: Text -> GooglePrivacyDlpV2RedactImageRequest -> ProjectsImageRedact
- data ProjectsImageRedact
- pirParent :: Lens' ProjectsImageRedact Text
- pirXgafv :: Lens' ProjectsImageRedact (Maybe Xgafv)
- pirUploadProtocol :: Lens' ProjectsImageRedact (Maybe Text)
- pirAccessToken :: Lens' ProjectsImageRedact (Maybe Text)
- pirUploadType :: Lens' ProjectsImageRedact (Maybe Text)
- pirPayload :: Lens' ProjectsImageRedact GooglePrivacyDlpV2RedactImageRequest
- pirCallback :: Lens' ProjectsImageRedact (Maybe Text)
REST Resource
type ProjectsImageRedactResource = "v2" :> (Capture "parent" Text :> ("image:redact" :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] GooglePrivacyDlpV2RedactImageRequest :> Post '[JSON] GooglePrivacyDlpV2RedactImageResponse))))))))) Source #
A resource alias for dlp.projects.image.redact
method which the
ProjectsImageRedact
request conforms to.
Creating a Request
Creates a value of ProjectsImageRedact
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data ProjectsImageRedact Source #
Redacts potentially sensitive info from an image. This method has limits on input size, processing time, and output size. See https://cloud.google.com/dlp/docs/redacting-sensitive-data-images 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: projectsImageRedact
smart constructor.
Instances
Request Lenses
pirParent :: Lens' ProjectsImageRedact Text Source #
The parent resource name, for example projects/my-project-id.
pirUploadProtocol :: Lens' ProjectsImageRedact (Maybe Text) Source #
Upload protocol for media (e.g. "raw", "multipart").
pirAccessToken :: Lens' ProjectsImageRedact (Maybe Text) Source #
OAuth access token.
pirUploadType :: Lens' ProjectsImageRedact (Maybe Text) Source #
Legacy upload protocol for media (e.g. "media", "multipart").
pirPayload :: Lens' ProjectsImageRedact GooglePrivacyDlpV2RedactImageRequest Source #
Multipart request metadata.
pirCallback :: Lens' ProjectsImageRedact (Maybe Text) Source #
JSONP