gogol-script-0.4.0: Google Apps Script 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.Script.Projects.Deployments.Delete

Contents

Description

Deletes a deployment of an Apps Script project.

See: Apps Script API Reference for script.projects.deployments.delete.

Synopsis

REST Resource

type ProjectsDeploymentsDeleteResource = "v1" :> ("projects" :> (Capture "scriptId" Text :> ("deployments" :> (Capture "deploymentId" Text :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> Delete '[JSON] Empty)))))))))) Source #

A resource alias for script.projects.deployments.delete method which the ProjectsDeploymentsDelete request conforms to.

Creating a Request

projectsDeploymentsDelete Source #

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

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

data ProjectsDeploymentsDelete Source #

Deletes a deployment of an Apps Script project.

See: projectsDeploymentsDelete smart constructor.

Instances
Eq ProjectsDeploymentsDelete Source # 
Instance details

Defined in Network.Google.Resource.Script.Projects.Deployments.Delete

Data ProjectsDeploymentsDelete Source # 
Instance details

Defined in Network.Google.Resource.Script.Projects.Deployments.Delete

Methods

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

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

toConstr :: ProjectsDeploymentsDelete -> Constr #

dataTypeOf :: ProjectsDeploymentsDelete -> DataType #

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

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

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

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

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

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

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

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

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

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

Show ProjectsDeploymentsDelete Source # 
Instance details

Defined in Network.Google.Resource.Script.Projects.Deployments.Delete

Generic ProjectsDeploymentsDelete Source # 
Instance details

Defined in Network.Google.Resource.Script.Projects.Deployments.Delete

Associated Types

type Rep ProjectsDeploymentsDelete :: Type -> Type #

GoogleRequest ProjectsDeploymentsDelete Source # 
Instance details

Defined in Network.Google.Resource.Script.Projects.Deployments.Delete

type Rep ProjectsDeploymentsDelete Source # 
Instance details

Defined in Network.Google.Resource.Script.Projects.Deployments.Delete

type Rep ProjectsDeploymentsDelete = D1 (MetaData "ProjectsDeploymentsDelete" "Network.Google.Resource.Script.Projects.Deployments.Delete" "gogol-script-0.4.0-FTMJIbj3qQWJYzgfzFUSMi" False) (C1 (MetaCons "ProjectsDeploymentsDelete'" PrefixI True) ((S1 (MetaSel (Just "_pddDeploymentId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: (S1 (MetaSel (Just "_pddXgafv") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Xgafv)) :*: S1 (MetaSel (Just "_pddUploadProtocol") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) :*: ((S1 (MetaSel (Just "_pddAccessToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_pddUploadType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 (MetaSel (Just "_pddScriptId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_pddCallback") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))))
type Scopes ProjectsDeploymentsDelete Source # 
Instance details

Defined in Network.Google.Resource.Script.Projects.Deployments.Delete

type Scopes ProjectsDeploymentsDelete = "https://www.googleapis.com/auth/script.deployments" ': ([] :: [Symbol])
type Rs ProjectsDeploymentsDelete Source # 
Instance details

Defined in Network.Google.Resource.Script.Projects.Deployments.Delete

Request Lenses

pddDeploymentId :: Lens' ProjectsDeploymentsDelete Text Source #

The deployment ID to be undeployed.

pddUploadProtocol :: Lens' ProjectsDeploymentsDelete (Maybe Text) Source #

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

pddUploadType :: Lens' ProjectsDeploymentsDelete (Maybe Text) Source #

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

pddScriptId :: Lens' ProjectsDeploymentsDelete Text Source #

The script project's Drive ID.