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 pre-built stored infoType to be used for inspection. 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.create
.
Synopsis
- type ProjectsStoredInfoTypesCreateResource = "v2" :> (Capture "parent" Text :> ("storedInfoTypes" :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] GooglePrivacyDlpV2CreateStoredInfoTypeRequest :> Post '[JSON] GooglePrivacyDlpV2StoredInfoType)))))))))
- projectsStoredInfoTypesCreate :: Text -> GooglePrivacyDlpV2CreateStoredInfoTypeRequest -> ProjectsStoredInfoTypesCreate
- data ProjectsStoredInfoTypesCreate
- psitcParent :: Lens' ProjectsStoredInfoTypesCreate Text
- psitcXgafv :: Lens' ProjectsStoredInfoTypesCreate (Maybe Xgafv)
- psitcUploadProtocol :: Lens' ProjectsStoredInfoTypesCreate (Maybe Text)
- psitcAccessToken :: Lens' ProjectsStoredInfoTypesCreate (Maybe Text)
- psitcUploadType :: Lens' ProjectsStoredInfoTypesCreate (Maybe Text)
- psitcPayload :: Lens' ProjectsStoredInfoTypesCreate GooglePrivacyDlpV2CreateStoredInfoTypeRequest
- psitcCallback :: Lens' ProjectsStoredInfoTypesCreate (Maybe Text)
REST Resource
type ProjectsStoredInfoTypesCreateResource = "v2" :> (Capture "parent" Text :> ("storedInfoTypes" :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] GooglePrivacyDlpV2CreateStoredInfoTypeRequest :> Post '[JSON] GooglePrivacyDlpV2StoredInfoType))))))))) Source #
A resource alias for dlp.projects.storedInfoTypes.create
method which the
ProjectsStoredInfoTypesCreate
request conforms to.
Creating a Request
projectsStoredInfoTypesCreate Source #
Creates a value of ProjectsStoredInfoTypesCreate
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data ProjectsStoredInfoTypesCreate Source #
Creates a pre-built stored infoType to be used for inspection. See https://cloud.google.com/dlp/docs/creating-stored-infotypes to learn more.
See: projectsStoredInfoTypesCreate
smart constructor.
Instances
Request Lenses
psitcParent :: Lens' ProjectsStoredInfoTypesCreate Text Source #
The parent resource name, for example projects/my-project-id or organizations/my-org-id.
psitcXgafv :: Lens' ProjectsStoredInfoTypesCreate (Maybe Xgafv) Source #
V1 error format.
psitcUploadProtocol :: Lens' ProjectsStoredInfoTypesCreate (Maybe Text) Source #
Upload protocol for media (e.g. "raw", "multipart").
psitcAccessToken :: Lens' ProjectsStoredInfoTypesCreate (Maybe Text) Source #
OAuth access token.
psitcUploadType :: Lens' ProjectsStoredInfoTypesCreate (Maybe Text) Source #
Legacy upload protocol for media (e.g. "media", "multipart").
psitcPayload :: Lens' ProjectsStoredInfoTypesCreate GooglePrivacyDlpV2CreateStoredInfoTypeRequest Source #
Multipart request metadata.
psitcCallback :: Lens' ProjectsStoredInfoTypesCreate (Maybe Text) Source #
JSONP