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

Contents

Description

List the versions of a script project.

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

Synopsis

REST Resource

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

A resource alias for script.projects.versions.list method which the ProjectsVersionsList request conforms to.

Creating a Request

projectsVersionsList Source #

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

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

data ProjectsVersionsList Source #

List the versions of a script project.

See: projectsVersionsList smart constructor.

Instances
Eq ProjectsVersionsList Source # 
Instance details

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

Data ProjectsVersionsList Source # 
Instance details

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

Methods

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

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

toConstr :: ProjectsVersionsList -> Constr #

dataTypeOf :: ProjectsVersionsList -> DataType #

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

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

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

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

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

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

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

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

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

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

Show ProjectsVersionsList Source # 
Instance details

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

Generic ProjectsVersionsList Source # 
Instance details

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

Associated Types

type Rep ProjectsVersionsList :: Type -> Type #

GoogleRequest ProjectsVersionsList Source # 
Instance details

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

Associated Types

type Rs ProjectsVersionsList :: Type #

type Scopes ProjectsVersionsList :: [Symbol] #

type Rep ProjectsVersionsList Source # 
Instance details

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

type Rep ProjectsVersionsList = D1 (MetaData "ProjectsVersionsList" "Network.Google.Resource.Script.Projects.Versions.List" "gogol-script-0.4.0-FTMJIbj3qQWJYzgfzFUSMi" False) (C1 (MetaCons "ProjectsVersionsList'" PrefixI True) (((S1 (MetaSel (Just "_pvlXgafv") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Xgafv)) :*: S1 (MetaSel (Just "_pvlUploadProtocol") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 (MetaSel (Just "_pvlAccessToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_pvlUploadType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) :*: ((S1 (MetaSel (Just "_pvlScriptId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_pvlPageToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 (MetaSel (Just "_pvlPageSize") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (Textual Int32))) :*: S1 (MetaSel (Just "_pvlCallback") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))))
type Scopes ProjectsVersionsList Source # 
Instance details

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

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

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

Request Lenses

pvlUploadProtocol :: Lens' ProjectsVersionsList (Maybe Text) Source #

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

pvlUploadType :: Lens' ProjectsVersionsList (Maybe Text) Source #

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

pvlScriptId :: Lens' ProjectsVersionsList Text Source #

The script project's Drive ID.

pvlPageToken :: Lens' ProjectsVersionsList (Maybe Text) Source #

The token for continuing a previous list request on the next page. This should be set to the value of `nextPageToken` from a previous response.

pvlPageSize :: Lens' ProjectsVersionsList (Maybe Int32) Source #

The maximum number of versions on each returned page. Defaults to 50.