Copyright | (c) 2015-2016 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Language | Haskell2010 |
Cancels the specified operation.
See: Kubernetes Engine API Reference for container.projects.locations.operations.cancel
.
Synopsis
- type ProjectsLocationsOperationsCancelResource = "v1" :> (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))))))))
- projectsLocationsOperationsCancel :: CancelOperationRequest -> Text -> ProjectsLocationsOperationsCancel
- data ProjectsLocationsOperationsCancel
- plocXgafv :: Lens' ProjectsLocationsOperationsCancel (Maybe Xgafv)
- plocUploadProtocol :: Lens' ProjectsLocationsOperationsCancel (Maybe Text)
- plocAccessToken :: Lens' ProjectsLocationsOperationsCancel (Maybe Text)
- plocUploadType :: Lens' ProjectsLocationsOperationsCancel (Maybe Text)
- plocPayload :: Lens' ProjectsLocationsOperationsCancel CancelOperationRequest
- plocName :: Lens' ProjectsLocationsOperationsCancel Text
- plocCallback :: Lens' ProjectsLocationsOperationsCancel (Maybe Text)
REST Resource
type ProjectsLocationsOperationsCancelResource = "v1" :> (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 container.projects.locations.operations.cancel
method which the
ProjectsLocationsOperationsCancel
request conforms to.
Creating a Request
projectsLocationsOperationsCancel Source #
Creates a value of ProjectsLocationsOperationsCancel
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data ProjectsLocationsOperationsCancel Source #
Cancels the specified operation.
See: projectsLocationsOperationsCancel
smart constructor.
Instances
Request Lenses
plocUploadProtocol :: Lens' ProjectsLocationsOperationsCancel (Maybe Text) Source #
Upload protocol for media (e.g. "raw", "multipart").
plocAccessToken :: Lens' ProjectsLocationsOperationsCancel (Maybe Text) Source #
OAuth access token.
plocUploadType :: Lens' ProjectsLocationsOperationsCancel (Maybe Text) Source #
Legacy upload protocol for media (e.g. "media", "multipart").
plocPayload :: Lens' ProjectsLocationsOperationsCancel CancelOperationRequest Source #
Multipart request metadata.