File tree Expand file tree Collapse file tree 6 files changed +10
-10
lines changed
solution-scheduled-backups
functions/firestore-export Expand file tree Collapse file tree 6 files changed +10
-10
lines changed Original file line number Diff line number Diff line change 1
1
# Solution: Recursive Deletes
2
2
3
3
This solution shows how to write a Cloud Function that deletes data
4
- in Cloud Firestore and securely call this function from your
4
+ in Firestore and securely call this function from your
5
5
mobile app or website.
6
6
7
7
## Setup
@@ -39,4 +39,4 @@ mobile app or website.
39
39
1. Enter the path of the document or collection you would like
40
40
to delete, for example `things/thing1`, then click **DELETE**.
41
41
42
- [iam-page]: https://console.cloud.google.com/project/_/iam-admin
42
+ [iam-page]: https://console.cloud.google.com/project/_/iam-admin
Original file line number Diff line number Diff line change 15
15
</ head >
16
16
< body >
17
17
< div id ="message " class ="shadow ">
18
- < h2 > Cloud Firestore Demo</ h2 >
18
+ < h2 > Firestore Demo</ h2 >
19
19
< h1 > Server-Side Deletes</ h1 >
20
20
< p > Use the form below to initiate a delete.</ p >
21
21
Original file line number Diff line number Diff line change 1
- # Cloud Firestore Scheduled Backups
1
+ # Firestore Scheduled Backups
2
2
3
3
This sample demonstrates using AppEngine cron jobs to run nightly backups
4
- of data in Cloud Firestore.
4
+ of data in Firestore.
5
5
6
6
## Setup
7
7
@@ -11,7 +11,7 @@ Firestore database within the project.
11
11
12
12
### 2 - Configure IAM
13
13
This sample will use the AppEngine default service account to perform
14
- backups of your Cloud Firestore data. To do this, you will need to give
14
+ backups of your Firestore data. To do this, you will need to give
15
15
the service account permission to access your data and save it to
16
16
google cloud storage.
17
17
Original file line number Diff line number Diff line change 1
1
cron :
2
- - description : " Daily Cloud Firestore Export"
2
+ - description : " Daily Firestore Export"
3
3
url : /cloud-firestore-export?outputUriPrefix=gs://BUCKET_NAME[/PATH]&collections=test1,test2
4
4
target : cloud-firestore-admin
5
- schedule : every 24 hours
5
+ schedule : every 24 hours
Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " solution-scheduled-backups" ,
3
3
"version" : " 1.0.0" ,
4
- "description" : " Scheduled Cloud Firestore backups via AppEngine cron" ,
4
+ "description" : " Scheduled Firestore backups via AppEngine cron" ,
5
5
"main" : " app.js" ,
6
6
"engines" : {
7
7
"node" : " 10.x.x"
Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " functions-firestore-export" ,
3
3
"version" : " 1.0.0" ,
4
- "description" : " Scheduled Cloud Firestore exports." ,
4
+ "description" : " Scheduled Firestore exports." ,
5
5
"main" : " index.js" ,
6
6
"author" : " " ,
7
7
"license" : " Apache-2.0" ,
You can’t perform that action at this time.
0 commit comments