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 an InspectTemplate for re-using frequently used configuration for inspecting content, images, and storage. See https://cloud.google.com/dlp/docs/creating-templates to learn more.
See: Cloud Data Loss Prevention (DLP) API Reference for dlp.organizations.inspectTemplates.create
.
Synopsis
- type OrganizationsInspectTemplatesCreateResource = "v2" :> (Capture "parent" Text :> ("inspectTemplates" :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] GooglePrivacyDlpV2CreateInspectTemplateRequest :> Post '[JSON] GooglePrivacyDlpV2InspectTemplate)))))))))
- organizationsInspectTemplatesCreate :: Text -> GooglePrivacyDlpV2CreateInspectTemplateRequest -> OrganizationsInspectTemplatesCreate
- data OrganizationsInspectTemplatesCreate
- oitcParent :: Lens' OrganizationsInspectTemplatesCreate Text
- oitcXgafv :: Lens' OrganizationsInspectTemplatesCreate (Maybe Xgafv)
- oitcUploadProtocol :: Lens' OrganizationsInspectTemplatesCreate (Maybe Text)
- oitcAccessToken :: Lens' OrganizationsInspectTemplatesCreate (Maybe Text)
- oitcUploadType :: Lens' OrganizationsInspectTemplatesCreate (Maybe Text)
- oitcPayload :: Lens' OrganizationsInspectTemplatesCreate GooglePrivacyDlpV2CreateInspectTemplateRequest
- oitcCallback :: Lens' OrganizationsInspectTemplatesCreate (Maybe Text)
REST Resource
type OrganizationsInspectTemplatesCreateResource = "v2" :> (Capture "parent" Text :> ("inspectTemplates" :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] GooglePrivacyDlpV2CreateInspectTemplateRequest :> Post '[JSON] GooglePrivacyDlpV2InspectTemplate))))))))) Source #
A resource alias for dlp.organizations.inspectTemplates.create
method which the
OrganizationsInspectTemplatesCreate
request conforms to.
Creating a Request
organizationsInspectTemplatesCreate Source #
Creates a value of OrganizationsInspectTemplatesCreate
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data OrganizationsInspectTemplatesCreate Source #
Creates an InspectTemplate for re-using frequently used configuration for inspecting content, images, and storage. See https://cloud.google.com/dlp/docs/creating-templates to learn more.
See: organizationsInspectTemplatesCreate
smart constructor.
Instances
Request Lenses
oitcParent :: Lens' OrganizationsInspectTemplatesCreate Text Source #
The parent resource name, for example projects/my-project-id or organizations/my-org-id.
oitcUploadProtocol :: Lens' OrganizationsInspectTemplatesCreate (Maybe Text) Source #
Upload protocol for media (e.g. "raw", "multipart").
oitcAccessToken :: Lens' OrganizationsInspectTemplatesCreate (Maybe Text) Source #
OAuth access token.
oitcUploadType :: Lens' OrganizationsInspectTemplatesCreate (Maybe Text) Source #
Legacy upload protocol for media (e.g. "media", "multipart").
oitcPayload :: Lens' OrganizationsInspectTemplatesCreate GooglePrivacyDlpV2CreateInspectTemplateRequest Source #
Multipart request metadata.