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 |
Returns a list of the sensitive information types that the DLP API supports. See https://cloud.google.com/dlp/docs/infotypes-reference to learn more.
See: Cloud Data Loss Prevention (DLP) API Reference for dlp.infoTypes.list
.
Synopsis
- type InfoTypesListResource = "v2" :> ("infoTypes" :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "languageCode" Text :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "filter" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> Get '[JSON] GooglePrivacyDlpV2ListInfoTypesResponse)))))))))
- infoTypesList :: InfoTypesList
- data InfoTypesList
- itlXgafv :: Lens' InfoTypesList (Maybe Xgafv)
- itlLanguageCode :: Lens' InfoTypesList (Maybe Text)
- itlUploadProtocol :: Lens' InfoTypesList (Maybe Text)
- itlAccessToken :: Lens' InfoTypesList (Maybe Text)
- itlUploadType :: Lens' InfoTypesList (Maybe Text)
- itlFilter :: Lens' InfoTypesList (Maybe Text)
- itlCallback :: Lens' InfoTypesList (Maybe Text)
REST Resource
type InfoTypesListResource = "v2" :> ("infoTypes" :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "languageCode" Text :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "filter" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> Get '[JSON] GooglePrivacyDlpV2ListInfoTypesResponse))))))))) Source #
A resource alias for dlp.infoTypes.list
method which the
InfoTypesList
request conforms to.
Creating a Request
infoTypesList :: InfoTypesList Source #
Creates a value of InfoTypesList
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data InfoTypesList Source #
Returns a list of the sensitive information types that the DLP API supports. See https://cloud.google.com/dlp/docs/infotypes-reference to learn more.
See: infoTypesList
smart constructor.
Instances
Request Lenses
itlLanguageCode :: Lens' InfoTypesList (Maybe Text) Source #
Optional BCP-47 language code for localized infoType friendly names. If omitted, or if localized strings are not available, en-US strings will be returned.
itlUploadProtocol :: Lens' InfoTypesList (Maybe Text) Source #
Upload protocol for media (e.g. "raw", "multipart").
itlAccessToken :: Lens' InfoTypesList (Maybe Text) Source #
OAuth access token.
itlUploadType :: Lens' InfoTypesList (Maybe Text) Source #
Legacy upload protocol for media (e.g. "media", "multipart").
itlFilter :: Lens' InfoTypesList (Maybe Text) Source #
Optional filter to only return infoTypes supported by certain parts of the API. Defaults to supported_by=INSPECT.
itlCallback :: Lens' InfoTypesList (Maybe Text) Source #
JSONP