gogol-dlp-0.4.0: Google Cloud Data Loss Prevention (DLP) SDK.

Copyright(c) 2015-2016 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone
LanguageHaskell2010

Network.Google.Resource.DLP.Projects.InspectTemplates.Get

Contents

Description

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.projects.inspectTemplates.get.

Synopsis

REST Resource

type ProjectsInspectTemplatesGetResource = "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.projects.inspectTemplates.get method which the ProjectsInspectTemplatesGet request conforms to.

Creating a Request

projectsInspectTemplatesGet Source #

Creates a value of ProjectsInspectTemplatesGet with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

data ProjectsInspectTemplatesGet Source #

Gets an InspectTemplate. See https://cloud.google.com/dlp/docs/creating-templates to learn more.

See: projectsInspectTemplatesGet smart constructor.

Instances
Eq ProjectsInspectTemplatesGet Source # 
Instance details

Defined in Network.Google.Resource.DLP.Projects.InspectTemplates.Get

Data ProjectsInspectTemplatesGet Source # 
Instance details

Defined in Network.Google.Resource.DLP.Projects.InspectTemplates.Get

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> ProjectsInspectTemplatesGet -> c ProjectsInspectTemplatesGet #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c ProjectsInspectTemplatesGet #

toConstr :: ProjectsInspectTemplatesGet -> Constr #

dataTypeOf :: ProjectsInspectTemplatesGet -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c ProjectsInspectTemplatesGet) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c ProjectsInspectTemplatesGet) #

gmapT :: (forall b. Data b => b -> b) -> ProjectsInspectTemplatesGet -> ProjectsInspectTemplatesGet #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> ProjectsInspectTemplatesGet -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> ProjectsInspectTemplatesGet -> r #

gmapQ :: (forall d. Data d => d -> u) -> ProjectsInspectTemplatesGet -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> ProjectsInspectTemplatesGet -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> ProjectsInspectTemplatesGet -> m ProjectsInspectTemplatesGet #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> ProjectsInspectTemplatesGet -> m ProjectsInspectTemplatesGet #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> ProjectsInspectTemplatesGet -> m ProjectsInspectTemplatesGet #

Show ProjectsInspectTemplatesGet Source # 
Instance details

Defined in Network.Google.Resource.DLP.Projects.InspectTemplates.Get

Generic ProjectsInspectTemplatesGet Source # 
Instance details

Defined in Network.Google.Resource.DLP.Projects.InspectTemplates.Get

Associated Types

type Rep ProjectsInspectTemplatesGet :: Type -> Type #

GoogleRequest ProjectsInspectTemplatesGet Source # 
Instance details

Defined in Network.Google.Resource.DLP.Projects.InspectTemplates.Get

type Rep ProjectsInspectTemplatesGet Source # 
Instance details

Defined in Network.Google.Resource.DLP.Projects.InspectTemplates.Get

type Rep ProjectsInspectTemplatesGet = D1 (MetaData "ProjectsInspectTemplatesGet" "Network.Google.Resource.DLP.Projects.InspectTemplates.Get" "gogol-dlp-0.4.0-D616iLnugdIDrALDghvsJQ" False) (C1 (MetaCons "ProjectsInspectTemplatesGet'" PrefixI True) ((S1 (MetaSel (Just "_pitgXgafv") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Xgafv)) :*: (S1 (MetaSel (Just "_pitgUploadProtocol") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_pitgAccessToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) :*: (S1 (MetaSel (Just "_pitgUploadType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 (MetaSel (Just "_pitgName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_pitgCallback") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))))
type Scopes ProjectsInspectTemplatesGet Source # 
Instance details

Defined in Network.Google.Resource.DLP.Projects.InspectTemplates.Get

type Scopes ProjectsInspectTemplatesGet = "https://www.googleapis.com/auth/cloud-platform" ': ([] :: [Symbol])
type Rs ProjectsInspectTemplatesGet Source # 
Instance details

Defined in Network.Google.Resource.DLP.Projects.InspectTemplates.Get

Request Lenses

pitgUploadProtocol :: Lens' ProjectsInspectTemplatesGet (Maybe Text) Source #

Upload protocol for media (e.g. "raw", "multipart").

pitgUploadType :: Lens' ProjectsInspectTemplatesGet (Maybe Text) Source #

Legacy upload protocol for media (e.g. "media", "multipart").

pitgName :: Lens' ProjectsInspectTemplatesGet Text Source #

Resource name of the organization and inspectTemplate to be read, for example `organizations/433245324/inspectTemplates/432452342` or projects/project-id/inspectTemplates/432452342.