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.organizations.inspectTemplates.patch
.
Synopsis
- type OrganizationsInspectTemplatesPatchResource = "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))))))))
- organizationsInspectTemplatesPatch :: GooglePrivacyDlpV2UpdateInspectTemplateRequest -> Text -> OrganizationsInspectTemplatesPatch
- data OrganizationsInspectTemplatesPatch
- oitpXgafv :: Lens' OrganizationsInspectTemplatesPatch (Maybe Xgafv)
- oitpUploadProtocol :: Lens' OrganizationsInspectTemplatesPatch (Maybe Text)
- oitpAccessToken :: Lens' OrganizationsInspectTemplatesPatch (Maybe Text)
- oitpUploadType :: Lens' OrganizationsInspectTemplatesPatch (Maybe Text)
- oitpPayload :: Lens' OrganizationsInspectTemplatesPatch GooglePrivacyDlpV2UpdateInspectTemplateRequest
- oitpName :: Lens' OrganizationsInspectTemplatesPatch Text
- oitpCallback :: Lens' OrganizationsInspectTemplatesPatch (Maybe Text)
REST Resource
type OrganizationsInspectTemplatesPatchResource = "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.organizations.inspectTemplates.patch
method which the
OrganizationsInspectTemplatesPatch
request conforms to.
Creating a Request
organizationsInspectTemplatesPatch Source #
Creates a value of OrganizationsInspectTemplatesPatch
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data OrganizationsInspectTemplatesPatch Source #
Updates the InspectTemplate. See https://cloud.google.com/dlp/docs/creating-templates to learn more.
See: organizationsInspectTemplatesPatch
smart constructor.
Instances
Request Lenses
oitpUploadProtocol :: Lens' OrganizationsInspectTemplatesPatch (Maybe Text) Source #
Upload protocol for media (e.g. "raw", "multipart").
oitpAccessToken :: Lens' OrganizationsInspectTemplatesPatch (Maybe Text) Source #
OAuth access token.
oitpUploadType :: Lens' OrganizationsInspectTemplatesPatch (Maybe Text) Source #
Legacy upload protocol for media (e.g. "media", "multipart").
oitpPayload :: Lens' OrganizationsInspectTemplatesPatch GooglePrivacyDlpV2UpdateInspectTemplateRequest Source #
Multipart request metadata.