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.StoredInfoTypes.Patch

Contents

Description

Updates the stored infoType by creating a new version. The existing version will continue to be used until the new version is ready. 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.patch.

Synopsis

REST Resource

type ProjectsStoredInfoTypesPatchResource = "v2" :> (Capture "name" Text :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] GooglePrivacyDlpV2UpdateStoredInfoTypeRequest :> Patch '[JSON] GooglePrivacyDlpV2StoredInfoType)))))))) Source #

A resource alias for dlp.projects.storedInfoTypes.patch method which the ProjectsStoredInfoTypesPatch request conforms to.

Creating a Request

data ProjectsStoredInfoTypesPatch Source #

Updates the stored infoType by creating a new version. The existing version will continue to be used until the new version is ready. See https://cloud.google.com/dlp/docs/creating-stored-infotypes to learn more.

See: projectsStoredInfoTypesPatch smart constructor.

Instances
Eq ProjectsStoredInfoTypesPatch Source # 
Instance details

Defined in Network.Google.Resource.DLP.Projects.StoredInfoTypes.Patch

Data ProjectsStoredInfoTypesPatch Source # 
Instance details

Defined in Network.Google.Resource.DLP.Projects.StoredInfoTypes.Patch

Methods

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

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

toConstr :: ProjectsStoredInfoTypesPatch -> Constr #

dataTypeOf :: ProjectsStoredInfoTypesPatch -> DataType #

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

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

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

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

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

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

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

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

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

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

Show ProjectsStoredInfoTypesPatch Source # 
Instance details

Defined in Network.Google.Resource.DLP.Projects.StoredInfoTypes.Patch

Generic ProjectsStoredInfoTypesPatch Source # 
Instance details

Defined in Network.Google.Resource.DLP.Projects.StoredInfoTypes.Patch

Associated Types

type Rep ProjectsStoredInfoTypesPatch :: Type -> Type #

GoogleRequest ProjectsStoredInfoTypesPatch Source # 
Instance details

Defined in Network.Google.Resource.DLP.Projects.StoredInfoTypes.Patch

type Rep ProjectsStoredInfoTypesPatch Source # 
Instance details

Defined in Network.Google.Resource.DLP.Projects.StoredInfoTypes.Patch

type Rep ProjectsStoredInfoTypesPatch = D1 (MetaData "ProjectsStoredInfoTypesPatch" "Network.Google.Resource.DLP.Projects.StoredInfoTypes.Patch" "gogol-dlp-0.4.0-D616iLnugdIDrALDghvsJQ" False) (C1 (MetaCons "ProjectsStoredInfoTypesPatch'" PrefixI True) ((S1 (MetaSel (Just "_psitpXgafv") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Xgafv)) :*: (S1 (MetaSel (Just "_psitpUploadProtocol") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_psitpAccessToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) :*: ((S1 (MetaSel (Just "_psitpUploadType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_psitpPayload") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 GooglePrivacyDlpV2UpdateStoredInfoTypeRequest)) :*: (S1 (MetaSel (Just "_psitpName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_psitpCallback") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))))
type Scopes ProjectsStoredInfoTypesPatch Source # 
Instance details

Defined in Network.Google.Resource.DLP.Projects.StoredInfoTypes.Patch

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

Defined in Network.Google.Resource.DLP.Projects.StoredInfoTypes.Patch

Request Lenses

psitpUploadProtocol :: Lens' ProjectsStoredInfoTypesPatch (Maybe Text) Source #

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

psitpUploadType :: Lens' ProjectsStoredInfoTypesPatch (Maybe Text) Source #

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

psitpName :: Lens' ProjectsStoredInfoTypesPatch Text Source #

Resource name of organization and storedInfoType to be updated, for example `organizations/433245324/storedInfoTypes/432452342` or projects/project-id/storedInfoTypes/432452342.