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 |
Finds potentially sensitive info in content. This method has limits on input size, processing time, and output size. 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. For how to guides, see https://cloud.google.com/dlp/docs/inspecting-images and https://cloud.google.com/dlp/docs/inspecting-text,
See: Cloud Data Loss Prevention (DLP) API Reference for dlp.projects.content.inspect
.
Synopsis
- type ProjectsContentInspectResource = "v2" :> (Capture "parent" Text :> ("content:inspect" :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] GooglePrivacyDlpV2InspectContentRequest :> Post '[JSON] GooglePrivacyDlpV2InspectContentResponse)))))))))
- projectsContentInspect :: Text -> GooglePrivacyDlpV2InspectContentRequest -> ProjectsContentInspect
- data ProjectsContentInspect
- pciParent :: Lens' ProjectsContentInspect Text
- pciXgafv :: Lens' ProjectsContentInspect (Maybe Xgafv)
- pciUploadProtocol :: Lens' ProjectsContentInspect (Maybe Text)
- pciAccessToken :: Lens' ProjectsContentInspect (Maybe Text)
- pciUploadType :: Lens' ProjectsContentInspect (Maybe Text)
- pciPayload :: Lens' ProjectsContentInspect GooglePrivacyDlpV2InspectContentRequest
- pciCallback :: Lens' ProjectsContentInspect (Maybe Text)
REST Resource
type ProjectsContentInspectResource = "v2" :> (Capture "parent" Text :> ("content:inspect" :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] GooglePrivacyDlpV2InspectContentRequest :> Post '[JSON] GooglePrivacyDlpV2InspectContentResponse))))))))) Source #
A resource alias for dlp.projects.content.inspect
method which the
ProjectsContentInspect
request conforms to.
Creating a Request
projectsContentInspect Source #
Creates a value of ProjectsContentInspect
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data ProjectsContentInspect Source #
Finds potentially sensitive info in content. This method has limits on input size, processing time, and output size. 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. For how to guides, see https://cloud.google.com/dlp/docs/inspecting-images and https://cloud.google.com/dlp/docs/inspecting-text,
See: projectsContentInspect
smart constructor.
Instances
Request Lenses
pciParent :: Lens' ProjectsContentInspect Text Source #
The parent resource name, for example projects/my-project-id.
pciUploadProtocol :: Lens' ProjectsContentInspect (Maybe Text) Source #
Upload protocol for media (e.g. "raw", "multipart").
pciAccessToken :: Lens' ProjectsContentInspect (Maybe Text) Source #
OAuth access token.
pciUploadType :: Lens' ProjectsContentInspect (Maybe Text) Source #
Legacy upload protocol for media (e.g. "media", "multipart").
pciPayload :: Lens' ProjectsContentInspect GooglePrivacyDlpV2InspectContentRequest Source #
Multipart request metadata.
pciCallback :: Lens' ProjectsContentInspect (Maybe Text) Source #
JSONP