gogol-genomics-0.0.1: Google Genomics SDK.

Copyright(c) 2015 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.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.

See: API Reference for genomics.operations.cancel.

Synopsis

REST Resource

type OperationsCancelResource = "v1" :> (CaptureMode "name" "cancel" Text :> (QueryParam "$.xgafv" Text :> (QueryParam "upload_protocol" Text :> (QueryParam "pp" Bool :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "bearer_token" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> (ReqBody `[JSON]` CancelOperationRequest :> Post `[JSON]` Empty)))))))))) Source

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

Creating a Request

operationsCancel Source

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

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

data OperationsCancel 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.

See: operationsCancel smart constructor.

Request Lenses

ocUploadProtocol :: Lens' OperationsCancel (Maybe Text) Source

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

ocPp :: Lens' OperationsCancel Bool Source

Pretty-print response.

ocUploadType :: Lens' OperationsCancel (Maybe Text) Source

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

ocName :: Lens' OperationsCancel Text Source

The name of the operation resource to be cancelled.