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

Contents

Description

Gets the content of the script project, including the code source and metadata for each script file.

See: Apps Script API Reference for script.projects.getContent.

Synopsis

REST Resource

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

A resource alias for script.projects.getContent method which the ProjectsGetContent request conforms to.

Creating a Request

projectsGetContent Source #

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

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

data ProjectsGetContent Source #

Gets the content of the script project, including the code source and metadata for each script file.

See: projectsGetContent smart constructor.

Instances
Eq ProjectsGetContent Source # 
Instance details

Defined in Network.Google.Resource.Script.Projects.GetContent

Data ProjectsGetContent Source # 
Instance details

Defined in Network.Google.Resource.Script.Projects.GetContent

Methods

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

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

toConstr :: ProjectsGetContent -> Constr #

dataTypeOf :: ProjectsGetContent -> DataType #

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

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

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

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

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

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

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

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

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

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

Show ProjectsGetContent Source # 
Instance details

Defined in Network.Google.Resource.Script.Projects.GetContent

Generic ProjectsGetContent Source # 
Instance details

Defined in Network.Google.Resource.Script.Projects.GetContent

Associated Types

type Rep ProjectsGetContent :: Type -> Type #

GoogleRequest ProjectsGetContent Source # 
Instance details

Defined in Network.Google.Resource.Script.Projects.GetContent

Associated Types

type Rs ProjectsGetContent :: Type #

type Scopes ProjectsGetContent :: [Symbol] #

type Rep ProjectsGetContent Source # 
Instance details

Defined in Network.Google.Resource.Script.Projects.GetContent

type Rep ProjectsGetContent = D1 (MetaData "ProjectsGetContent" "Network.Google.Resource.Script.Projects.GetContent" "gogol-script-0.4.0-FTMJIbj3qQWJYzgfzFUSMi" False) (C1 (MetaCons "ProjectsGetContent'" PrefixI True) ((S1 (MetaSel (Just "_pgcXgafv") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Xgafv)) :*: (S1 (MetaSel (Just "_pgcUploadProtocol") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_pgcAccessToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) :*: ((S1 (MetaSel (Just "_pgcUploadType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_pgcVersionNumber") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (Textual Int32)))) :*: (S1 (MetaSel (Just "_pgcScriptId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_pgcCallback") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))))
type Scopes ProjectsGetContent Source # 
Instance details

Defined in Network.Google.Resource.Script.Projects.GetContent

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

Defined in Network.Google.Resource.Script.Projects.GetContent

Request Lenses

pgcUploadProtocol :: Lens' ProjectsGetContent (Maybe Text) Source #

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

pgcUploadType :: Lens' ProjectsGetContent (Maybe Text) Source #

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

pgcVersionNumber :: Lens' ProjectsGetContent (Maybe Int32) Source #

The version number of the project to retrieve. If not provided, the project's HEAD version is returned.

pgcScriptId :: Lens' ProjectsGetContent Text Source #

The script project's Drive ID.