gogol-container-0.4.0: Google Kubernetes Engine 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.Container.Projects.Locations.Operations.Cancel

Contents

Description

Cancels the specified operation.

See: Kubernetes Engine API Reference for container.projects.locations.operations.cancel.

Synopsis

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
Eq ProjectsLocationsOperationsCancel Source # 
Instance details

Defined in Network.Google.Resource.Container.Projects.Locations.Operations.Cancel

Data ProjectsLocationsOperationsCancel Source # 
Instance details

Defined in Network.Google.Resource.Container.Projects.Locations.Operations.Cancel

Methods

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

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

toConstr :: ProjectsLocationsOperationsCancel -> Constr #

dataTypeOf :: ProjectsLocationsOperationsCancel -> DataType #

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

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

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

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

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

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

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

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

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

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

Show ProjectsLocationsOperationsCancel Source # 
Instance details

Defined in Network.Google.Resource.Container.Projects.Locations.Operations.Cancel

Generic ProjectsLocationsOperationsCancel Source # 
Instance details

Defined in Network.Google.Resource.Container.Projects.Locations.Operations.Cancel

Associated Types

type Rep ProjectsLocationsOperationsCancel :: Type -> Type #

GoogleRequest ProjectsLocationsOperationsCancel Source # 
Instance details

Defined in Network.Google.Resource.Container.Projects.Locations.Operations.Cancel

type Rep ProjectsLocationsOperationsCancel Source # 
Instance details

Defined in Network.Google.Resource.Container.Projects.Locations.Operations.Cancel

type Rep ProjectsLocationsOperationsCancel = D1 (MetaData "ProjectsLocationsOperationsCancel" "Network.Google.Resource.Container.Projects.Locations.Operations.Cancel" "gogol-container-0.4.0-7fMnJsS36zkISd1JtwIvdQ" False) (C1 (MetaCons "ProjectsLocationsOperationsCancel'" PrefixI True) ((S1 (MetaSel (Just "_plocXgafv") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Xgafv)) :*: (S1 (MetaSel (Just "_plocUploadProtocol") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_plocAccessToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) :*: ((S1 (MetaSel (Just "_plocUploadType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_plocPayload") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 CancelOperationRequest)) :*: (S1 (MetaSel (Just "_plocName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_plocCallback") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))))
type Scopes ProjectsLocationsOperationsCancel Source # 
Instance details

Defined in Network.Google.Resource.Container.Projects.Locations.Operations.Cancel

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

Defined in Network.Google.Resource.Container.Projects.Locations.Operations.Cancel

Request Lenses

plocUploadProtocol :: Lens' ProjectsLocationsOperationsCancel (Maybe Text) Source #

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

plocUploadType :: Lens' ProjectsLocationsOperationsCancel (Maybe Text) Source #

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

plocName :: Lens' ProjectsLocationsOperationsCancel Text Source #

The name (project, location, operation id) of the operation to cancel. Specified in the format 'projects/*/locations/*/operations/*'.