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 |
Lists information about the supported locations for this service.
See: Cloud Tasks API Reference for cloudtasks.projects.locations.list
.
Synopsis
- type ProjectsLocationsListResource = "v2" :> (Capture "name" Text :> ("locations" :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "filter" Text :> (QueryParam "pageToken" Text :> (QueryParam "pageSize" (Textual Int32) :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> Get '[JSON] ListLocationsResponse)))))))))))
- projectsLocationsList :: Text -> ProjectsLocationsList
- data ProjectsLocationsList
- pllXgafv :: Lens' ProjectsLocationsList (Maybe Xgafv)
- pllUploadProtocol :: Lens' ProjectsLocationsList (Maybe Text)
- pllAccessToken :: Lens' ProjectsLocationsList (Maybe Text)
- pllUploadType :: Lens' ProjectsLocationsList (Maybe Text)
- pllName :: Lens' ProjectsLocationsList Text
- pllFilter :: Lens' ProjectsLocationsList (Maybe Text)
- pllPageToken :: Lens' ProjectsLocationsList (Maybe Text)
- pllPageSize :: Lens' ProjectsLocationsList (Maybe Int32)
- pllCallback :: Lens' ProjectsLocationsList (Maybe Text)
REST Resource
type ProjectsLocationsListResource = "v2" :> (Capture "name" Text :> ("locations" :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "filter" Text :> (QueryParam "pageToken" Text :> (QueryParam "pageSize" (Textual Int32) :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> Get '[JSON] ListLocationsResponse))))))))))) Source #
A resource alias for cloudtasks.projects.locations.list
method which the
ProjectsLocationsList
request conforms to.
Creating a Request
projectsLocationsList Source #
Creates a value of ProjectsLocationsList
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data ProjectsLocationsList Source #
Lists information about the supported locations for this service.
See: projectsLocationsList
smart constructor.
Instances
Request Lenses
pllUploadProtocol :: Lens' ProjectsLocationsList (Maybe Text) Source #
Upload protocol for media (e.g. "raw", "multipart").
pllAccessToken :: Lens' ProjectsLocationsList (Maybe Text) Source #
OAuth access token.
pllUploadType :: Lens' ProjectsLocationsList (Maybe Text) Source #
Legacy upload protocol for media (e.g. "media", "multipart").
pllName :: Lens' ProjectsLocationsList Text Source #
The resource that owns the locations collection, if applicable.
pllPageToken :: Lens' ProjectsLocationsList (Maybe Text) Source #
The standard list page token.
pllPageSize :: Lens' ProjectsLocationsList (Maybe Int32) Source #
The standard list page size.
pllCallback :: Lens' ProjectsLocationsList (Maybe Text) Source #
JSONP