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.Organizations.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.organizations.storedInfoTypes.patch.

Synopsis

REST Resource

type OrganizationsStoredInfoTypesPatchResource = "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.organizations.storedInfoTypes.patch method which the OrganizationsStoredInfoTypesPatch request conforms to.

Creating a Request

data OrganizationsStoredInfoTypesPatch 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: organizationsStoredInfoTypesPatch smart constructor.

Instances
Eq OrganizationsStoredInfoTypesPatch Source # 
Instance details

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

Data OrganizationsStoredInfoTypesPatch Source # 
Instance details

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

Methods

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

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

toConstr :: OrganizationsStoredInfoTypesPatch -> Constr #

dataTypeOf :: OrganizationsStoredInfoTypesPatch -> DataType #

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

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

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

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

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

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

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

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

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

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

Show OrganizationsStoredInfoTypesPatch Source # 
Instance details

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

Generic OrganizationsStoredInfoTypesPatch Source # 
Instance details

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

Associated Types

type Rep OrganizationsStoredInfoTypesPatch :: Type -> Type #

GoogleRequest OrganizationsStoredInfoTypesPatch Source # 
Instance details

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

type Rep OrganizationsStoredInfoTypesPatch Source # 
Instance details

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

type Rep OrganizationsStoredInfoTypesPatch = D1 (MetaData "OrganizationsStoredInfoTypesPatch" "Network.Google.Resource.DLP.Organizations.StoredInfoTypes.Patch" "gogol-dlp-0.4.0-D616iLnugdIDrALDghvsJQ" False) (C1 (MetaCons "OrganizationsStoredInfoTypesPatch'" PrefixI True) ((S1 (MetaSel (Just "_ositpXgafv") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Xgafv)) :*: (S1 (MetaSel (Just "_ositpUploadProtocol") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_ositpAccessToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) :*: ((S1 (MetaSel (Just "_ositpUploadType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_ositpPayload") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 GooglePrivacyDlpV2UpdateStoredInfoTypeRequest)) :*: (S1 (MetaSel (Just "_ositpName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_ositpCallback") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))))
type Scopes OrganizationsStoredInfoTypesPatch Source # 
Instance details

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

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

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

Request Lenses

ositpUploadProtocol :: Lens' OrganizationsStoredInfoTypesPatch (Maybe Text) Source #

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

ositpUploadType :: Lens' OrganizationsStoredInfoTypesPatch (Maybe Text) Source #

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

ositpName :: Lens' OrganizationsStoredInfoTypesPatch Text Source #

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