Copyright | (c) 2015-2016 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Language | Haskell2010 |
Gets a version of a script project.
See: Apps Script API Reference for script.projects.versions.get
.
Synopsis
- 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))))))))))
- projectsVersionsGet :: Int32 -> Text -> ProjectsVersionsGet
- data ProjectsVersionsGet
- pvgXgafv :: Lens' ProjectsVersionsGet (Maybe Xgafv)
- pvgUploadProtocol :: Lens' ProjectsVersionsGet (Maybe Text)
- pvgAccessToken :: Lens' ProjectsVersionsGet (Maybe Text)
- pvgUploadType :: Lens' ProjectsVersionsGet (Maybe Text)
- pvgVersionNumber :: Lens' ProjectsVersionsGet Int32
- pvgScriptId :: Lens' ProjectsVersionsGet Text
- pvgCallback :: Lens' ProjectsVersionsGet (Maybe Text)
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
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
Request Lenses
pvgUploadProtocol :: Lens' ProjectsVersionsGet (Maybe Text) Source #
Upload protocol for media (e.g. "raw", "multipart").
pvgAccessToken :: Lens' ProjectsVersionsGet (Maybe Text) Source #
OAuth access token.
pvgUploadType :: Lens' ProjectsVersionsGet (Maybe Text) Source #
Legacy upload protocol for media (e.g. "media", "multipart").
pvgVersionNumber :: Lens' ProjectsVersionsGet Int32 Source #
The version number.
pvgScriptId :: Lens' ProjectsVersionsGet Text Source #
The script project's Drive ID.
pvgCallback :: Lens' ProjectsVersionsGet (Maybe Text) Source #
JSONP