| 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 |
Network.Google.Resource.Coordinate.Location.List
Description
Retrieves a list of locations for a worker.
See: Google Maps Coordinate API Reference for coordinate.location.list.
- type LocationListResource = "coordinate" :> ("v1" :> ("teams" :> (Capture "teamId" Text :> ("workers" :> (Capture "workerEmail" Text :> ("locations" :> (QueryParam "startTimestampMs" (Textual Word64) :> (QueryParam "pageToken" Text :> (QueryParam "maxResults" (Textual Word32) :> (QueryParam "alt" AltJSON :> Get '[JSON] LocationListResponse))))))))))
- locationList :: Text -> Word64 -> Text -> LocationList
- data LocationList
- llWorkerEmail :: Lens' LocationList Text
- llStartTimestampMs :: Lens' LocationList Word64
- llTeamId :: Lens' LocationList Text
- llPageToken :: Lens' LocationList (Maybe Text)
- llMaxResults :: Lens' LocationList (Maybe Word32)
REST Resource
type LocationListResource = "coordinate" :> ("v1" :> ("teams" :> (Capture "teamId" Text :> ("workers" :> (Capture "workerEmail" Text :> ("locations" :> (QueryParam "startTimestampMs" (Textual Word64) :> (QueryParam "pageToken" Text :> (QueryParam "maxResults" (Textual Word32) :> (QueryParam "alt" AltJSON :> Get '[JSON] LocationListResponse)))))))))) Source #
A resource alias for coordinate.location.list method which the
LocationList request conforms to.
Creating a Request
Arguments
| :: Text | |
| -> Word64 | |
| -> Text | |
| -> LocationList |
Creates a value of LocationList with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data LocationList Source #
Retrieves a list of locations for a worker.
See: locationList smart constructor.
Instances
Request Lenses
llWorkerEmail :: Lens' LocationList Text Source #
Worker email address.
llStartTimestampMs :: Lens' LocationList Word64 Source #
Start timestamp in milliseconds since the epoch.
llPageToken :: Lens' LocationList (Maybe Text) Source #
Continuation token
llMaxResults :: Lens' LocationList (Maybe Word32) Source #
Maximum number of results to return in one page.