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 |
Returns a function with the given name from the requested project.
See: Cloud Functions API Reference for cloudfunctions.projects.locations.functions.get
.
Synopsis
- type ProjectsLocationsFunctionsGetResource = "v1" :> (Capture "name" Text :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> Get '[JSON] CloudFunction)))))))
- projectsLocationsFunctionsGet :: Text -> ProjectsLocationsFunctionsGet
- data ProjectsLocationsFunctionsGet
- plfgXgafv :: Lens' ProjectsLocationsFunctionsGet (Maybe Xgafv)
- plfgUploadProtocol :: Lens' ProjectsLocationsFunctionsGet (Maybe Text)
- plfgAccessToken :: Lens' ProjectsLocationsFunctionsGet (Maybe Text)
- plfgUploadType :: Lens' ProjectsLocationsFunctionsGet (Maybe Text)
- plfgName :: Lens' ProjectsLocationsFunctionsGet Text
- plfgCallback :: Lens' ProjectsLocationsFunctionsGet (Maybe Text)
REST Resource
type ProjectsLocationsFunctionsGetResource = "v1" :> (Capture "name" Text :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> Get '[JSON] CloudFunction))))))) Source #
A resource alias for cloudfunctions.projects.locations.functions.get
method which the
ProjectsLocationsFunctionsGet
request conforms to.
Creating a Request
projectsLocationsFunctionsGet Source #
Creates a value of ProjectsLocationsFunctionsGet
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data ProjectsLocationsFunctionsGet Source #
Returns a function with the given name from the requested project.
See: projectsLocationsFunctionsGet
smart constructor.
Instances
Request Lenses
plfgUploadProtocol :: Lens' ProjectsLocationsFunctionsGet (Maybe Text) Source #
Upload protocol for media (e.g. "raw", "multipart").
plfgAccessToken :: Lens' ProjectsLocationsFunctionsGet (Maybe Text) Source #
OAuth access token.
plfgUploadType :: Lens' ProjectsLocationsFunctionsGet (Maybe Text) Source #
Legacy upload protocol for media (e.g. "media", "multipart").
plfgName :: Lens' ProjectsLocationsFunctionsGet Text Source #
The name of the function which details should be obtained.
plfgCallback :: Lens' ProjectsLocationsFunctionsGet (Maybe Text) Source #
JSONP