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 |
Updates the InspectTemplate. See https://cloud.google.com/dlp/docs/creating-templates to learn more.
See: Cloud Data Loss Prevention (DLP) API Reference for dlp.projects.inspectTemplates.patch
.
Synopsis
- type ProjectsInspectTemplatesPatchResource = "v2" :> (Capture "name" Text :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] GooglePrivacyDlpV2UpdateInspectTemplateRequest :> Patch '[JSON] GooglePrivacyDlpV2InspectTemplate))))))))
- projectsInspectTemplatesPatch :: GooglePrivacyDlpV2UpdateInspectTemplateRequest -> Text -> ProjectsInspectTemplatesPatch
- data ProjectsInspectTemplatesPatch
- pitpXgafv :: Lens' ProjectsInspectTemplatesPatch (Maybe Xgafv)
- pitpUploadProtocol :: Lens' ProjectsInspectTemplatesPatch (Maybe Text)
- pitpAccessToken :: Lens' ProjectsInspectTemplatesPatch (Maybe Text)
- pitpUploadType :: Lens' ProjectsInspectTemplatesPatch (Maybe Text)
- pitpPayload :: Lens' ProjectsInspectTemplatesPatch GooglePrivacyDlpV2UpdateInspectTemplateRequest
- pitpName :: Lens' ProjectsInspectTemplatesPatch Text
- pitpCallback :: Lens' ProjectsInspectTemplatesPatch (Maybe Text)
REST Resource
type ProjectsInspectTemplatesPatchResource = "v2" :> (Capture "name" Text :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] GooglePrivacyDlpV2UpdateInspectTemplateRequest :> Patch '[JSON] GooglePrivacyDlpV2InspectTemplate)))))))) Source #
A resource alias for dlp.projects.inspectTemplates.patch
method which the
ProjectsInspectTemplatesPatch
request conforms to.
Creating a Request
projectsInspectTemplatesPatch Source #
Creates a value of ProjectsInspectTemplatesPatch
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data ProjectsInspectTemplatesPatch Source #
Updates the InspectTemplate. See https://cloud.google.com/dlp/docs/creating-templates to learn more.
See: projectsInspectTemplatesPatch
smart constructor.
Instances
Request Lenses
pitpUploadProtocol :: Lens' ProjectsInspectTemplatesPatch (Maybe Text) Source #
Upload protocol for media (e.g. "raw", "multipart").
pitpAccessToken :: Lens' ProjectsInspectTemplatesPatch (Maybe Text) Source #
OAuth access token.
pitpUploadType :: Lens' ProjectsInspectTemplatesPatch (Maybe Text) Source #
Legacy upload protocol for media (e.g. "media", "multipart").
pitpPayload :: Lens' ProjectsInspectTemplatesPatch GooglePrivacyDlpV2UpdateInspectTemplateRequest Source #
Multipart request metadata.
pitpName :: Lens' ProjectsInspectTemplatesPatch Text Source #
Resource name of organization and inspectTemplate to be updated, for example `organizations/433245324/inspectTemplates/432452342` or projects/project-id/inspectTemplates/432452342.
pitpCallback :: Lens' ProjectsInspectTemplatesPatch (Maybe Text) Source #
JSONP