Skip to content

Commit d4be6e4

Browse files
chore: update README to include backups samples (#918)
This PR was generated using Autosynth. 🌈 Synth log will be available here: https://source.cloud.google.com/results/invocations/641cda3e-4379-4a37-95a4-fd7cfcd4d08e/targets
1 parent a07cf0c commit d4be6e4

File tree

3 files changed

+172
-1
lines changed

3 files changed

+172
-1
lines changed

README.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -88,6 +88,15 @@ has instructions for running the samples.
8888

8989
| Sample | Source Code | Try it |
9090
| --------------------------- | --------------------------------- | ------ |
91+
| Backups-cancel | [source code](https://github.com/googleapis/nodejs-spanner/blob/master/samples/backups-cancel.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/nodejs-spanner&page=editor&open_in_editor=samples/backups-cancel.js,samples/README.md) |
92+
| Backups-create | [source code](https://github.com/googleapis/nodejs-spanner/blob/master/samples/backups-create.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/nodejs-spanner&page=editor&open_in_editor=samples/backups-create.js,samples/README.md) |
93+
| Backups-delete | [source code](https://github.com/googleapis/nodejs-spanner/blob/master/samples/backups-delete.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/nodejs-spanner&page=editor&open_in_editor=samples/backups-delete.js,samples/README.md) |
94+
| Backups-get-database-operations | [source code](https://github.com/googleapis/nodejs-spanner/blob/master/samples/backups-get-database-operations.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/nodejs-spanner&page=editor&open_in_editor=samples/backups-get-database-operations.js,samples/README.md) |
95+
| Backups-get-operations | [source code](https://github.com/googleapis/nodejs-spanner/blob/master/samples/backups-get-operations.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/nodejs-spanner&page=editor&open_in_editor=samples/backups-get-operations.js,samples/README.md) |
96+
| Backups-get | [source code](https://github.com/googleapis/nodejs-spanner/blob/master/samples/backups-get.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/nodejs-spanner&page=editor&open_in_editor=samples/backups-get.js,samples/README.md) |
97+
| Backups-restore | [source code](https://github.com/googleapis/nodejs-spanner/blob/master/samples/backups-restore.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/nodejs-spanner&page=editor&open_in_editor=samples/backups-restore.js,samples/README.md) |
98+
| Backups-update | [source code](https://github.com/googleapis/nodejs-spanner/blob/master/samples/backups-update.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/nodejs-spanner&page=editor&open_in_editor=samples/backups-update.js,samples/README.md) |
99+
| Backups | [source code](https://github.com/googleapis/nodejs-spanner/blob/master/samples/backups.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/nodejs-spanner&page=editor&open_in_editor=samples/backups.js,samples/README.md) |
91100
| Batch | [source code](https://github.com/googleapis/nodejs-spanner/blob/master/samples/batch.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/nodejs-spanner&page=editor&open_in_editor=samples/batch.js,samples/README.md) |
92101
| CRUD | [source code](https://github.com/googleapis/nodejs-spanner/blob/master/samples/crud.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/nodejs-spanner&page=editor&open_in_editor=samples/crud.js,samples/README.md) |
93102
| Datatypes | [source code](https://github.com/googleapis/nodejs-spanner/blob/master/samples/datatypes.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/nodejs-spanner&page=editor&open_in_editor=samples/datatypes.js,samples/README.md) |

samples/README.md

Lines changed: 162 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,15 @@ and automatic, synchronous replication for high availability.
1414

1515
* [Before you begin](#before-you-begin)
1616
* [Samples](#samples)
17+
* [Backups-cancel](#backups-cancel)
18+
* [Backups-create](#backups-create)
19+
* [Backups-delete](#backups-delete)
20+
* [Backups-get-database-operations](#backups-get-database-operations)
21+
* [Backups-get-operations](#backups-get-operations)
22+
* [Backups-get](#backups-get)
23+
* [Backups-restore](#backups-restore)
24+
* [Backups-update](#backups-update)
25+
* [Backups](#backups)
1726
* [Batch](#batch)
1827
* [CRUD](#crud)
1928
* [Datatypes](#datatypes)
@@ -41,6 +50,159 @@ Before running the samples, make sure you've followed the steps outlined in
4150

4251

4352

53+
### Backups-cancel
54+
55+
View the [source code](https://github.com/googleapis/nodejs-spanner/blob/master/samples/backups-cancel.js).
56+
57+
[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/nodejs-spanner&page=editor&open_in_editor=samples/backups-cancel.js,samples/README.md)
58+
59+
__Usage:__
60+
61+
62+
`node samples/backups-cancel.js`
63+
64+
65+
-----
66+
67+
68+
69+
70+
### Backups-create
71+
72+
View the [source code](https://github.com/googleapis/nodejs-spanner/blob/master/samples/backups-create.js).
73+
74+
[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/nodejs-spanner&page=editor&open_in_editor=samples/backups-create.js,samples/README.md)
75+
76+
__Usage:__
77+
78+
79+
`node samples/backups-create.js`
80+
81+
82+
-----
83+
84+
85+
86+
87+
### Backups-delete
88+
89+
View the [source code](https://github.com/googleapis/nodejs-spanner/blob/master/samples/backups-delete.js).
90+
91+
[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/nodejs-spanner&page=editor&open_in_editor=samples/backups-delete.js,samples/README.md)
92+
93+
__Usage:__
94+
95+
96+
`node samples/backups-delete.js`
97+
98+
99+
-----
100+
101+
102+
103+
104+
### Backups-get-database-operations
105+
106+
View the [source code](https://github.com/googleapis/nodejs-spanner/blob/master/samples/backups-get-database-operations.js).
107+
108+
[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/nodejs-spanner&page=editor&open_in_editor=samples/backups-get-database-operations.js,samples/README.md)
109+
110+
__Usage:__
111+
112+
113+
`node samples/backups-get-database-operations.js`
114+
115+
116+
-----
117+
118+
119+
120+
121+
### Backups-get-operations
122+
123+
View the [source code](https://github.com/googleapis/nodejs-spanner/blob/master/samples/backups-get-operations.js).
124+
125+
[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/nodejs-spanner&page=editor&open_in_editor=samples/backups-get-operations.js,samples/README.md)
126+
127+
__Usage:__
128+
129+
130+
`node samples/backups-get-operations.js`
131+
132+
133+
-----
134+
135+
136+
137+
138+
### Backups-get
139+
140+
View the [source code](https://github.com/googleapis/nodejs-spanner/blob/master/samples/backups-get.js).
141+
142+
[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/nodejs-spanner&page=editor&open_in_editor=samples/backups-get.js,samples/README.md)
143+
144+
__Usage:__
145+
146+
147+
`node samples/backups-get.js`
148+
149+
150+
-----
151+
152+
153+
154+
155+
### Backups-restore
156+
157+
View the [source code](https://github.com/googleapis/nodejs-spanner/blob/master/samples/backups-restore.js).
158+
159+
[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/nodejs-spanner&page=editor&open_in_editor=samples/backups-restore.js,samples/README.md)
160+
161+
__Usage:__
162+
163+
164+
`node samples/backups-restore.js`
165+
166+
167+
-----
168+
169+
170+
171+
172+
### Backups-update
173+
174+
View the [source code](https://github.com/googleapis/nodejs-spanner/blob/master/samples/backups-update.js).
175+
176+
[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/nodejs-spanner&page=editor&open_in_editor=samples/backups-update.js,samples/README.md)
177+
178+
__Usage:__
179+
180+
181+
`node samples/backups-update.js`
182+
183+
184+
-----
185+
186+
187+
188+
189+
### Backups
190+
191+
View the [source code](https://github.com/googleapis/nodejs-spanner/blob/master/samples/backups.js).
192+
193+
[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/nodejs-spanner&page=editor&open_in_editor=samples/backups.js,samples/README.md)
194+
195+
__Usage:__
196+
197+
198+
`node samples/backups.js`
199+
200+
201+
-----
202+
203+
204+
205+
44206
### Batch
45207

46208
View the [source code](https://github.com/googleapis/nodejs-spanner/blob/master/samples/batch.js).

synth.metadata

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"git": {
55
"name": ".",
66
"remote": "https://github.com/googleapis/nodejs-spanner.git",
7-
"sha": "b3e0cf5e1928380110f4fa470d134740f2f9696a"
7+
"sha": "a07cf0c82f577ccab1e2b8b6682cba56c3595615"
88
}
99
},
1010
{

0 commit comments

Comments
 (0)