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 |
Exports a copy of all or a subset of documents from Google Cloud Firestore to another storage system, such as Google Cloud Storage. Recent updates to documents may not be reflected in the export. The export occurs in the background and its progress can be monitored and managed via the Operation resource that is created. The output of an export may only be used once the associated operation is done. If an export operation is cancelled before completion it may leave partial data behind in Google Cloud Storage.
See: Cloud Firestore API Reference for firestore.projects.databases.exportDocuments
.
Synopsis
- type ProjectsDatabasesExportDocumentsResource = "v1" :> (CaptureMode "name" "exportDocuments" Text :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] GoogleFirestoreAdminV1ExportDocumentsRequest :> Post '[JSON] GoogleLongrunningOperation))))))))
- projectsDatabasesExportDocuments :: GoogleFirestoreAdminV1ExportDocumentsRequest -> Text -> ProjectsDatabasesExportDocuments
- data ProjectsDatabasesExportDocuments
- pdedXgafv :: Lens' ProjectsDatabasesExportDocuments (Maybe Xgafv)
- pdedUploadProtocol :: Lens' ProjectsDatabasesExportDocuments (Maybe Text)
- pdedAccessToken :: Lens' ProjectsDatabasesExportDocuments (Maybe Text)
- pdedUploadType :: Lens' ProjectsDatabasesExportDocuments (Maybe Text)
- pdedPayload :: Lens' ProjectsDatabasesExportDocuments GoogleFirestoreAdminV1ExportDocumentsRequest
- pdedName :: Lens' ProjectsDatabasesExportDocuments Text
- pdedCallback :: Lens' ProjectsDatabasesExportDocuments (Maybe Text)
REST Resource
type ProjectsDatabasesExportDocumentsResource = "v1" :> (CaptureMode "name" "exportDocuments" Text :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] GoogleFirestoreAdminV1ExportDocumentsRequest :> Post '[JSON] GoogleLongrunningOperation)))))))) Source #
A resource alias for firestore.projects.databases.exportDocuments
method which the
ProjectsDatabasesExportDocuments
request conforms to.
Creating a Request
projectsDatabasesExportDocuments Source #
Creates a value of ProjectsDatabasesExportDocuments
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data ProjectsDatabasesExportDocuments Source #
Exports a copy of all or a subset of documents from Google Cloud Firestore to another storage system, such as Google Cloud Storage. Recent updates to documents may not be reflected in the export. The export occurs in the background and its progress can be monitored and managed via the Operation resource that is created. The output of an export may only be used once the associated operation is done. If an export operation is cancelled before completion it may leave partial data behind in Google Cloud Storage.
See: projectsDatabasesExportDocuments
smart constructor.
Instances
Request Lenses
pdedUploadProtocol :: Lens' ProjectsDatabasesExportDocuments (Maybe Text) Source #
Upload protocol for media (e.g. "raw", "multipart").
pdedAccessToken :: Lens' ProjectsDatabasesExportDocuments (Maybe Text) Source #
OAuth access token.
pdedUploadType :: Lens' ProjectsDatabasesExportDocuments (Maybe Text) Source #
Legacy upload protocol for media (e.g. "media", "multipart").
pdedPayload :: Lens' ProjectsDatabasesExportDocuments GoogleFirestoreAdminV1ExportDocumentsRequest Source #
Multipart request metadata.