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

Contents

Description

Gets a version of a script project.

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

Synopsis

REST Resource

type ProjectsVersionsGetResource = "v1" :> ("projects" :> (Capture "scriptId" Text :> ("versions" :> (Capture "versionNumber" (Textual Int32) :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> Get '[JSON] Version)))))))))) Source #

A resource alias for script.projects.versions.get method which the ProjectsVersionsGet request conforms to.

Creating a Request

projectsVersionsGet Source #

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

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

data ProjectsVersionsGet Source #

Gets a version of a script project.

See: projectsVersionsGet smart constructor.

Instances
Eq ProjectsVersionsGet Source # 
Instance details

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

Data ProjectsVersionsGet Source # 
Instance details

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

Methods

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

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

toConstr :: ProjectsVersionsGet -> Constr #

dataTypeOf :: ProjectsVersionsGet -> DataType #

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

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

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

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

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

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

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

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

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

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

Show ProjectsVersionsGet Source # 
Instance details

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

Generic ProjectsVersionsGet Source # 
Instance details

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

Associated Types

type Rep ProjectsVersionsGet :: Type -> Type #

GoogleRequest ProjectsVersionsGet Source # 
Instance details

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

Associated Types

type Rs ProjectsVersionsGet :: Type #

type Scopes ProjectsVersionsGet :: [Symbol] #

type Rep ProjectsVersionsGet Source # 
Instance details

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

type Rep ProjectsVersionsGet = D1 (MetaData "ProjectsVersionsGet" "Network.Google.Resource.Script.Projects.Versions.Get" "gogol-script-0.4.0-FTMJIbj3qQWJYzgfzFUSMi" False) (C1 (MetaCons "ProjectsVersionsGet'" PrefixI True) ((S1 (MetaSel (Just "_pvgXgafv") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Xgafv)) :*: (S1 (MetaSel (Just "_pvgUploadProtocol") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_pvgAccessToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) :*: ((S1 (MetaSel (Just "_pvgUploadType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_pvgVersionNumber") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Textual Int32))) :*: (S1 (MetaSel (Just "_pvgScriptId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_pvgCallback") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))))
type Scopes ProjectsVersionsGet Source # 
Instance details

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

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

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

Request Lenses

pvgUploadProtocol :: Lens' ProjectsVersionsGet (Maybe Text) Source #

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

pvgUploadType :: Lens' ProjectsVersionsGet (Maybe Text) Source #

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

pvgScriptId :: Lens' ProjectsVersionsGet Text Source #

The script project's Drive ID.