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 an InspectTemplate. See https://cloud.google.com/dlp/docs/creating-templates to learn more.
See: Cloud Data Loss Prevention (DLP) API Reference for dlp.organizations.inspectTemplates.get
.
Synopsis
- type OrganizationsInspectTemplatesGetResource = "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] GooglePrivacyDlpV2InspectTemplate)))))))
- organizationsInspectTemplatesGet :: Text -> OrganizationsInspectTemplatesGet
- data OrganizationsInspectTemplatesGet
- oitgXgafv :: Lens' OrganizationsInspectTemplatesGet (Maybe Xgafv)
- oitgUploadProtocol :: Lens' OrganizationsInspectTemplatesGet (Maybe Text)
- oitgAccessToken :: Lens' OrganizationsInspectTemplatesGet (Maybe Text)
- oitgUploadType :: Lens' OrganizationsInspectTemplatesGet (Maybe Text)
- oitgName :: Lens' OrganizationsInspectTemplatesGet Text
- oitgCallback :: Lens' OrganizationsInspectTemplatesGet (Maybe Text)
REST Resource
type OrganizationsInspectTemplatesGetResource = "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] GooglePrivacyDlpV2InspectTemplate))))))) Source #
A resource alias for dlp.organizations.inspectTemplates.get
method which the
OrganizationsInspectTemplatesGet
request conforms to.
Creating a Request
organizationsInspectTemplatesGet Source #
Creates a value of OrganizationsInspectTemplatesGet
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data OrganizationsInspectTemplatesGet Source #
Gets an InspectTemplate. See https://cloud.google.com/dlp/docs/creating-templates to learn more.
See: organizationsInspectTemplatesGet
smart constructor.
Instances
Request Lenses
oitgUploadProtocol :: Lens' OrganizationsInspectTemplatesGet (Maybe Text) Source #
Upload protocol for media (e.g. "raw", "multipart").
oitgAccessToken :: Lens' OrganizationsInspectTemplatesGet (Maybe Text) Source #
OAuth access token.
oitgUploadType :: Lens' OrganizationsInspectTemplatesGet (Maybe Text) Source #
Legacy upload protocol for media (e.g. "media", "multipart").