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

Contents

Description

Updates the 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.patch.

Synopsis

REST Resource

type OrganizationsInspectTemplatesPatchResource = "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] GooglePrivacyDlpV2UpdateInspectTemplateRequest :> Patch '[JSON] GooglePrivacyDlpV2InspectTemplate)))))))) Source #

A resource alias for dlp.organizations.inspectTemplates.patch method which the OrganizationsInspectTemplatesPatch request conforms to.

Creating a Request

data OrganizationsInspectTemplatesPatch Source #

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

See: organizationsInspectTemplatesPatch smart constructor.

Instances
Eq OrganizationsInspectTemplatesPatch Source # 
Instance details

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

Data OrganizationsInspectTemplatesPatch Source # 
Instance details

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

Methods

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

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

toConstr :: OrganizationsInspectTemplatesPatch -> Constr #

dataTypeOf :: OrganizationsInspectTemplatesPatch -> DataType #

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

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

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

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

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

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

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

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

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

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

Show OrganizationsInspectTemplatesPatch Source # 
Instance details

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

Generic OrganizationsInspectTemplatesPatch Source # 
Instance details

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

Associated Types

type Rep OrganizationsInspectTemplatesPatch :: Type -> Type #

GoogleRequest OrganizationsInspectTemplatesPatch Source # 
Instance details

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

type Rep OrganizationsInspectTemplatesPatch Source # 
Instance details

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

type Rep OrganizationsInspectTemplatesPatch = D1 (MetaData "OrganizationsInspectTemplatesPatch" "Network.Google.Resource.DLP.Organizations.InspectTemplates.Patch" "gogol-dlp-0.4.0-D616iLnugdIDrALDghvsJQ" False) (C1 (MetaCons "OrganizationsInspectTemplatesPatch'" PrefixI True) ((S1 (MetaSel (Just "_oitpXgafv") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Xgafv)) :*: (S1 (MetaSel (Just "_oitpUploadProtocol") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_oitpAccessToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) :*: ((S1 (MetaSel (Just "_oitpUploadType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_oitpPayload") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 GooglePrivacyDlpV2UpdateInspectTemplateRequest)) :*: (S1 (MetaSel (Just "_oitpName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_oitpCallback") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))))
type Scopes OrganizationsInspectTemplatesPatch Source # 
Instance details

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

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

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

Request Lenses

oitpUploadProtocol :: Lens' OrganizationsInspectTemplatesPatch (Maybe Text) Source #

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

oitpUploadType :: Lens' OrganizationsInspectTemplatesPatch (Maybe Text) Source #

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

oitpName :: Lens' OrganizationsInspectTemplatesPatch Text Source #

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