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.Get

Contents

Description

Gets a deployment of an Apps Script project.

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

Synopsis

REST Resource

type ProjectsDeploymentsGetResource = "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 :> Get '[JSON] Deployment)))))))))) Source #

A resource alias for script.projects.deployments.get method which the ProjectsDeploymentsGet request conforms to.

Creating a Request

projectsDeploymentsGet Source #

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

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

data ProjectsDeploymentsGet Source #

Gets a deployment of an Apps Script project.

See: projectsDeploymentsGet smart constructor.

Instances
Eq ProjectsDeploymentsGet Source # 
Instance details

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

Data ProjectsDeploymentsGet Source # 
Instance details

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

Methods

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

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

toConstr :: ProjectsDeploymentsGet -> Constr #

dataTypeOf :: ProjectsDeploymentsGet -> DataType #

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

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

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

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

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

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

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

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

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

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

Show ProjectsDeploymentsGet Source # 
Instance details

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

Generic ProjectsDeploymentsGet Source # 
Instance details

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

Associated Types

type Rep ProjectsDeploymentsGet :: Type -> Type #

GoogleRequest ProjectsDeploymentsGet Source # 
Instance details

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

type Rep ProjectsDeploymentsGet Source # 
Instance details

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

type Rep ProjectsDeploymentsGet = D1 (MetaData "ProjectsDeploymentsGet" "Network.Google.Resource.Script.Projects.Deployments.Get" "gogol-script-0.4.0-FTMJIbj3qQWJYzgfzFUSMi" False) (C1 (MetaCons "ProjectsDeploymentsGet'" PrefixI True) ((S1 (MetaSel (Just "_pdgDeploymentId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: (S1 (MetaSel (Just "_pdgXgafv") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Xgafv)) :*: S1 (MetaSel (Just "_pdgUploadProtocol") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) :*: ((S1 (MetaSel (Just "_pdgAccessToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_pdgUploadType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 (MetaSel (Just "_pdgScriptId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_pdgCallback") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))))
type Scopes ProjectsDeploymentsGet Source # 
Instance details

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

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

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

Request Lenses

pdgUploadProtocol :: Lens' ProjectsDeploymentsGet (Maybe Text) Source #

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

pdgUploadType :: Lens' ProjectsDeploymentsGet (Maybe Text) Source #

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

pdgScriptId :: Lens' ProjectsDeploymentsGet Text Source #

The script project's Drive ID.