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 list of functions that belong to the requested project.
See: Cloud Functions API Reference for cloudfunctions.projects.locations.functions.list
.
Synopsis
- type ProjectsLocationsFunctionsListResource = "v1" :> (Capture "parent" Text :> ("functions" :> (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] ListFunctionsResponse))))))))))
- projectsLocationsFunctionsList :: Text -> ProjectsLocationsFunctionsList
- data ProjectsLocationsFunctionsList
- plflParent :: Lens' ProjectsLocationsFunctionsList Text
- plflXgafv :: Lens' ProjectsLocationsFunctionsList (Maybe Xgafv)
- plflUploadProtocol :: Lens' ProjectsLocationsFunctionsList (Maybe Text)
- plflAccessToken :: Lens' ProjectsLocationsFunctionsList (Maybe Text)
- plflUploadType :: Lens' ProjectsLocationsFunctionsList (Maybe Text)
- plflPageToken :: Lens' ProjectsLocationsFunctionsList (Maybe Text)
- plflPageSize :: Lens' ProjectsLocationsFunctionsList (Maybe Int32)
- plflCallback :: Lens' ProjectsLocationsFunctionsList (Maybe Text)
REST Resource
type ProjectsLocationsFunctionsListResource = "v1" :> (Capture "parent" Text :> ("functions" :> (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] ListFunctionsResponse)))))))))) Source #
A resource alias for cloudfunctions.projects.locations.functions.list
method which the
ProjectsLocationsFunctionsList
request conforms to.
Creating a Request
projectsLocationsFunctionsList Source #
Creates a value of ProjectsLocationsFunctionsList
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data ProjectsLocationsFunctionsList Source #
Returns a list of functions that belong to the requested project.
See: projectsLocationsFunctionsList
smart constructor.
Instances
Request Lenses
plflParent :: Lens' ProjectsLocationsFunctionsList Text Source #
The project and location from which the function should be listed, specified in the format `projects/*/locations/*` If you want to list functions in all locations, use "-" in place of a location.
plflUploadProtocol :: Lens' ProjectsLocationsFunctionsList (Maybe Text) Source #
Upload protocol for media (e.g. "raw", "multipart").
plflAccessToken :: Lens' ProjectsLocationsFunctionsList (Maybe Text) Source #
OAuth access token.
plflUploadType :: Lens' ProjectsLocationsFunctionsList (Maybe Text) Source #
Legacy upload protocol for media (e.g. "media", "multipart").
plflPageToken :: Lens' ProjectsLocationsFunctionsList (Maybe Text) Source #
The value returned by the last `ListFunctionsResponse`; indicates that this is a continuation of a prior `ListFunctions` call, and that the system should return the next page of data.
plflPageSize :: Lens' ProjectsLocationsFunctionsList (Maybe Int32) Source #
Maximum number of functions to return per call.
plflCallback :: Lens' ProjectsLocationsFunctionsList (Maybe Text) Source #
JSONP