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 |
Looks up entities by key.
See: Cloud Datastore API Reference for datastore.projects.lookup
.
Synopsis
- type ProjectsLookupResource = "v1" :> ("projects" :> (CaptureMode "projectId" "lookup" Text :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] LookupRequest :> Post '[JSON] LookupResponse)))))))))
- projectsLookup :: LookupRequest -> Text -> ProjectsLookup
- data ProjectsLookup
- plXgafv :: Lens' ProjectsLookup (Maybe Xgafv)
- plUploadProtocol :: Lens' ProjectsLookup (Maybe Text)
- plAccessToken :: Lens' ProjectsLookup (Maybe Text)
- plUploadType :: Lens' ProjectsLookup (Maybe Text)
- plPayload :: Lens' ProjectsLookup LookupRequest
- plProjectId :: Lens' ProjectsLookup Text
- plCallback :: Lens' ProjectsLookup (Maybe Text)
REST Resource
type ProjectsLookupResource = "v1" :> ("projects" :> (CaptureMode "projectId" "lookup" Text :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] LookupRequest :> Post '[JSON] LookupResponse))))))))) Source #
A resource alias for datastore.projects.lookup
method which the
ProjectsLookup
request conforms to.
Creating a Request
Creates a value of ProjectsLookup
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data ProjectsLookup Source #
Looks up entities by key.
See: projectsLookup
smart constructor.
Instances
Request Lenses
plUploadProtocol :: Lens' ProjectsLookup (Maybe Text) Source #
Upload protocol for media (e.g. "raw", "multipart").
plAccessToken :: Lens' ProjectsLookup (Maybe Text) Source #
OAuth access token.
plUploadType :: Lens' ProjectsLookup (Maybe Text) Source #
Legacy upload protocol for media (e.g. "media", "multipart").
plPayload :: Lens' ProjectsLookup LookupRequest Source #
Multipart request metadata.
plProjectId :: Lens' ProjectsLookup Text Source #
The ID of the project against which to make the request.
plCallback :: Lens' ProjectsLookup (Maybe Text) Source #
JSONP