gogol-genomics-0.4.0: Google Genomics 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.Genomics.Projects.Operations.Cancel

Contents

Description

Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. Clients may use Operations.GetOperation or Operations.ListOperations to check whether the cancellation succeeded or the operation completed despite cancellation. Authorization requires the following Google IAM permission: * `genomics.operations.cancel`

See: Genomics API Reference for genomics.projects.operations.cancel.

Synopsis

REST Resource

type ProjectsOperationsCancelResource = "v2alpha1" :> (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] CancelOperationRequest :> Post '[JSON] Empty)))))))) Source #

A resource alias for genomics.projects.operations.cancel method which the ProjectsOperationsCancel request conforms to.

Creating a Request

projectsOperationsCancel Source #

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

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

data ProjectsOperationsCancel Source #

Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. Clients may use Operations.GetOperation or Operations.ListOperations to check whether the cancellation succeeded or the operation completed despite cancellation. Authorization requires the following Google IAM permission: * `genomics.operations.cancel`

See: projectsOperationsCancel smart constructor.

Instances
Eq ProjectsOperationsCancel Source # 
Instance details

Defined in Network.Google.Resource.Genomics.Projects.Operations.Cancel

Data ProjectsOperationsCancel Source # 
Instance details

Defined in Network.Google.Resource.Genomics.Projects.Operations.Cancel

Methods

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

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

toConstr :: ProjectsOperationsCancel -> Constr #

dataTypeOf :: ProjectsOperationsCancel -> DataType #

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

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

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

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

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

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

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

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

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

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

Show ProjectsOperationsCancel Source # 
Instance details

Defined in Network.Google.Resource.Genomics.Projects.Operations.Cancel

Generic ProjectsOperationsCancel Source # 
Instance details

Defined in Network.Google.Resource.Genomics.Projects.Operations.Cancel

Associated Types

type Rep ProjectsOperationsCancel :: Type -> Type #

GoogleRequest ProjectsOperationsCancel Source # 
Instance details

Defined in Network.Google.Resource.Genomics.Projects.Operations.Cancel

type Rep ProjectsOperationsCancel Source # 
Instance details

Defined in Network.Google.Resource.Genomics.Projects.Operations.Cancel

type Rep ProjectsOperationsCancel = D1 (MetaData "ProjectsOperationsCancel" "Network.Google.Resource.Genomics.Projects.Operations.Cancel" "gogol-genomics-0.4.0-63oTcGDCcdz79Wan6imH0i" False) (C1 (MetaCons "ProjectsOperationsCancel'" PrefixI True) ((S1 (MetaSel (Just "_pocXgafv") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Xgafv)) :*: (S1 (MetaSel (Just "_pocUploadProtocol") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_pocAccessToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) :*: ((S1 (MetaSel (Just "_pocUploadType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_pocPayload") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 CancelOperationRequest)) :*: (S1 (MetaSel (Just "_pocName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_pocCallback") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))))
type Scopes ProjectsOperationsCancel Source # 
Instance details

Defined in Network.Google.Resource.Genomics.Projects.Operations.Cancel

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

Defined in Network.Google.Resource.Genomics.Projects.Operations.Cancel

Request Lenses

pocUploadProtocol :: Lens' ProjectsOperationsCancel (Maybe Text) Source #

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

pocUploadType :: Lens' ProjectsOperationsCancel (Maybe Text) Source #

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

pocName :: Lens' ProjectsOperationsCancel Text Source #

The name of the operation resource to be cancelled.