@webda/gcp 2.0.0-beta.0 → 2.0.0-beta.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/services/firestore.d.ts +2 -2
- package/lib/services/firestore.js +1 -0
- package/lib/services/firestore.js.map +1 -1
- package/lib/services/firestore.spec.js +6 -6
- package/lib/services/firestore.spec.js.map +1 -1
- package/lib/services/pubsub.d.ts +2 -2
- package/lib/services/pubsub.js +2 -1
- package/lib/services/pubsub.js.map +1 -1
- package/lib/services/pubsub.spec.js +2 -2
- package/lib/services/pubsub.spec.js.map +1 -1
- package/lib/services/queue.d.ts +1 -1
- package/lib/services/queue.js +1 -0
- package/lib/services/queue.js.map +1 -1
- package/lib/services/queue.spec.js +1 -1
- package/lib/services/queue.spec.js.map +1 -1
- package/lib/services/storage.d.ts +1 -1
- package/lib/services/storage.js +1 -1
- package/lib/services/storage.js.map +1 -1
- package/lib/services/storage.spec.js +3 -3
- package/lib/services/storage.spec.js.map +1 -1
- package/package.json +8 -8
- package/webda.module.json +1017 -1
package/webda.module.json
CHANGED
|
@@ -8,5 +8,1021 @@
|
|
|
8
8
|
"beans": {},
|
|
9
9
|
"models": {},
|
|
10
10
|
"deployers": {},
|
|
11
|
-
"schemas": {
|
|
11
|
+
"schemas": {
|
|
12
|
+
"webda/googlecloudstorage": {
|
|
13
|
+
"type": "object",
|
|
14
|
+
"properties": {
|
|
15
|
+
"type": {
|
|
16
|
+
"type": "string",
|
|
17
|
+
"description": "Type of the service"
|
|
18
|
+
},
|
|
19
|
+
"map": {
|
|
20
|
+
"type": "object",
|
|
21
|
+
"additionalProperties": {
|
|
22
|
+
"type": "array",
|
|
23
|
+
"items": {
|
|
24
|
+
"type": "string"
|
|
25
|
+
}
|
|
26
|
+
},
|
|
27
|
+
"description": "Define the map to Object collection\n\nkey is a Store name the string[] represent all valids attributes to store files in"
|
|
28
|
+
},
|
|
29
|
+
"expose": {
|
|
30
|
+
"type": "object",
|
|
31
|
+
"properties": {
|
|
32
|
+
"url": {
|
|
33
|
+
"type": "string",
|
|
34
|
+
"description": "URL to expose the service to"
|
|
35
|
+
},
|
|
36
|
+
"restrict": {
|
|
37
|
+
"type": "object",
|
|
38
|
+
"properties": {
|
|
39
|
+
"get": {
|
|
40
|
+
"type": "boolean",
|
|
41
|
+
"description": "Restrict GET"
|
|
42
|
+
},
|
|
43
|
+
"create": {
|
|
44
|
+
"type": "boolean",
|
|
45
|
+
"description": "Restrict POST"
|
|
46
|
+
},
|
|
47
|
+
"delete": {
|
|
48
|
+
"type": "boolean",
|
|
49
|
+
"description": "Restrict DELETE"
|
|
50
|
+
},
|
|
51
|
+
"metadata": {
|
|
52
|
+
"type": "boolean",
|
|
53
|
+
"description": "Restrict update of metadata"
|
|
54
|
+
}
|
|
55
|
+
},
|
|
56
|
+
"description": "Restrict some APIs"
|
|
57
|
+
}
|
|
58
|
+
},
|
|
59
|
+
"required": [
|
|
60
|
+
"url"
|
|
61
|
+
],
|
|
62
|
+
"description": "Expose the service to http"
|
|
63
|
+
},
|
|
64
|
+
"prefix": {
|
|
65
|
+
"type": "string"
|
|
66
|
+
},
|
|
67
|
+
"bucket": {
|
|
68
|
+
"type": "string"
|
|
69
|
+
}
|
|
70
|
+
},
|
|
71
|
+
"required": [
|
|
72
|
+
"bucket",
|
|
73
|
+
"map",
|
|
74
|
+
"type"
|
|
75
|
+
],
|
|
76
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
77
|
+
"title": "GoogleCloudStorage"
|
|
78
|
+
},
|
|
79
|
+
"webda/googlecloudfirestore": {
|
|
80
|
+
"type": "object",
|
|
81
|
+
"properties": {
|
|
82
|
+
"type": {
|
|
83
|
+
"type": "string",
|
|
84
|
+
"description": "Type of the service"
|
|
85
|
+
},
|
|
86
|
+
"model": {
|
|
87
|
+
"type": "string",
|
|
88
|
+
"description": "Webda model to use within the Store",
|
|
89
|
+
"default": "Webda/CoreModel"
|
|
90
|
+
},
|
|
91
|
+
"asyncDelete": {
|
|
92
|
+
"type": "boolean",
|
|
93
|
+
"description": "async delete"
|
|
94
|
+
},
|
|
95
|
+
"expose": {
|
|
96
|
+
"$ref": "#/definitions/ExposeParameters",
|
|
97
|
+
"description": "Expose the service to an urls"
|
|
98
|
+
},
|
|
99
|
+
"strict": {
|
|
100
|
+
"type": "boolean",
|
|
101
|
+
"description": "Allow to load object that does not have the type data",
|
|
102
|
+
"default": true
|
|
103
|
+
},
|
|
104
|
+
"slowQueryThreshold": {
|
|
105
|
+
"type": "number",
|
|
106
|
+
"description": "Slow query threshold",
|
|
107
|
+
"default": 30000
|
|
108
|
+
},
|
|
109
|
+
"collection": {
|
|
110
|
+
"type": "string",
|
|
111
|
+
"description": "Collection to use"
|
|
112
|
+
},
|
|
113
|
+
"compoundIndexes": {
|
|
114
|
+
"type": "array",
|
|
115
|
+
"items": {
|
|
116
|
+
"$ref": "#/definitions/FireStoreIndex"
|
|
117
|
+
},
|
|
118
|
+
"description": "To allow efficient query on several fields"
|
|
119
|
+
}
|
|
120
|
+
},
|
|
121
|
+
"required": [
|
|
122
|
+
"asyncDelete",
|
|
123
|
+
"collection",
|
|
124
|
+
"compoundIndexes",
|
|
125
|
+
"slowQueryThreshold",
|
|
126
|
+
"type"
|
|
127
|
+
],
|
|
128
|
+
"description": "Firebase parameters",
|
|
129
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
130
|
+
"definitions": {
|
|
131
|
+
"ExposeParameters": {
|
|
132
|
+
"type": "object",
|
|
133
|
+
"properties": {
|
|
134
|
+
"url": {
|
|
135
|
+
"type": "string",
|
|
136
|
+
"description": "URL endpoint to use to expose REST Resources API",
|
|
137
|
+
"default": "service.getName().toLowerCase()"
|
|
138
|
+
},
|
|
139
|
+
"restrict": {
|
|
140
|
+
"type": "object",
|
|
141
|
+
"properties": {
|
|
142
|
+
"create": {
|
|
143
|
+
"type": "boolean",
|
|
144
|
+
"description": "Do not expose the POST"
|
|
145
|
+
},
|
|
146
|
+
"update": {
|
|
147
|
+
"type": "boolean",
|
|
148
|
+
"description": "Do not expose the PUT and PATCH"
|
|
149
|
+
},
|
|
150
|
+
"get": {
|
|
151
|
+
"type": "boolean",
|
|
152
|
+
"description": "Do not expose the GET"
|
|
153
|
+
},
|
|
154
|
+
"delete": {
|
|
155
|
+
"type": "boolean",
|
|
156
|
+
"description": "Do not expose the DELETE"
|
|
157
|
+
},
|
|
158
|
+
"query": {
|
|
159
|
+
"type": "boolean",
|
|
160
|
+
"description": "Do not expose the query endpoint"
|
|
161
|
+
}
|
|
162
|
+
},
|
|
163
|
+
"description": "You can restrict any part of the CRUD",
|
|
164
|
+
"default": {}
|
|
165
|
+
},
|
|
166
|
+
"queryMethod": {
|
|
167
|
+
"type": "string",
|
|
168
|
+
"enum": [
|
|
169
|
+
"PUT",
|
|
170
|
+
"GET"
|
|
171
|
+
],
|
|
172
|
+
"description": "For confidentiality sometimes you might prefer to expose query through PUT To avoid GET logging",
|
|
173
|
+
"default": "GET"
|
|
174
|
+
}
|
|
175
|
+
}
|
|
176
|
+
},
|
|
177
|
+
"FireStoreIndex": {
|
|
178
|
+
"type": "object",
|
|
179
|
+
"additionalProperties": {
|
|
180
|
+
"type": "string",
|
|
181
|
+
"enum": [
|
|
182
|
+
"asc",
|
|
183
|
+
"desc"
|
|
184
|
+
]
|
|
185
|
+
},
|
|
186
|
+
"description": "Definition of a FireStore index"
|
|
187
|
+
}
|
|
188
|
+
},
|
|
189
|
+
"title": "GoogleCloudFireStore"
|
|
190
|
+
},
|
|
191
|
+
"webda/googlecloudpubsub": {
|
|
192
|
+
"type": "object",
|
|
193
|
+
"properties": {
|
|
194
|
+
"type": {
|
|
195
|
+
"type": "string",
|
|
196
|
+
"description": "Type of the service"
|
|
197
|
+
},
|
|
198
|
+
"topic": {
|
|
199
|
+
"type": "string",
|
|
200
|
+
"description": "Topic to use on GCP"
|
|
201
|
+
},
|
|
202
|
+
"subscriptionOptions": {
|
|
203
|
+
"$ref": "#/definitions/CreateSubscriptionOptions",
|
|
204
|
+
"description": "Subscription options to pass to GCP"
|
|
205
|
+
}
|
|
206
|
+
},
|
|
207
|
+
"required": [
|
|
208
|
+
"topic",
|
|
209
|
+
"type"
|
|
210
|
+
],
|
|
211
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
212
|
+
"definitions": {
|
|
213
|
+
"CreateSubscriptionOptions": {
|
|
214
|
+
"type": "object",
|
|
215
|
+
"properties": {
|
|
216
|
+
"gaxOpts": {
|
|
217
|
+
"type": "object",
|
|
218
|
+
"properties": {
|
|
219
|
+
"timeout": {
|
|
220
|
+
"type": "number"
|
|
221
|
+
},
|
|
222
|
+
"retry": {
|
|
223
|
+
"anyOf": [
|
|
224
|
+
{
|
|
225
|
+
"$ref": "#/definitions/Partial%3Cclass-478043683-692-3001-478043683-0-14911%3E"
|
|
226
|
+
},
|
|
227
|
+
{
|
|
228
|
+
"type": "null"
|
|
229
|
+
}
|
|
230
|
+
]
|
|
231
|
+
},
|
|
232
|
+
"autoPaginate": {
|
|
233
|
+
"type": "boolean"
|
|
234
|
+
},
|
|
235
|
+
"maxResults": {
|
|
236
|
+
"type": "number"
|
|
237
|
+
},
|
|
238
|
+
"maxRetries": {
|
|
239
|
+
"type": "number"
|
|
240
|
+
},
|
|
241
|
+
"otherArgs": {
|
|
242
|
+
"type": "object"
|
|
243
|
+
},
|
|
244
|
+
"bundleOptions": {
|
|
245
|
+
"anyOf": [
|
|
246
|
+
{
|
|
247
|
+
"type": "object",
|
|
248
|
+
"properties": {
|
|
249
|
+
"elementCountLimit": {
|
|
250
|
+
"type": "number"
|
|
251
|
+
},
|
|
252
|
+
"requestByteLimit": {
|
|
253
|
+
"type": "number"
|
|
254
|
+
},
|
|
255
|
+
"elementCountThreshold": {
|
|
256
|
+
"type": "number"
|
|
257
|
+
},
|
|
258
|
+
"requestByteThreshold": {
|
|
259
|
+
"type": "number"
|
|
260
|
+
},
|
|
261
|
+
"delayThreshold": {
|
|
262
|
+
"type": "number"
|
|
263
|
+
}
|
|
264
|
+
}
|
|
265
|
+
},
|
|
266
|
+
{
|
|
267
|
+
"type": "null"
|
|
268
|
+
}
|
|
269
|
+
]
|
|
270
|
+
},
|
|
271
|
+
"isBundling": {
|
|
272
|
+
"type": "boolean"
|
|
273
|
+
},
|
|
274
|
+
"longrunning": {
|
|
275
|
+
"type": "object",
|
|
276
|
+
"properties": {
|
|
277
|
+
"maxRetries": {
|
|
278
|
+
"type": "number"
|
|
279
|
+
},
|
|
280
|
+
"initialRetryDelayMillis": {
|
|
281
|
+
"type": "number"
|
|
282
|
+
},
|
|
283
|
+
"retryDelayMultiplier": {
|
|
284
|
+
"type": "number"
|
|
285
|
+
},
|
|
286
|
+
"maxRetryDelayMillis": {
|
|
287
|
+
"type": "number"
|
|
288
|
+
},
|
|
289
|
+
"initialRpcTimeoutMillis": {
|
|
290
|
+
"type": [
|
|
291
|
+
"number",
|
|
292
|
+
"null"
|
|
293
|
+
]
|
|
294
|
+
},
|
|
295
|
+
"maxRpcTimeoutMillis": {
|
|
296
|
+
"type": [
|
|
297
|
+
"number",
|
|
298
|
+
"null"
|
|
299
|
+
]
|
|
300
|
+
},
|
|
301
|
+
"totalTimeoutMillis": {
|
|
302
|
+
"type": [
|
|
303
|
+
"number",
|
|
304
|
+
"null"
|
|
305
|
+
]
|
|
306
|
+
},
|
|
307
|
+
"rpcTimeoutMultiplier": {
|
|
308
|
+
"type": [
|
|
309
|
+
"number",
|
|
310
|
+
"null"
|
|
311
|
+
]
|
|
312
|
+
}
|
|
313
|
+
},
|
|
314
|
+
"required": [
|
|
315
|
+
"initialRetryDelayMillis",
|
|
316
|
+
"retryDelayMultiplier",
|
|
317
|
+
"maxRetryDelayMillis"
|
|
318
|
+
]
|
|
319
|
+
},
|
|
320
|
+
"apiName": {
|
|
321
|
+
"type": "string"
|
|
322
|
+
},
|
|
323
|
+
"retryRequestOptions": {
|
|
324
|
+
"type": "object",
|
|
325
|
+
"properties": {
|
|
326
|
+
"objectMode": {
|
|
327
|
+
"type": "boolean"
|
|
328
|
+
},
|
|
329
|
+
"request": {},
|
|
330
|
+
"retries": {
|
|
331
|
+
"type": "number"
|
|
332
|
+
},
|
|
333
|
+
"noResponseRetries": {
|
|
334
|
+
"type": "number"
|
|
335
|
+
},
|
|
336
|
+
"currentRetryAttempt": {
|
|
337
|
+
"type": "number"
|
|
338
|
+
},
|
|
339
|
+
"shouldRetryFn": {}
|
|
340
|
+
}
|
|
341
|
+
}
|
|
342
|
+
}
|
|
343
|
+
},
|
|
344
|
+
"flowControl": {
|
|
345
|
+
"type": "object",
|
|
346
|
+
"properties": {
|
|
347
|
+
"allowExcessMessages": {
|
|
348
|
+
"type": "boolean"
|
|
349
|
+
},
|
|
350
|
+
"maxBytes": {
|
|
351
|
+
"type": "number"
|
|
352
|
+
},
|
|
353
|
+
"maxMessages": {
|
|
354
|
+
"type": "number"
|
|
355
|
+
},
|
|
356
|
+
"maxExtensionMinutes": {
|
|
357
|
+
"type": "number"
|
|
358
|
+
},
|
|
359
|
+
"maxExtension": {
|
|
360
|
+
"type": "number",
|
|
361
|
+
"deprecated": "Use maxExtensionMinutes."
|
|
362
|
+
}
|
|
363
|
+
}
|
|
364
|
+
},
|
|
365
|
+
"name": {
|
|
366
|
+
"type": [
|
|
367
|
+
"string",
|
|
368
|
+
"null"
|
|
369
|
+
],
|
|
370
|
+
"description": "Subscription name"
|
|
371
|
+
},
|
|
372
|
+
"topic": {
|
|
373
|
+
"type": [
|
|
374
|
+
"string",
|
|
375
|
+
"null"
|
|
376
|
+
],
|
|
377
|
+
"description": "Subscription topic"
|
|
378
|
+
},
|
|
379
|
+
"pushConfig": {
|
|
380
|
+
"anyOf": [
|
|
381
|
+
{
|
|
382
|
+
"type": "object",
|
|
383
|
+
"properties": {
|
|
384
|
+
"pushEndpoint": {
|
|
385
|
+
"type": [
|
|
386
|
+
"string",
|
|
387
|
+
"null"
|
|
388
|
+
],
|
|
389
|
+
"description": "PushConfig pushEndpoint"
|
|
390
|
+
},
|
|
391
|
+
"attributes": {
|
|
392
|
+
"anyOf": [
|
|
393
|
+
{
|
|
394
|
+
"type": "object",
|
|
395
|
+
"additionalProperties": {
|
|
396
|
+
"type": "string"
|
|
397
|
+
}
|
|
398
|
+
},
|
|
399
|
+
{
|
|
400
|
+
"type": "null"
|
|
401
|
+
}
|
|
402
|
+
],
|
|
403
|
+
"description": "PushConfig attributes"
|
|
404
|
+
},
|
|
405
|
+
"oidcToken": {
|
|
406
|
+
"anyOf": [
|
|
407
|
+
{
|
|
408
|
+
"type": "object",
|
|
409
|
+
"properties": {
|
|
410
|
+
"serviceAccountEmail": {
|
|
411
|
+
"type": [
|
|
412
|
+
"string",
|
|
413
|
+
"null"
|
|
414
|
+
],
|
|
415
|
+
"description": "OidcToken serviceAccountEmail"
|
|
416
|
+
},
|
|
417
|
+
"audience": {
|
|
418
|
+
"type": [
|
|
419
|
+
"string",
|
|
420
|
+
"null"
|
|
421
|
+
],
|
|
422
|
+
"description": "OidcToken audience"
|
|
423
|
+
}
|
|
424
|
+
},
|
|
425
|
+
"description": "Properties of an OidcToken."
|
|
426
|
+
},
|
|
427
|
+
{
|
|
428
|
+
"type": "null"
|
|
429
|
+
}
|
|
430
|
+
],
|
|
431
|
+
"description": "PushConfig oidcToken"
|
|
432
|
+
}
|
|
433
|
+
},
|
|
434
|
+
"description": "Properties of a PushConfig."
|
|
435
|
+
},
|
|
436
|
+
{
|
|
437
|
+
"type": "null"
|
|
438
|
+
}
|
|
439
|
+
],
|
|
440
|
+
"description": "Subscription pushConfig"
|
|
441
|
+
},
|
|
442
|
+
"bigqueryConfig": {
|
|
443
|
+
"anyOf": [
|
|
444
|
+
{
|
|
445
|
+
"type": "object",
|
|
446
|
+
"properties": {
|
|
447
|
+
"table": {
|
|
448
|
+
"type": [
|
|
449
|
+
"string",
|
|
450
|
+
"null"
|
|
451
|
+
],
|
|
452
|
+
"description": "BigQueryConfig table"
|
|
453
|
+
},
|
|
454
|
+
"useTopicSchema": {
|
|
455
|
+
"type": [
|
|
456
|
+
"boolean",
|
|
457
|
+
"null"
|
|
458
|
+
],
|
|
459
|
+
"description": "BigQueryConfig useTopicSchema"
|
|
460
|
+
},
|
|
461
|
+
"writeMetadata": {
|
|
462
|
+
"type": [
|
|
463
|
+
"boolean",
|
|
464
|
+
"null"
|
|
465
|
+
],
|
|
466
|
+
"description": "BigQueryConfig writeMetadata"
|
|
467
|
+
},
|
|
468
|
+
"dropUnknownFields": {
|
|
469
|
+
"type": [
|
|
470
|
+
"boolean",
|
|
471
|
+
"null"
|
|
472
|
+
],
|
|
473
|
+
"description": "BigQueryConfig dropUnknownFields"
|
|
474
|
+
},
|
|
475
|
+
"state": {
|
|
476
|
+
"anyOf": [
|
|
477
|
+
{
|
|
478
|
+
"$ref": "#/definitions/google.pubsub.v1.BigQueryConfig.State"
|
|
479
|
+
},
|
|
480
|
+
{
|
|
481
|
+
"type": "string",
|
|
482
|
+
"const": "STATE_UNSPECIFIED"
|
|
483
|
+
},
|
|
484
|
+
{
|
|
485
|
+
"type": "string",
|
|
486
|
+
"const": "ACTIVE"
|
|
487
|
+
},
|
|
488
|
+
{
|
|
489
|
+
"type": "string",
|
|
490
|
+
"const": "PERMISSION_DENIED"
|
|
491
|
+
},
|
|
492
|
+
{
|
|
493
|
+
"type": "string",
|
|
494
|
+
"const": "NOT_FOUND"
|
|
495
|
+
},
|
|
496
|
+
{
|
|
497
|
+
"type": "string",
|
|
498
|
+
"const": "SCHEMA_MISMATCH"
|
|
499
|
+
},
|
|
500
|
+
{
|
|
501
|
+
"type": "null"
|
|
502
|
+
}
|
|
503
|
+
],
|
|
504
|
+
"description": "BigQueryConfig state"
|
|
505
|
+
}
|
|
506
|
+
},
|
|
507
|
+
"description": "Properties of a BigQueryConfig."
|
|
508
|
+
},
|
|
509
|
+
{
|
|
510
|
+
"type": "null"
|
|
511
|
+
}
|
|
512
|
+
],
|
|
513
|
+
"description": "Subscription bigqueryConfig"
|
|
514
|
+
},
|
|
515
|
+
"ackDeadlineSeconds": {
|
|
516
|
+
"type": [
|
|
517
|
+
"number",
|
|
518
|
+
"null"
|
|
519
|
+
],
|
|
520
|
+
"description": "Subscription ackDeadlineSeconds"
|
|
521
|
+
},
|
|
522
|
+
"retainAckedMessages": {
|
|
523
|
+
"type": [
|
|
524
|
+
"boolean",
|
|
525
|
+
"null"
|
|
526
|
+
],
|
|
527
|
+
"description": "Subscription retainAckedMessages"
|
|
528
|
+
},
|
|
529
|
+
"labels": {
|
|
530
|
+
"anyOf": [
|
|
531
|
+
{
|
|
532
|
+
"type": "object",
|
|
533
|
+
"additionalProperties": {
|
|
534
|
+
"type": "string"
|
|
535
|
+
}
|
|
536
|
+
},
|
|
537
|
+
{
|
|
538
|
+
"type": "null"
|
|
539
|
+
}
|
|
540
|
+
],
|
|
541
|
+
"description": "Subscription labels"
|
|
542
|
+
},
|
|
543
|
+
"enableMessageOrdering": {
|
|
544
|
+
"type": [
|
|
545
|
+
"boolean",
|
|
546
|
+
"null"
|
|
547
|
+
],
|
|
548
|
+
"description": "Subscription enableMessageOrdering"
|
|
549
|
+
},
|
|
550
|
+
"expirationPolicy": {
|
|
551
|
+
"anyOf": [
|
|
552
|
+
{
|
|
553
|
+
"type": "object",
|
|
554
|
+
"properties": {
|
|
555
|
+
"ttl": {
|
|
556
|
+
"anyOf": [
|
|
557
|
+
{
|
|
558
|
+
"type": "object",
|
|
559
|
+
"properties": {
|
|
560
|
+
"seconds": {
|
|
561
|
+
"anyOf": [
|
|
562
|
+
{
|
|
563
|
+
"type": "number"
|
|
564
|
+
},
|
|
565
|
+
{
|
|
566
|
+
"$ref": "#/definitions/Long"
|
|
567
|
+
},
|
|
568
|
+
{
|
|
569
|
+
"type": "string"
|
|
570
|
+
},
|
|
571
|
+
{
|
|
572
|
+
"type": "null"
|
|
573
|
+
}
|
|
574
|
+
],
|
|
575
|
+
"description": "Duration seconds"
|
|
576
|
+
},
|
|
577
|
+
"nanos": {
|
|
578
|
+
"type": [
|
|
579
|
+
"number",
|
|
580
|
+
"null"
|
|
581
|
+
],
|
|
582
|
+
"description": "Duration nanos"
|
|
583
|
+
}
|
|
584
|
+
},
|
|
585
|
+
"description": "Properties of a Duration."
|
|
586
|
+
},
|
|
587
|
+
{
|
|
588
|
+
"type": "null"
|
|
589
|
+
}
|
|
590
|
+
],
|
|
591
|
+
"description": "ExpirationPolicy ttl"
|
|
592
|
+
}
|
|
593
|
+
},
|
|
594
|
+
"description": "Properties of an ExpirationPolicy."
|
|
595
|
+
},
|
|
596
|
+
{
|
|
597
|
+
"type": "null"
|
|
598
|
+
}
|
|
599
|
+
],
|
|
600
|
+
"description": "Subscription expirationPolicy"
|
|
601
|
+
},
|
|
602
|
+
"filter": {
|
|
603
|
+
"type": [
|
|
604
|
+
"string",
|
|
605
|
+
"null"
|
|
606
|
+
],
|
|
607
|
+
"description": "Subscription filter"
|
|
608
|
+
},
|
|
609
|
+
"deadLetterPolicy": {
|
|
610
|
+
"anyOf": [
|
|
611
|
+
{
|
|
612
|
+
"type": "object",
|
|
613
|
+
"properties": {
|
|
614
|
+
"deadLetterTopic": {
|
|
615
|
+
"type": [
|
|
616
|
+
"string",
|
|
617
|
+
"null"
|
|
618
|
+
],
|
|
619
|
+
"description": "DeadLetterPolicy deadLetterTopic"
|
|
620
|
+
},
|
|
621
|
+
"maxDeliveryAttempts": {
|
|
622
|
+
"type": [
|
|
623
|
+
"number",
|
|
624
|
+
"null"
|
|
625
|
+
],
|
|
626
|
+
"description": "DeadLetterPolicy maxDeliveryAttempts"
|
|
627
|
+
}
|
|
628
|
+
},
|
|
629
|
+
"description": "Properties of a DeadLetterPolicy."
|
|
630
|
+
},
|
|
631
|
+
{
|
|
632
|
+
"type": "null"
|
|
633
|
+
}
|
|
634
|
+
],
|
|
635
|
+
"description": "Subscription deadLetterPolicy"
|
|
636
|
+
},
|
|
637
|
+
"retryPolicy": {
|
|
638
|
+
"anyOf": [
|
|
639
|
+
{
|
|
640
|
+
"type": "object",
|
|
641
|
+
"properties": {
|
|
642
|
+
"minimumBackoff": {
|
|
643
|
+
"anyOf": [
|
|
644
|
+
{
|
|
645
|
+
"type": "object",
|
|
646
|
+
"properties": {
|
|
647
|
+
"seconds": {
|
|
648
|
+
"anyOf": [
|
|
649
|
+
{
|
|
650
|
+
"type": "number"
|
|
651
|
+
},
|
|
652
|
+
{
|
|
653
|
+
"$ref": "#/definitions/Long"
|
|
654
|
+
},
|
|
655
|
+
{
|
|
656
|
+
"type": "string"
|
|
657
|
+
},
|
|
658
|
+
{
|
|
659
|
+
"type": "null"
|
|
660
|
+
}
|
|
661
|
+
],
|
|
662
|
+
"description": "Duration seconds"
|
|
663
|
+
},
|
|
664
|
+
"nanos": {
|
|
665
|
+
"type": [
|
|
666
|
+
"number",
|
|
667
|
+
"null"
|
|
668
|
+
],
|
|
669
|
+
"description": "Duration nanos"
|
|
670
|
+
}
|
|
671
|
+
},
|
|
672
|
+
"description": "Properties of a Duration."
|
|
673
|
+
},
|
|
674
|
+
{
|
|
675
|
+
"type": "null"
|
|
676
|
+
}
|
|
677
|
+
],
|
|
678
|
+
"description": "RetryPolicy minimumBackoff"
|
|
679
|
+
},
|
|
680
|
+
"maximumBackoff": {
|
|
681
|
+
"anyOf": [
|
|
682
|
+
{
|
|
683
|
+
"type": "object",
|
|
684
|
+
"properties": {
|
|
685
|
+
"seconds": {
|
|
686
|
+
"anyOf": [
|
|
687
|
+
{
|
|
688
|
+
"type": "number"
|
|
689
|
+
},
|
|
690
|
+
{
|
|
691
|
+
"$ref": "#/definitions/Long"
|
|
692
|
+
},
|
|
693
|
+
{
|
|
694
|
+
"type": "string"
|
|
695
|
+
},
|
|
696
|
+
{
|
|
697
|
+
"type": "null"
|
|
698
|
+
}
|
|
699
|
+
],
|
|
700
|
+
"description": "Duration seconds"
|
|
701
|
+
},
|
|
702
|
+
"nanos": {
|
|
703
|
+
"type": [
|
|
704
|
+
"number",
|
|
705
|
+
"null"
|
|
706
|
+
],
|
|
707
|
+
"description": "Duration nanos"
|
|
708
|
+
}
|
|
709
|
+
},
|
|
710
|
+
"description": "Properties of a Duration."
|
|
711
|
+
},
|
|
712
|
+
{
|
|
713
|
+
"type": "null"
|
|
714
|
+
}
|
|
715
|
+
],
|
|
716
|
+
"description": "RetryPolicy maximumBackoff"
|
|
717
|
+
}
|
|
718
|
+
},
|
|
719
|
+
"description": "Properties of a RetryPolicy."
|
|
720
|
+
},
|
|
721
|
+
{
|
|
722
|
+
"type": "null"
|
|
723
|
+
}
|
|
724
|
+
],
|
|
725
|
+
"description": "Subscription retryPolicy"
|
|
726
|
+
},
|
|
727
|
+
"detached": {
|
|
728
|
+
"type": [
|
|
729
|
+
"boolean",
|
|
730
|
+
"null"
|
|
731
|
+
],
|
|
732
|
+
"description": "Subscription detached"
|
|
733
|
+
},
|
|
734
|
+
"enableExactlyOnceDelivery": {
|
|
735
|
+
"type": [
|
|
736
|
+
"boolean",
|
|
737
|
+
"null"
|
|
738
|
+
],
|
|
739
|
+
"description": "Subscription enableExactlyOnceDelivery"
|
|
740
|
+
},
|
|
741
|
+
"topicMessageRetentionDuration": {
|
|
742
|
+
"anyOf": [
|
|
743
|
+
{
|
|
744
|
+
"type": "object",
|
|
745
|
+
"properties": {
|
|
746
|
+
"seconds": {
|
|
747
|
+
"anyOf": [
|
|
748
|
+
{
|
|
749
|
+
"type": "number"
|
|
750
|
+
},
|
|
751
|
+
{
|
|
752
|
+
"$ref": "#/definitions/Long"
|
|
753
|
+
},
|
|
754
|
+
{
|
|
755
|
+
"type": "string"
|
|
756
|
+
},
|
|
757
|
+
{
|
|
758
|
+
"type": "null"
|
|
759
|
+
}
|
|
760
|
+
],
|
|
761
|
+
"description": "Duration seconds"
|
|
762
|
+
},
|
|
763
|
+
"nanos": {
|
|
764
|
+
"type": [
|
|
765
|
+
"number",
|
|
766
|
+
"null"
|
|
767
|
+
],
|
|
768
|
+
"description": "Duration nanos"
|
|
769
|
+
}
|
|
770
|
+
},
|
|
771
|
+
"description": "Properties of a Duration."
|
|
772
|
+
},
|
|
773
|
+
{
|
|
774
|
+
"type": "null"
|
|
775
|
+
}
|
|
776
|
+
],
|
|
777
|
+
"description": "Subscription topicMessageRetentionDuration"
|
|
778
|
+
},
|
|
779
|
+
"state": {
|
|
780
|
+
"anyOf": [
|
|
781
|
+
{
|
|
782
|
+
"$ref": "#/definitions/google.pubsub.v1.Subscription.State"
|
|
783
|
+
},
|
|
784
|
+
{
|
|
785
|
+
"type": "string",
|
|
786
|
+
"const": "STATE_UNSPECIFIED"
|
|
787
|
+
},
|
|
788
|
+
{
|
|
789
|
+
"type": "string",
|
|
790
|
+
"const": "ACTIVE"
|
|
791
|
+
},
|
|
792
|
+
{
|
|
793
|
+
"type": "string",
|
|
794
|
+
"const": "RESOURCE_ERROR"
|
|
795
|
+
},
|
|
796
|
+
{
|
|
797
|
+
"type": "null"
|
|
798
|
+
}
|
|
799
|
+
],
|
|
800
|
+
"description": "Subscription state"
|
|
801
|
+
},
|
|
802
|
+
"messageRetentionDuration": {
|
|
803
|
+
"anyOf": [
|
|
804
|
+
{
|
|
805
|
+
"type": "object",
|
|
806
|
+
"properties": {
|
|
807
|
+
"seconds": {
|
|
808
|
+
"anyOf": [
|
|
809
|
+
{
|
|
810
|
+
"type": "number"
|
|
811
|
+
},
|
|
812
|
+
{
|
|
813
|
+
"$ref": "#/definitions/Long"
|
|
814
|
+
},
|
|
815
|
+
{
|
|
816
|
+
"type": "string"
|
|
817
|
+
},
|
|
818
|
+
{
|
|
819
|
+
"type": "null"
|
|
820
|
+
}
|
|
821
|
+
],
|
|
822
|
+
"description": "Duration seconds"
|
|
823
|
+
},
|
|
824
|
+
"nanos": {
|
|
825
|
+
"type": [
|
|
826
|
+
"number",
|
|
827
|
+
"null"
|
|
828
|
+
],
|
|
829
|
+
"description": "Duration nanos"
|
|
830
|
+
}
|
|
831
|
+
},
|
|
832
|
+
"description": "Properties of a Duration."
|
|
833
|
+
},
|
|
834
|
+
{
|
|
835
|
+
"type": "number"
|
|
836
|
+
}
|
|
837
|
+
]
|
|
838
|
+
},
|
|
839
|
+
"pushEndpoint": {
|
|
840
|
+
"type": "string"
|
|
841
|
+
},
|
|
842
|
+
"oidcToken": {
|
|
843
|
+
"$ref": "#/definitions/OidcToken"
|
|
844
|
+
}
|
|
845
|
+
}
|
|
846
|
+
},
|
|
847
|
+
"Partial<class-478043683-692-3001-478043683-0-14911>": {
|
|
848
|
+
"type": "object",
|
|
849
|
+
"properties": {
|
|
850
|
+
"retryCodes": {
|
|
851
|
+
"type": "array",
|
|
852
|
+
"items": {
|
|
853
|
+
"type": "number"
|
|
854
|
+
}
|
|
855
|
+
},
|
|
856
|
+
"backoffSettings": {
|
|
857
|
+
"type": "object",
|
|
858
|
+
"properties": {
|
|
859
|
+
"maxRetries": {
|
|
860
|
+
"type": "number"
|
|
861
|
+
},
|
|
862
|
+
"initialRetryDelayMillis": {
|
|
863
|
+
"type": "number"
|
|
864
|
+
},
|
|
865
|
+
"retryDelayMultiplier": {
|
|
866
|
+
"type": "number"
|
|
867
|
+
},
|
|
868
|
+
"maxRetryDelayMillis": {
|
|
869
|
+
"type": "number"
|
|
870
|
+
},
|
|
871
|
+
"initialRpcTimeoutMillis": {
|
|
872
|
+
"type": [
|
|
873
|
+
"number",
|
|
874
|
+
"null"
|
|
875
|
+
]
|
|
876
|
+
},
|
|
877
|
+
"maxRpcTimeoutMillis": {
|
|
878
|
+
"type": [
|
|
879
|
+
"number",
|
|
880
|
+
"null"
|
|
881
|
+
]
|
|
882
|
+
},
|
|
883
|
+
"totalTimeoutMillis": {
|
|
884
|
+
"type": [
|
|
885
|
+
"number",
|
|
886
|
+
"null"
|
|
887
|
+
]
|
|
888
|
+
},
|
|
889
|
+
"rpcTimeoutMultiplier": {
|
|
890
|
+
"type": [
|
|
891
|
+
"number",
|
|
892
|
+
"null"
|
|
893
|
+
]
|
|
894
|
+
}
|
|
895
|
+
},
|
|
896
|
+
"required": [
|
|
897
|
+
"initialRetryDelayMillis",
|
|
898
|
+
"retryDelayMultiplier",
|
|
899
|
+
"maxRetryDelayMillis"
|
|
900
|
+
]
|
|
901
|
+
}
|
|
902
|
+
}
|
|
903
|
+
},
|
|
904
|
+
"google.pubsub.v1.BigQueryConfig.State": {
|
|
905
|
+
"type": "number",
|
|
906
|
+
"enum": [
|
|
907
|
+
0,
|
|
908
|
+
1,
|
|
909
|
+
2,
|
|
910
|
+
3,
|
|
911
|
+
4
|
|
912
|
+
],
|
|
913
|
+
"description": "State enum."
|
|
914
|
+
},
|
|
915
|
+
"Long": {
|
|
916
|
+
"type": "object",
|
|
917
|
+
"properties": {
|
|
918
|
+
"high": {
|
|
919
|
+
"type": "number",
|
|
920
|
+
"description": "The high 32 bits as a signed value."
|
|
921
|
+
},
|
|
922
|
+
"low": {
|
|
923
|
+
"type": "number",
|
|
924
|
+
"description": "The low 32 bits as a signed value."
|
|
925
|
+
},
|
|
926
|
+
"unsigned": {
|
|
927
|
+
"type": "boolean",
|
|
928
|
+
"description": "Whether unsigned or not."
|
|
929
|
+
}
|
|
930
|
+
},
|
|
931
|
+
"required": [
|
|
932
|
+
"high",
|
|
933
|
+
"low",
|
|
934
|
+
"unsigned"
|
|
935
|
+
]
|
|
936
|
+
},
|
|
937
|
+
"google.pubsub.v1.Subscription.State": {
|
|
938
|
+
"type": "number",
|
|
939
|
+
"enum": [
|
|
940
|
+
0,
|
|
941
|
+
1,
|
|
942
|
+
2
|
|
943
|
+
],
|
|
944
|
+
"description": "State enum."
|
|
945
|
+
},
|
|
946
|
+
"OidcToken": {
|
|
947
|
+
"type": "object",
|
|
948
|
+
"properties": {
|
|
949
|
+
"serviceAccountEmail": {
|
|
950
|
+
"type": [
|
|
951
|
+
"string",
|
|
952
|
+
"null"
|
|
953
|
+
],
|
|
954
|
+
"description": "OidcToken serviceAccountEmail"
|
|
955
|
+
},
|
|
956
|
+
"audience": {
|
|
957
|
+
"type": [
|
|
958
|
+
"string",
|
|
959
|
+
"null"
|
|
960
|
+
],
|
|
961
|
+
"description": "OidcToken audience"
|
|
962
|
+
}
|
|
963
|
+
},
|
|
964
|
+
"description": "Properties of an OidcToken."
|
|
965
|
+
}
|
|
966
|
+
},
|
|
967
|
+
"title": "GoogleCloudPubSub"
|
|
968
|
+
},
|
|
969
|
+
"webda/googlecloudqueue": {
|
|
970
|
+
"type": "object",
|
|
971
|
+
"properties": {
|
|
972
|
+
"type": {
|
|
973
|
+
"type": "string",
|
|
974
|
+
"description": "Type of the service"
|
|
975
|
+
},
|
|
976
|
+
"workerDelayer": {
|
|
977
|
+
"type": "object",
|
|
978
|
+
"properties": {
|
|
979
|
+
"interval": {
|
|
980
|
+
"type": "number",
|
|
981
|
+
"description": "Interval"
|
|
982
|
+
},
|
|
983
|
+
"type": {
|
|
984
|
+
"type": "string",
|
|
985
|
+
"description": "Type of delayer registered in WaitDelayerFactoryRegistry"
|
|
986
|
+
}
|
|
987
|
+
},
|
|
988
|
+
"required": [
|
|
989
|
+
"interval",
|
|
990
|
+
"type"
|
|
991
|
+
],
|
|
992
|
+
"description": "Delayer between two failed attempts to process messages"
|
|
993
|
+
},
|
|
994
|
+
"workerParallelism": {
|
|
995
|
+
"type": "boolean",
|
|
996
|
+
"description": "Define if worker should process multi message received in //",
|
|
997
|
+
"default": true
|
|
998
|
+
},
|
|
999
|
+
"maxConsumers": {
|
|
1000
|
+
"type": "number",
|
|
1001
|
+
"description": "Max number of queue consumers Queue will auto increase to this max number if queue is loaded and it will decrease to just one consumer if no messages are available",
|
|
1002
|
+
"default": 10
|
|
1003
|
+
},
|
|
1004
|
+
"topic": {
|
|
1005
|
+
"type": "string",
|
|
1006
|
+
"description": "Topic to use"
|
|
1007
|
+
},
|
|
1008
|
+
"subscription": {
|
|
1009
|
+
"type": "string",
|
|
1010
|
+
"description": "Subscription to use for the queue\n\nAll instances will use the same subscription to create a queue style pubsub"
|
|
1011
|
+
},
|
|
1012
|
+
"timeout": {
|
|
1013
|
+
"type": "number",
|
|
1014
|
+
"description": "Timeout when receiveMessage is used before returning empty result (in ms)\n\nIf not define then no timeout is applied and receiveMessage can hang forever"
|
|
1015
|
+
}
|
|
1016
|
+
},
|
|
1017
|
+
"required": [
|
|
1018
|
+
"maxConsumers",
|
|
1019
|
+
"subscription",
|
|
1020
|
+
"topic",
|
|
1021
|
+
"type"
|
|
1022
|
+
],
|
|
1023
|
+
"description": "GCPQueue Parameters",
|
|
1024
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
1025
|
+
"title": "GoogleCloudQueue"
|
|
1026
|
+
}
|
|
1027
|
+
}
|
|
12
1028
|
}
|