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.organizations.storedInfoTypes.patch
.
Synopsis
- type OrganizationsStoredInfoTypesPatchResource = "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))))))))
- organizationsStoredInfoTypesPatch :: GooglePrivacyDlpV2UpdateStoredInfoTypeRequest -> Text -> OrganizationsStoredInfoTypesPatch
- data OrganizationsStoredInfoTypesPatch
- ositpXgafv :: Lens' OrganizationsStoredInfoTypesPatch (Maybe Xgafv)
- ositpUploadProtocol :: Lens' OrganizationsStoredInfoTypesPatch (Maybe Text)
- ositpAccessToken :: Lens' OrganizationsStoredInfoTypesPatch (Maybe Text)
- ositpUploadType :: Lens' OrganizationsStoredInfoTypesPatch (Maybe Text)
- ositpPayload :: Lens' OrganizationsStoredInfoTypesPatch GooglePrivacyDlpV2UpdateStoredInfoTypeRequest
- ositpName :: Lens' OrganizationsStoredInfoTypesPatch Text
- ositpCallback :: Lens' OrganizationsStoredInfoTypesPatch (Maybe Text)
REST Resource
type OrganizationsStoredInfoTypesPatchResource = "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.organizations.storedInfoTypes.patch
method which the
OrganizationsStoredInfoTypesPatch
request conforms to.
Creating a Request
organizationsStoredInfoTypesPatch Source #
Creates a value of OrganizationsStoredInfoTypesPatch
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data OrganizationsStoredInfoTypesPatch 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: organizationsStoredInfoTypesPatch
smart constructor.
Instances
Request Lenses
ositpXgafv :: Lens' OrganizationsStoredInfoTypesPatch (Maybe Xgafv) Source #
V1 error format.
ositpUploadProtocol :: Lens' OrganizationsStoredInfoTypesPatch (Maybe Text) Source #
Upload protocol for media (e.g. "raw", "multipart").
ositpAccessToken :: Lens' OrganizationsStoredInfoTypesPatch (Maybe Text) Source #
OAuth access token.
ositpUploadType :: Lens' OrganizationsStoredInfoTypesPatch (Maybe Text) Source #
Legacy upload protocol for media (e.g. "media", "multipart").
ositpPayload :: Lens' OrganizationsStoredInfoTypesPatch GooglePrivacyDlpV2UpdateStoredInfoTypeRequest Source #
Multipart request metadata.