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 a DeidentifyTemplate for re-using frequently used configuration for de-identifying content, images, and storage. See https://cloud.google.com/dlp/docs/creating-templates-deid to learn more.
See: Cloud Data Loss Prevention (DLP) API Reference for dlp.organizations.deidentifyTemplates.create
.
Synopsis
- type OrganizationsDeidentifyTemplatesCreateResource = "v2" :> (Capture "parent" Text :> ("deidentifyTemplates" :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] GooglePrivacyDlpV2CreateDeidentifyTemplateRequest :> Post '[JSON] GooglePrivacyDlpV2DeidentifyTemplate)))))))))
- organizationsDeidentifyTemplatesCreate :: Text -> GooglePrivacyDlpV2CreateDeidentifyTemplateRequest -> OrganizationsDeidentifyTemplatesCreate
- data OrganizationsDeidentifyTemplatesCreate
- odtcParent :: Lens' OrganizationsDeidentifyTemplatesCreate Text
- odtcXgafv :: Lens' OrganizationsDeidentifyTemplatesCreate (Maybe Xgafv)
- odtcUploadProtocol :: Lens' OrganizationsDeidentifyTemplatesCreate (Maybe Text)
- odtcAccessToken :: Lens' OrganizationsDeidentifyTemplatesCreate (Maybe Text)
- odtcUploadType :: Lens' OrganizationsDeidentifyTemplatesCreate (Maybe Text)
- odtcPayload :: Lens' OrganizationsDeidentifyTemplatesCreate GooglePrivacyDlpV2CreateDeidentifyTemplateRequest
- odtcCallback :: Lens' OrganizationsDeidentifyTemplatesCreate (Maybe Text)
REST Resource
type OrganizationsDeidentifyTemplatesCreateResource = "v2" :> (Capture "parent" Text :> ("deidentifyTemplates" :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] GooglePrivacyDlpV2CreateDeidentifyTemplateRequest :> Post '[JSON] GooglePrivacyDlpV2DeidentifyTemplate))))))))) Source #
A resource alias for dlp.organizations.deidentifyTemplates.create
method which the
OrganizationsDeidentifyTemplatesCreate
request conforms to.
Creating a Request
organizationsDeidentifyTemplatesCreate Source #
:: Text | |
-> GooglePrivacyDlpV2CreateDeidentifyTemplateRequest | |
-> OrganizationsDeidentifyTemplatesCreate |
Creates a value of OrganizationsDeidentifyTemplatesCreate
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data OrganizationsDeidentifyTemplatesCreate Source #
Creates a DeidentifyTemplate for re-using frequently used configuration for de-identifying content, images, and storage. See https://cloud.google.com/dlp/docs/creating-templates-deid to learn more.
See: organizationsDeidentifyTemplatesCreate
smart constructor.
Instances
Request Lenses
odtcParent :: Lens' OrganizationsDeidentifyTemplatesCreate Text Source #
The parent resource name, for example projects/my-project-id or organizations/my-org-id.
odtcUploadProtocol :: Lens' OrganizationsDeidentifyTemplatesCreate (Maybe Text) Source #
Upload protocol for media (e.g. "raw", "multipart").
odtcAccessToken :: Lens' OrganizationsDeidentifyTemplatesCreate (Maybe Text) Source #
OAuth access token.
odtcUploadType :: Lens' OrganizationsDeidentifyTemplatesCreate (Maybe Text) Source #
Legacy upload protocol for media (e.g. "media", "multipart").
odtcPayload :: Lens' OrganizationsDeidentifyTemplatesCreate GooglePrivacyDlpV2CreateDeidentifyTemplateRequest Source #
Multipart request metadata.