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 |
Queries for entities.
See: Cloud Datastore API Reference for datastore.projects.runQuery
.
Synopsis
- type ProjectsRunQueryResource = "v1" :> ("projects" :> (CaptureMode "projectId" "runQuery" Text :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] RunQueryRequest :> Post '[JSON] RunQueryResponse)))))))))
- projectsRunQuery :: RunQueryRequest -> Text -> ProjectsRunQuery
- data ProjectsRunQuery
- prqXgafv :: Lens' ProjectsRunQuery (Maybe Xgafv)
- prqUploadProtocol :: Lens' ProjectsRunQuery (Maybe Text)
- prqAccessToken :: Lens' ProjectsRunQuery (Maybe Text)
- prqUploadType :: Lens' ProjectsRunQuery (Maybe Text)
- prqPayload :: Lens' ProjectsRunQuery RunQueryRequest
- prqProjectId :: Lens' ProjectsRunQuery Text
- prqCallback :: Lens' ProjectsRunQuery (Maybe Text)
REST Resource
type ProjectsRunQueryResource = "v1" :> ("projects" :> (CaptureMode "projectId" "runQuery" Text :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] RunQueryRequest :> Post '[JSON] RunQueryResponse))))))))) Source #
A resource alias for datastore.projects.runQuery
method which the
ProjectsRunQuery
request conforms to.
Creating a Request
Creates a value of ProjectsRunQuery
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data ProjectsRunQuery Source #
Queries for entities.
See: projectsRunQuery
smart constructor.
Instances
Request Lenses
prqUploadProtocol :: Lens' ProjectsRunQuery (Maybe Text) Source #
Upload protocol for media (e.g. "raw", "multipart").
prqAccessToken :: Lens' ProjectsRunQuery (Maybe Text) Source #
OAuth access token.
prqUploadType :: Lens' ProjectsRunQuery (Maybe Text) Source #
Legacy upload protocol for media (e.g. "media", "multipart").
prqPayload :: Lens' ProjectsRunQuery RunQueryRequest Source #
Multipart request metadata.
prqProjectId :: Lens' ProjectsRunQuery Text Source #
The ID of the project against which to make the request.
prqCallback :: Lens' ProjectsRunQuery (Maybe Text) Source #
JSONP