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 |
Gets multiple documents. Documents returned by this method are not guaranteed to be returned in the same order that they were requested.
See: Cloud Firestore API Reference for firestore.projects.databases.documents.batchGet
.
Synopsis
- type ProjectsDatabasesDocumentsBatchGetResource = "v1" :> (Capture "database" Text :> ("documents:batchGet" :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] BatchGetDocumentsRequest :> Post '[JSON] BatchGetDocumentsResponse)))))))))
- projectsDatabasesDocumentsBatchGet :: Text -> BatchGetDocumentsRequest -> ProjectsDatabasesDocumentsBatchGet
- data ProjectsDatabasesDocumentsBatchGet
- pddbgXgafv :: Lens' ProjectsDatabasesDocumentsBatchGet (Maybe Xgafv)
- pddbgUploadProtocol :: Lens' ProjectsDatabasesDocumentsBatchGet (Maybe Text)
- pddbgDatabase :: Lens' ProjectsDatabasesDocumentsBatchGet Text
- pddbgAccessToken :: Lens' ProjectsDatabasesDocumentsBatchGet (Maybe Text)
- pddbgUploadType :: Lens' ProjectsDatabasesDocumentsBatchGet (Maybe Text)
- pddbgPayload :: Lens' ProjectsDatabasesDocumentsBatchGet BatchGetDocumentsRequest
- pddbgCallback :: Lens' ProjectsDatabasesDocumentsBatchGet (Maybe Text)
REST Resource
type ProjectsDatabasesDocumentsBatchGetResource = "v1" :> (Capture "database" Text :> ("documents:batchGet" :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] BatchGetDocumentsRequest :> Post '[JSON] BatchGetDocumentsResponse))))))))) Source #
A resource alias for firestore.projects.databases.documents.batchGet
method which the
ProjectsDatabasesDocumentsBatchGet
request conforms to.
Creating a Request
projectsDatabasesDocumentsBatchGet Source #
Creates a value of ProjectsDatabasesDocumentsBatchGet
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data ProjectsDatabasesDocumentsBatchGet Source #
Gets multiple documents. Documents returned by this method are not guaranteed to be returned in the same order that they were requested.
See: projectsDatabasesDocumentsBatchGet
smart constructor.
Instances
Request Lenses
pddbgXgafv :: Lens' ProjectsDatabasesDocumentsBatchGet (Maybe Xgafv) Source #
V1 error format.
pddbgUploadProtocol :: Lens' ProjectsDatabasesDocumentsBatchGet (Maybe Text) Source #
Upload protocol for media (e.g. "raw", "multipart").
pddbgDatabase :: Lens' ProjectsDatabasesDocumentsBatchGet Text Source #
The database name. In the format: `projects/{project_id}/databases/{database_id}`.
pddbgAccessToken :: Lens' ProjectsDatabasesDocumentsBatchGet (Maybe Text) Source #
OAuth access token.
pddbgUploadType :: Lens' ProjectsDatabasesDocumentsBatchGet (Maybe Text) Source #
Legacy upload protocol for media (e.g. "media", "multipart").
pddbgPayload :: Lens' ProjectsDatabasesDocumentsBatchGet BatchGetDocumentsRequest Source #
Multipart request metadata.