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 |
Gets a stored infoType. 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.get
.
Synopsis
- type ProjectsStoredInfoTypesGetResource = "v2" :> (Capture "name" Text :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> Get '[JSON] GooglePrivacyDlpV2StoredInfoType)))))))
- projectsStoredInfoTypesGet :: Text -> ProjectsStoredInfoTypesGet
- data ProjectsStoredInfoTypesGet
- psitgXgafv :: Lens' ProjectsStoredInfoTypesGet (Maybe Xgafv)
- psitgUploadProtocol :: Lens' ProjectsStoredInfoTypesGet (Maybe Text)
- psitgAccessToken :: Lens' ProjectsStoredInfoTypesGet (Maybe Text)
- psitgUploadType :: Lens' ProjectsStoredInfoTypesGet (Maybe Text)
- psitgName :: Lens' ProjectsStoredInfoTypesGet Text
- psitgCallback :: Lens' ProjectsStoredInfoTypesGet (Maybe Text)
REST Resource
type ProjectsStoredInfoTypesGetResource = "v2" :> (Capture "name" Text :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> Get '[JSON] GooglePrivacyDlpV2StoredInfoType))))))) Source #
A resource alias for dlp.projects.storedInfoTypes.get
method which the
ProjectsStoredInfoTypesGet
request conforms to.
Creating a Request
projectsStoredInfoTypesGet Source #
Creates a value of ProjectsStoredInfoTypesGet
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data ProjectsStoredInfoTypesGet Source #
Gets a stored infoType. See https://cloud.google.com/dlp/docs/creating-stored-infotypes to learn more.
See: projectsStoredInfoTypesGet
smart constructor.
Instances
Request Lenses
psitgXgafv :: Lens' ProjectsStoredInfoTypesGet (Maybe Xgafv) Source #
V1 error format.
psitgUploadProtocol :: Lens' ProjectsStoredInfoTypesGet (Maybe Text) Source #
Upload protocol for media (e.g. "raw", "multipart").
psitgAccessToken :: Lens' ProjectsStoredInfoTypesGet (Maybe Text) Source #
OAuth access token.
psitgUploadType :: Lens' ProjectsStoredInfoTypesGet (Maybe Text) Source #
Legacy upload protocol for media (e.g. "media", "multipart").
psitgName :: Lens' ProjectsStoredInfoTypesGet Text Source #
Resource name of the organization and storedInfoType to be read, for example `organizations/433245324/storedInfoTypes/432452342` or projects/project-id/storedInfoTypes/432452342.
psitgCallback :: Lens' ProjectsStoredInfoTypesGet (Maybe Text) Source #
JSONP