gogol-script-0.5.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.Create

Contents

Description

Creates a deployment of an Apps Script project.

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

Synopsis

REST Resource

type ProjectsDeploymentsCreateResource = "v1" :> ("projects" :> (Capture "scriptId" Text :> ("deployments" :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] DeploymentConfig :> Post '[JSON] Deployment)))))))))) Source #

A resource alias for script.projects.deployments.create method which the ProjectsDeploymentsCreate request conforms to.

Creating a Request

projectsDeploymentsCreate Source #

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

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

data ProjectsDeploymentsCreate Source #

Creates a deployment of an Apps Script project.

See: projectsDeploymentsCreate smart constructor.

Instances
Eq ProjectsDeploymentsCreate Source # 
Instance details

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

Data ProjectsDeploymentsCreate Source # 
Instance details

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

Methods

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

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

toConstr :: ProjectsDeploymentsCreate -> Constr #

dataTypeOf :: ProjectsDeploymentsCreate -> DataType #

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

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

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

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

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

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

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

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

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

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

Show ProjectsDeploymentsCreate Source # 
Instance details

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

Generic ProjectsDeploymentsCreate Source # 
Instance details

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

Associated Types

type Rep ProjectsDeploymentsCreate :: Type -> Type #

GoogleRequest ProjectsDeploymentsCreate Source # 
Instance details

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

type Rep ProjectsDeploymentsCreate Source # 
Instance details

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

type Rep ProjectsDeploymentsCreate = D1 (MetaData "ProjectsDeploymentsCreate" "Network.Google.Resource.Script.Projects.Deployments.Create" "gogol-script-0.5.0-KVePeakC4JC7frXGjxavDo" False) (C1 (MetaCons "ProjectsDeploymentsCreate'" PrefixI True) ((S1 (MetaSel (Just "_pdcXgafv") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Xgafv)) :*: (S1 (MetaSel (Just "_pdcUploadProtocol") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_pdcAccessToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) :*: ((S1 (MetaSel (Just "_pdcUploadType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_pdcPayload") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 DeploymentConfig)) :*: (S1 (MetaSel (Just "_pdcScriptId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_pdcCallback") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))))
type Scopes ProjectsDeploymentsCreate Source # 
Instance details

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

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

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

Request Lenses

pdcUploadProtocol :: Lens' ProjectsDeploymentsCreate (Maybe Text) Source #

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

pdcUploadType :: Lens' ProjectsDeploymentsCreate (Maybe Text) Source #

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

pdcScriptId :: Lens' ProjectsDeploymentsCreate Text Source #

The script project's Drive ID.