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 stored infoType by creating a new version. The existing version will continue to be used until the new version is ready. See https://cloud.google.com/dlp/docs/creating-stored-infotypes to learn more.
See: Cloud Data Loss Prevention (DLP) API Reference for dlp.projects.storedInfoTypes.patch
.
Synopsis
- type ProjectsStoredInfoTypesPatchResource = "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] GooglePrivacyDlpV2UpdateStoredInfoTypeRequest :> Patch '[JSON] GooglePrivacyDlpV2StoredInfoType))))))))
- projectsStoredInfoTypesPatch :: GooglePrivacyDlpV2UpdateStoredInfoTypeRequest -> Text -> ProjectsStoredInfoTypesPatch
- data ProjectsStoredInfoTypesPatch
- psitpXgafv :: Lens' ProjectsStoredInfoTypesPatch (Maybe Xgafv)
- psitpUploadProtocol :: Lens' ProjectsStoredInfoTypesPatch (Maybe Text)
- psitpAccessToken :: Lens' ProjectsStoredInfoTypesPatch (Maybe Text)
- psitpUploadType :: Lens' ProjectsStoredInfoTypesPatch (Maybe Text)
- psitpPayload :: Lens' ProjectsStoredInfoTypesPatch GooglePrivacyDlpV2UpdateStoredInfoTypeRequest
- psitpName :: Lens' ProjectsStoredInfoTypesPatch Text
- psitpCallback :: Lens' ProjectsStoredInfoTypesPatch (Maybe Text)
REST Resource
type ProjectsStoredInfoTypesPatchResource = "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] GooglePrivacyDlpV2UpdateStoredInfoTypeRequest :> Patch '[JSON] GooglePrivacyDlpV2StoredInfoType)))))))) Source #
A resource alias for dlp.projects.storedInfoTypes.patch
method which the
ProjectsStoredInfoTypesPatch
request conforms to.
Creating a Request
projectsStoredInfoTypesPatch Source #
Creates a value of ProjectsStoredInfoTypesPatch
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data ProjectsStoredInfoTypesPatch Source #
Updates the stored infoType by creating a new version. The existing version will continue to be used until the new version is ready. See https://cloud.google.com/dlp/docs/creating-stored-infotypes to learn more.
See: projectsStoredInfoTypesPatch
smart constructor.
Instances
Request Lenses
psitpXgafv :: Lens' ProjectsStoredInfoTypesPatch (Maybe Xgafv) Source #
V1 error format.
psitpUploadProtocol :: Lens' ProjectsStoredInfoTypesPatch (Maybe Text) Source #
Upload protocol for media (e.g. "raw", "multipart").
psitpAccessToken :: Lens' ProjectsStoredInfoTypesPatch (Maybe Text) Source #
OAuth access token.
psitpUploadType :: Lens' ProjectsStoredInfoTypesPatch (Maybe Text) Source #
Legacy upload protocol for media (e.g. "media", "multipart").
psitpPayload :: Lens' ProjectsStoredInfoTypesPatch GooglePrivacyDlpV2UpdateStoredInfoTypeRequest Source #
Multipart request metadata.
psitpName :: Lens' ProjectsStoredInfoTypesPatch Text Source #
Resource name of organization and storedInfoType to be updated, for example `organizations/433245324/storedInfoTypes/432452342` or projects/project-id/storedInfoTypes/432452342.
psitpCallback :: Lens' ProjectsStoredInfoTypesPatch (Maybe Text) Source #
JSONP