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.DeidentifyTemplates.Get

Contents

Description

Gets a DeidentifyTemplate. See https://cloud.google.com/dlp/docs/creating-templates-deid to learn more.

See: Cloud Data Loss Prevention (DLP) API Reference for dlp.projects.deidentifyTemplates.get.

Synopsis

REST Resource

type ProjectsDeidentifyTemplatesGetResource = "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] GooglePrivacyDlpV2DeidentifyTemplate))))))) Source #

A resource alias for dlp.projects.deidentifyTemplates.get method which the ProjectsDeidentifyTemplatesGet request conforms to.

Creating a Request

projectsDeidentifyTemplatesGet Source #

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

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

data ProjectsDeidentifyTemplatesGet Source #

Gets a DeidentifyTemplate. See https://cloud.google.com/dlp/docs/creating-templates-deid to learn more.

See: projectsDeidentifyTemplatesGet smart constructor.

Instances
Eq ProjectsDeidentifyTemplatesGet Source # 
Instance details

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

Data ProjectsDeidentifyTemplatesGet Source # 
Instance details

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

Methods

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

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

toConstr :: ProjectsDeidentifyTemplatesGet -> Constr #

dataTypeOf :: ProjectsDeidentifyTemplatesGet -> DataType #

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

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

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

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

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

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

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

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

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

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

Show ProjectsDeidentifyTemplatesGet Source # 
Instance details

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

Generic ProjectsDeidentifyTemplatesGet Source # 
Instance details

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

Associated Types

type Rep ProjectsDeidentifyTemplatesGet :: Type -> Type #

GoogleRequest ProjectsDeidentifyTemplatesGet Source # 
Instance details

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

type Rep ProjectsDeidentifyTemplatesGet Source # 
Instance details

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

type Rep ProjectsDeidentifyTemplatesGet = D1 (MetaData "ProjectsDeidentifyTemplatesGet" "Network.Google.Resource.DLP.Projects.DeidentifyTemplates.Get" "gogol-dlp-0.4.0-D616iLnugdIDrALDghvsJQ" False) (C1 (MetaCons "ProjectsDeidentifyTemplatesGet'" PrefixI True) ((S1 (MetaSel (Just "_pdtgXgafv") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Xgafv)) :*: (S1 (MetaSel (Just "_pdtgUploadProtocol") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_pdtgAccessToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) :*: (S1 (MetaSel (Just "_pdtgUploadType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 (MetaSel (Just "_pdtgName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_pdtgCallback") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))))
type Scopes ProjectsDeidentifyTemplatesGet Source # 
Instance details

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

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

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

Request Lenses

pdtgUploadProtocol :: Lens' ProjectsDeidentifyTemplatesGet (Maybe Text) Source #

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

pdtgUploadType :: Lens' ProjectsDeidentifyTemplatesGet (Maybe Text) Source #

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

pdtgName :: Lens' ProjectsDeidentifyTemplatesGet Text Source #

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