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.organizations.storedInfoTypes.create
.
Synopsis
- type OrganizationsStoredInfoTypesCreateResource = "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)))))))))
- organizationsStoredInfoTypesCreate :: Text -> GooglePrivacyDlpV2CreateStoredInfoTypeRequest -> OrganizationsStoredInfoTypesCreate
- data OrganizationsStoredInfoTypesCreate
- ositcParent :: Lens' OrganizationsStoredInfoTypesCreate Text
- ositcXgafv :: Lens' OrganizationsStoredInfoTypesCreate (Maybe Xgafv)
- ositcUploadProtocol :: Lens' OrganizationsStoredInfoTypesCreate (Maybe Text)
- ositcAccessToken :: Lens' OrganizationsStoredInfoTypesCreate (Maybe Text)
- ositcUploadType :: Lens' OrganizationsStoredInfoTypesCreate (Maybe Text)
- ositcPayload :: Lens' OrganizationsStoredInfoTypesCreate GooglePrivacyDlpV2CreateStoredInfoTypeRequest
- ositcCallback :: Lens' OrganizationsStoredInfoTypesCreate (Maybe Text)
REST Resource
type OrganizationsStoredInfoTypesCreateResource = "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.organizations.storedInfoTypes.create
method which the
OrganizationsStoredInfoTypesCreate
request conforms to.
Creating a Request
organizationsStoredInfoTypesCreate Source #
Creates a value of OrganizationsStoredInfoTypesCreate
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data OrganizationsStoredInfoTypesCreate 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: organizationsStoredInfoTypesCreate
smart constructor.
Instances
Request Lenses
ositcParent :: Lens' OrganizationsStoredInfoTypesCreate Text Source #
The parent resource name, for example projects/my-project-id or organizations/my-org-id.
ositcXgafv :: Lens' OrganizationsStoredInfoTypesCreate (Maybe Xgafv) Source #
V1 error format.
ositcUploadProtocol :: Lens' OrganizationsStoredInfoTypesCreate (Maybe Text) Source #
Upload protocol for media (e.g. "raw", "multipart").
ositcAccessToken :: Lens' OrganizationsStoredInfoTypesCreate (Maybe Text) Source #
OAuth access token.
ositcUploadType :: Lens' OrganizationsStoredInfoTypesCreate (Maybe Text) Source #
Legacy upload protocol for media (e.g. "media", "multipart").
ositcPayload :: Lens' OrganizationsStoredInfoTypesCreate GooglePrivacyDlpV2CreateStoredInfoTypeRequest Source #
Multipart request metadata.