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 |
Creates an InspectTemplate for re-using frequently used configuration for inspecting content, images, and storage. See https://cloud.google.com/dlp/docs/creating-templates to learn more.
See: Cloud Data Loss Prevention (DLP) API Reference for dlp.projects.inspectTemplates.create
.
Synopsis
- type ProjectsInspectTemplatesCreateResource = "v2" :> (Capture "parent" Text :> ("inspectTemplates" :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] GooglePrivacyDlpV2CreateInspectTemplateRequest :> Post '[JSON] GooglePrivacyDlpV2InspectTemplate)))))))))
- projectsInspectTemplatesCreate :: Text -> GooglePrivacyDlpV2CreateInspectTemplateRequest -> ProjectsInspectTemplatesCreate
- data ProjectsInspectTemplatesCreate
- pitcParent :: Lens' ProjectsInspectTemplatesCreate Text
- pitcXgafv :: Lens' ProjectsInspectTemplatesCreate (Maybe Xgafv)
- pitcUploadProtocol :: Lens' ProjectsInspectTemplatesCreate (Maybe Text)
- pitcAccessToken :: Lens' ProjectsInspectTemplatesCreate (Maybe Text)
- pitcUploadType :: Lens' ProjectsInspectTemplatesCreate (Maybe Text)
- pitcPayload :: Lens' ProjectsInspectTemplatesCreate GooglePrivacyDlpV2CreateInspectTemplateRequest
- pitcCallback :: Lens' ProjectsInspectTemplatesCreate (Maybe Text)
REST Resource
type ProjectsInspectTemplatesCreateResource = "v2" :> (Capture "parent" Text :> ("inspectTemplates" :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] GooglePrivacyDlpV2CreateInspectTemplateRequest :> Post '[JSON] GooglePrivacyDlpV2InspectTemplate))))))))) Source #
A resource alias for dlp.projects.inspectTemplates.create
method which the
ProjectsInspectTemplatesCreate
request conforms to.
Creating a Request
projectsInspectTemplatesCreate Source #
Creates a value of ProjectsInspectTemplatesCreate
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data ProjectsInspectTemplatesCreate Source #
Creates an InspectTemplate for re-using frequently used configuration for inspecting content, images, and storage. See https://cloud.google.com/dlp/docs/creating-templates to learn more.
See: projectsInspectTemplatesCreate
smart constructor.
Instances
Request Lenses
pitcParent :: Lens' ProjectsInspectTemplatesCreate Text Source #
The parent resource name, for example projects/my-project-id or organizations/my-org-id.
pitcUploadProtocol :: Lens' ProjectsInspectTemplatesCreate (Maybe Text) Source #
Upload protocol for media (e.g. "raw", "multipart").
pitcAccessToken :: Lens' ProjectsInspectTemplatesCreate (Maybe Text) Source #
OAuth access token.
pitcUploadType :: Lens' ProjectsInspectTemplatesCreate (Maybe Text) Source #
Legacy upload protocol for media (e.g. "media", "multipart").
pitcPayload :: Lens' ProjectsInspectTemplatesCreate GooglePrivacyDlpV2CreateInspectTemplateRequest Source #
Multipart request metadata.
pitcCallback :: Lens' ProjectsInspectTemplatesCreate (Maybe Text) Source #
JSONP