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.DlpJobs.Cancel

Contents

Description

Starts asynchronous cancellation on a long-running DlpJob. The server makes a best effort to cancel the DlpJob, but success is not guaranteed. See https://cloud.google.com/dlp/docs/inspecting-storage and https://cloud.google.com/dlp/docs/compute-risk-analysis to learn more.

See: Cloud Data Loss Prevention (DLP) API Reference for dlp.projects.dlpJobs.cancel.

Synopsis

REST Resource

type ProjectsDlpJobsCancelResource = "v2" :> (CaptureMode "name" "cancel" Text :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] GooglePrivacyDlpV2CancelDlpJobRequest :> Post '[JSON] GoogleProtobufEmpty)))))))) Source #

A resource alias for dlp.projects.dlpJobs.cancel method which the ProjectsDlpJobsCancel request conforms to.

Creating a Request

projectsDlpJobsCancel Source #

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

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

data ProjectsDlpJobsCancel Source #

Starts asynchronous cancellation on a long-running DlpJob. The server makes a best effort to cancel the DlpJob, but success is not guaranteed. See https://cloud.google.com/dlp/docs/inspecting-storage and https://cloud.google.com/dlp/docs/compute-risk-analysis to learn more.

See: projectsDlpJobsCancel smart constructor.

Instances
Eq ProjectsDlpJobsCancel Source # 
Instance details

Defined in Network.Google.Resource.DLP.Projects.DlpJobs.Cancel

Data ProjectsDlpJobsCancel Source # 
Instance details

Defined in Network.Google.Resource.DLP.Projects.DlpJobs.Cancel

Methods

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

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

toConstr :: ProjectsDlpJobsCancel -> Constr #

dataTypeOf :: ProjectsDlpJobsCancel -> DataType #

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

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

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

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

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

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

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

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

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

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

Show ProjectsDlpJobsCancel Source # 
Instance details

Defined in Network.Google.Resource.DLP.Projects.DlpJobs.Cancel

Generic ProjectsDlpJobsCancel Source # 
Instance details

Defined in Network.Google.Resource.DLP.Projects.DlpJobs.Cancel

Associated Types

type Rep ProjectsDlpJobsCancel :: Type -> Type #

GoogleRequest ProjectsDlpJobsCancel Source # 
Instance details

Defined in Network.Google.Resource.DLP.Projects.DlpJobs.Cancel

type Rep ProjectsDlpJobsCancel Source # 
Instance details

Defined in Network.Google.Resource.DLP.Projects.DlpJobs.Cancel

type Rep ProjectsDlpJobsCancel = D1 (MetaData "ProjectsDlpJobsCancel" "Network.Google.Resource.DLP.Projects.DlpJobs.Cancel" "gogol-dlp-0.4.0-D616iLnugdIDrALDghvsJQ" False) (C1 (MetaCons "ProjectsDlpJobsCancel'" PrefixI True) ((S1 (MetaSel (Just "_pdjcXgafv") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Xgafv)) :*: (S1 (MetaSel (Just "_pdjcUploadProtocol") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_pdjcAccessToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) :*: ((S1 (MetaSel (Just "_pdjcUploadType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_pdjcPayload") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 GooglePrivacyDlpV2CancelDlpJobRequest)) :*: (S1 (MetaSel (Just "_pdjcName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_pdjcCallback") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))))
type Scopes ProjectsDlpJobsCancel Source # 
Instance details

Defined in Network.Google.Resource.DLP.Projects.DlpJobs.Cancel

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

Defined in Network.Google.Resource.DLP.Projects.DlpJobs.Cancel

Request Lenses

pdjcUploadProtocol :: Lens' ProjectsDlpJobsCancel (Maybe Text) Source #

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

pdjcUploadType :: Lens' ProjectsDlpJobsCancel (Maybe Text) Source #

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

pdjcName :: Lens' ProjectsDlpJobsCancel Text Source #

The name of the DlpJob resource to be cancelled.