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

Contents

Description

Gets a script project's metadata.

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

Synopsis

REST Resource

type ProjectsGetResource = "v1" :> ("projects" :> (Capture "scriptId" Text :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> Get '[JSON] Project)))))))) Source #

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

Creating a Request

projectsGet Source #

Arguments

:: Text

pgScriptId

-> ProjectsGet 

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

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

data ProjectsGet Source #

Gets a script project's metadata.

See: projectsGet smart constructor.

Instances
Eq ProjectsGet Source # 
Instance details

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

Data ProjectsGet Source # 
Instance details

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

Methods

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

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

toConstr :: ProjectsGet -> Constr #

dataTypeOf :: ProjectsGet -> DataType #

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

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

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

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

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

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

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

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

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

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

Show ProjectsGet Source # 
Instance details

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

Generic ProjectsGet Source # 
Instance details

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

Associated Types

type Rep ProjectsGet :: Type -> Type #

GoogleRequest ProjectsGet Source # 
Instance details

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

Associated Types

type Rs ProjectsGet :: Type #

type Scopes ProjectsGet :: [Symbol] #

type Rep ProjectsGet Source # 
Instance details

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

type Rep ProjectsGet = D1 (MetaData "ProjectsGet" "Network.Google.Resource.Script.Projects.Get" "gogol-script-0.4.0-FTMJIbj3qQWJYzgfzFUSMi" False) (C1 (MetaCons "ProjectsGet'" PrefixI True) ((S1 (MetaSel (Just "_pgXgafv") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Xgafv)) :*: (S1 (MetaSel (Just "_pgUploadProtocol") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_pgAccessToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) :*: (S1 (MetaSel (Just "_pgUploadType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 (MetaSel (Just "_pgScriptId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_pgCallback") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))))
type Scopes ProjectsGet Source # 
Instance details

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

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

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

Request Lenses

pgXgafv :: Lens' ProjectsGet (Maybe Xgafv) Source #

V1 error format.

pgUploadProtocol :: Lens' ProjectsGet (Maybe Text) Source #

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

pgAccessToken :: Lens' ProjectsGet (Maybe Text) Source #

OAuth access token.

pgUploadType :: Lens' ProjectsGet (Maybe Text) Source #

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

pgScriptId :: Lens' ProjectsGet Text Source #

The script project's Drive ID.