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 |
Runs a query.
See: Cloud Firestore API Reference for firestore.projects.databases.documents.runQuery
.
Synopsis
- type ProjectsDatabasesDocumentsRunQueryResource = "v1" :> (CaptureMode "parent" "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))))))))
- projectsDatabasesDocumentsRunQuery :: Text -> RunQueryRequest -> ProjectsDatabasesDocumentsRunQuery
- data ProjectsDatabasesDocumentsRunQuery
- pddrqParent :: Lens' ProjectsDatabasesDocumentsRunQuery Text
- pddrqXgafv :: Lens' ProjectsDatabasesDocumentsRunQuery (Maybe Xgafv)
- pddrqUploadProtocol :: Lens' ProjectsDatabasesDocumentsRunQuery (Maybe Text)
- pddrqAccessToken :: Lens' ProjectsDatabasesDocumentsRunQuery (Maybe Text)
- pddrqUploadType :: Lens' ProjectsDatabasesDocumentsRunQuery (Maybe Text)
- pddrqPayload :: Lens' ProjectsDatabasesDocumentsRunQuery RunQueryRequest
- pddrqCallback :: Lens' ProjectsDatabasesDocumentsRunQuery (Maybe Text)
REST Resource
type ProjectsDatabasesDocumentsRunQueryResource = "v1" :> (CaptureMode "parent" "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 firestore.projects.databases.documents.runQuery
method which the
ProjectsDatabasesDocumentsRunQuery
request conforms to.
Creating a Request
projectsDatabasesDocumentsRunQuery Source #
Creates a value of ProjectsDatabasesDocumentsRunQuery
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data ProjectsDatabasesDocumentsRunQuery Source #
Runs a query.
See: projectsDatabasesDocumentsRunQuery
smart constructor.
Instances
Request Lenses
pddrqParent :: Lens' ProjectsDatabasesDocumentsRunQuery Text Source #
The parent resource name. In the format: `projects/{project_id}/databases/{database_id}/documents` or `projects/{project_id}/databases/{database_id}/documents/{document_path}`. For example: `projects/my-project/databases/my-database/documents` or `projects/my-project/databases/my-database/documents/chatrooms/my-chatroom`
pddrqXgafv :: Lens' ProjectsDatabasesDocumentsRunQuery (Maybe Xgafv) Source #
V1 error format.
pddrqUploadProtocol :: Lens' ProjectsDatabasesDocumentsRunQuery (Maybe Text) Source #
Upload protocol for media (e.g. "raw", "multipart").
pddrqAccessToken :: Lens' ProjectsDatabasesDocumentsRunQuery (Maybe Text) Source #
OAuth access token.
pddrqUploadType :: Lens' ProjectsDatabasesDocumentsRunQuery (Maybe Text) Source #
Legacy upload protocol for media (e.g. "media", "multipart").
pddrqPayload :: Lens' ProjectsDatabasesDocumentsRunQuery RunQueryRequest Source #
Multipart request metadata.