@causa/workspace-google 0.12.2 → 0.13.0-rc.1

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.
Files changed (92) hide show
  1. package/dist/backfilling/bigquery.d.ts +1 -1
  2. package/dist/backfilling/pubsub.d.ts +1 -1
  3. package/dist/backfilling/pubsub.js +1 -1
  4. package/dist/code-generation/google-firestore-renderer.d.ts +1 -1
  5. package/dist/code-generation/google-firestore-renderer.js +7 -8
  6. package/dist/code-generation/google-spanner-renderer.d.ts +1 -1
  7. package/dist/code-generation/google-spanner-renderer.js +5 -6
  8. package/dist/code-generation/utils.d.ts +2 -2
  9. package/dist/code-generation/utils.js +1 -1
  10. package/dist/configurations/generated.d.ts +725 -0
  11. package/dist/configurations/generated.js +1311 -0
  12. package/dist/configurations/index.d.ts +1 -1
  13. package/dist/configurations/index.js +1 -0
  14. package/dist/configurations/schemas/google.yaml +466 -0
  15. package/dist/configurations/schemas/service-container-cloud-run.yaml +197 -0
  16. package/dist/functions/causa/index.d.ts +1 -0
  17. package/dist/functions/causa/index.js +1 -0
  18. package/dist/functions/causa/list-schemas.d.ts +9 -0
  19. package/dist/functions/causa/list-schemas.js +23 -0
  20. package/dist/functions/emulator/start-firebase-storage.js +1 -1
  21. package/dist/functions/emulator/start-firestore.js +1 -1
  22. package/dist/functions/emulator/start-identity-platform.js +1 -1
  23. package/dist/functions/emulator/start-pubsub.call.d.ts +4 -0
  24. package/dist/functions/emulator/start-pubsub.call.js +57 -0
  25. package/dist/functions/emulator/start-pubsub.d.ts +0 -22
  26. package/dist/functions/emulator/start-pubsub.js +4 -75
  27. package/dist/functions/emulator/start-spanner.call.d.ts +4 -0
  28. package/dist/functions/emulator/start-spanner.call.js +92 -0
  29. package/dist/functions/emulator/start-spanner.d.ts +0 -38
  30. package/dist/functions/emulator/start-spanner.js +4 -124
  31. package/dist/functions/emulator/stop-firebase-storage.js +2 -1
  32. package/dist/functions/emulator/stop-firestore.js +2 -1
  33. package/dist/functions/emulator/stop-identity-platform.js +2 -1
  34. package/dist/functions/emulator/stop-pubsub.js +2 -1
  35. package/dist/functions/emulator/stop-spanner.js +2 -1
  36. package/dist/functions/event-topic/broker-create-topic-pubsub.call.d.ts +3 -0
  37. package/dist/functions/event-topic/broker-create-topic-pubsub.call.js +15 -0
  38. package/dist/functions/event-topic/broker-create-topic-pubsub.js +2 -14
  39. package/dist/functions/event-topic/broker-create-trigger-cloud-run.call.d.ts +3 -0
  40. package/dist/functions/event-topic/broker-create-trigger-cloud-run.call.js +24 -0
  41. package/dist/functions/event-topic/broker-create-trigger-cloud-run.js +2 -19
  42. package/dist/functions/event-topic/broker-delete-topic-pubsub.call.d.ts +3 -0
  43. package/dist/functions/event-topic/broker-delete-topic-pubsub.call.js +15 -0
  44. package/dist/functions/event-topic/broker-delete-topic-pubsub.js +2 -14
  45. package/dist/functions/event-topic/broker-delete-trigger-resource-cloud-run-invoker-role.call.d.ts +3 -0
  46. package/dist/functions/event-topic/broker-delete-trigger-resource-cloud-run-invoker-role.call.js +16 -0
  47. package/dist/functions/event-topic/broker-delete-trigger-resource-cloud-run-invoker-role.js +2 -11
  48. package/dist/functions/event-topic/broker-delete-trigger-resource-pubsub-subscription.call.d.ts +3 -0
  49. package/dist/functions/event-topic/broker-delete-trigger-resource-pubsub-subscription.call.js +16 -0
  50. package/dist/functions/event-topic/broker-delete-trigger-resource-pubsub-subscription.js +2 -18
  51. package/dist/functions/event-topic/broker-delete-trigger-resource-service-account.call.d.ts +3 -0
  52. package/dist/functions/event-topic/broker-delete-trigger-resource-service-account.call.js +15 -0
  53. package/dist/functions/event-topic/broker-delete-trigger-resource-service-account.js +2 -14
  54. package/dist/functions/event-topic/broker-publish-events-google.call.d.ts +3 -0
  55. package/dist/functions/event-topic/broker-publish-events-google.call.js +29 -0
  56. package/dist/functions/event-topic/broker-publish-events-google.d.ts +0 -7
  57. package/dist/functions/event-topic/broker-publish-events-google.js +3 -34
  58. package/dist/functions/google-app-check/generate-token.call.d.ts +3 -0
  59. package/dist/functions/google-app-check/generate-token.call.js +17 -0
  60. package/dist/functions/google-app-check/generate-token.js +2 -16
  61. package/dist/functions/google-identity-platform/generate-custom-token.call.d.ts +3 -0
  62. package/dist/functions/google-identity-platform/generate-custom-token.call.js +8 -0
  63. package/dist/functions/google-identity-platform/generate-custom-token.js +2 -7
  64. package/dist/functions/google-identity-platform/generate-token.call.d.ts +3 -0
  65. package/dist/functions/google-identity-platform/generate-token.call.js +13 -0
  66. package/dist/functions/google-identity-platform/generate-token.js +2 -12
  67. package/dist/functions/google-services/enable.call.d.ts +7 -0
  68. package/dist/functions/google-services/enable.call.js +35 -0
  69. package/dist/functions/google-services/enable.js +2 -34
  70. package/dist/functions/index.js +2 -1
  71. package/dist/functions/project/push-artefact-cloud-functions.call.d.ts +3 -0
  72. package/dist/functions/project/push-artefact-cloud-functions.call.js +19 -0
  73. package/dist/functions/project/push-artefact-cloud-functions.js +3 -18
  74. package/dist/functions/secret/fetch-access-token.call.d.ts +3 -0
  75. package/dist/functions/secret/fetch-access-token.call.js +10 -0
  76. package/dist/functions/secret/fetch-access-token.js +2 -8
  77. package/dist/functions/secret/fetch-secret-manager.call.d.ts +3 -0
  78. package/dist/functions/secret/fetch-secret-manager.call.js +32 -0
  79. package/dist/functions/secret/fetch-secret-manager.js +2 -29
  80. package/dist/functions/typescript/get-decorator-renderer-google-firestore.d.ts +3 -3
  81. package/dist/functions/typescript/get-decorator-renderer-google-firestore.js +4 -4
  82. package/dist/functions/typescript/get-decorator-renderer-google-spanner.d.ts +3 -3
  83. package/dist/functions/typescript/get-decorator-renderer-google-spanner.js +4 -4
  84. package/dist/index.d.ts +1 -2
  85. package/dist/index.js +1 -2
  86. package/dist/services/firebase-emulator.d.ts +1 -1
  87. package/dist/services/firebase-emulator.js +1 -1
  88. package/dist/services/gcloud-emulator.d.ts +1 -1
  89. package/dist/services/gcloud-emulator.js +1 -1
  90. package/package.json +14 -11
  91. package/dist/configurations/google.d.ts +0 -305
  92. package/dist/configurations/google.js +0 -1
@@ -1,2 +1,2 @@
1
- export type { GoogleConfiguration } from './google.js';
1
+ export { GoogleConfiguration } from './generated.js';
2
2
  export * from './utils.js';
@@ -1 +1,2 @@
1
+ export { GoogleConfiguration } from './generated.js';
1
2
  export * from './utils.js';
@@ -0,0 +1,466 @@
1
+ title: GoogleConfiguration
2
+ type: object
3
+ description: The schema for Google / GCP configuration.
4
+ properties:
5
+ google:
6
+ title: Google
7
+ type: object
8
+ description: Configuration for everything Google / GCP-related.
9
+ properties:
10
+ project:
11
+ type: string
12
+ description: The ID of the default GCP project used when performing operations.
13
+ region:
14
+ type: string
15
+ description: The GCP region in which resource should be created and managed.
16
+ localProject:
17
+ type: string
18
+ description: >-
19
+ The ID of a local GCP project (which does not exist on GCP).
20
+
21
+ This is for example used by emulators. It should usually start with
22
+ `demo-` to be compatible with some emulators.
23
+ services:
24
+ type: array
25
+ items:
26
+ type: string
27
+ description: >-
28
+ The list of GCP services on which the project depends.
29
+
30
+ This is useful to automatically enable those services in the GCP
31
+ project.
32
+ gcloud:
33
+ title: GoogleGcloud
34
+ type: object
35
+ description: >-
36
+ Configuration for the `gcloud` command.
37
+
38
+ This applies to Dockerized calls to `gcloud` using the official
39
+ `gcloud` Docker image.
40
+ properties:
41
+ version:
42
+ type: string
43
+ description: The version of the `gcloud` command.
44
+ firebase:
45
+ title: GoogleFirebase
46
+ type: object
47
+ description: Configuration for the Firebase project.
48
+ properties:
49
+ adminServiceAccount:
50
+ type: string
51
+ description: >-
52
+ An existing service account that can be used to sign Identity
53
+ Platform custom token.
54
+
55
+ Generating custom tokens by signing them using end-user
56
+ credentials does not work with Identity Platform.
57
+
58
+ A good choice is usually the service account automatically created
59
+ by Firebase:
60
+
61
+ `firebase-adminsdk-<random ID>@<GCP
62
+ project>.iam.gserviceaccount.com`
63
+
64
+ If this is not set and is needed by an operation, an attempt will
65
+ be made to find this service account in the
66
+
67
+ current `google.project`.
68
+ apiKey:
69
+ type: string
70
+ description: >-
71
+ The Firebase API key used by clients. Used to perform requests to
72
+ Firebase as an end user.
73
+
74
+ This can be found in the GCP or Firebase Console.
75
+
76
+ If this is not set and is needed by an operation, an attempt will
77
+ be made to find the key automatically using
78
+
79
+ the API.
80
+ appId:
81
+ type: string
82
+ description: >-
83
+ The Firebase app ID used by clients.
84
+
85
+ This can be found in the Firebase Console. Each platform (Android,
86
+ iOS, Web) has its own app ID.
87
+
88
+ If this is not set and is needed by an operation, an attempt will
89
+ be made to find the first eligible app ID
90
+
91
+ using the Firebase API.
92
+ authDomain:
93
+ type: string
94
+ description: |-
95
+ The domain name for the project.
96
+ If not set, this default to `<GCP project>.firebaseapp.com`.
97
+ tools:
98
+ title: GoogleFirebaseTools
99
+ type: object
100
+ description: |-
101
+ Configuration for Firebase tools (the CLI).
102
+ This applies to Dockerized calls to the `firebase` CLI.
103
+ properties:
104
+ version:
105
+ type: string
106
+ description: The version of the CLI to use.
107
+ secretManager:
108
+ title: GoogleSecretManager
109
+ type: object
110
+ description: Configuration for the Secret Manager service.
111
+ properties:
112
+ project:
113
+ type: string
114
+ description: >-
115
+ The ID of the default GCP project referenced when fetching
116
+ secrets.
117
+ firebaseStorage:
118
+ title: GoogleFirebaseStorage
119
+ type: object
120
+ description: Configuration for the Firebase Storage service.
121
+ properties:
122
+ emulator:
123
+ title: GoogleFirebaseStorageEmulator
124
+ type: object
125
+ description: Configuration for the emulator.
126
+ properties:
127
+ containerName:
128
+ type: string
129
+ description: The name of the local Docker container running the emulator.
130
+ securityRuleFiles:
131
+ type: array
132
+ items:
133
+ type: string
134
+ description: >-
135
+ A list of glob patterns to find files in the workspace defining
136
+ Firebase Storage security rules.
137
+ securityRuleFile:
138
+ type: string
139
+ description: >-
140
+ The file path, relative to the workspace root, where the merged
141
+ security rules file is written.
142
+ identityPlatform:
143
+ title: GoogleIdentityPlatform
144
+ type: object
145
+ description: >-
146
+ Configuration for the Identity Platform (formerly Firebase Auth)
147
+ service.
148
+ properties:
149
+ emulator:
150
+ title: GoogleIdentityPlatformEmulator
151
+ type: object
152
+ description: Configuration for the emulator.
153
+ properties:
154
+ containerName:
155
+ type: string
156
+ description: The name of the local Docker container running the emulator.
157
+ firestore:
158
+ title: GoogleFirestore
159
+ type: object
160
+ description: Configuration for the Firestore service.
161
+ properties:
162
+ emulator:
163
+ title: GoogleFirestoreEmulator
164
+ type: object
165
+ description: Configuration for the emulator.
166
+ properties:
167
+ containerName:
168
+ type: string
169
+ description: The name of the local Docker container running the emulator.
170
+ securityRuleFiles:
171
+ type: array
172
+ items:
173
+ type: string
174
+ description: >-
175
+ A list of glob patterns to find files in the workspace defining
176
+ Firestore security rules.
177
+ securityRuleFile:
178
+ type: string
179
+ description: >-
180
+ The file path, relative to the workspace root, where the merged
181
+ security rules file is written.
182
+ pubSub:
183
+ title: GooglePubSub
184
+ type: object
185
+ description: Configuration for the Pub/Sub service.
186
+ properties:
187
+ emulator:
188
+ title: GooglePubSubEmulator
189
+ type: object
190
+ description: Configuration for the emulator.
191
+ properties:
192
+ containerName:
193
+ type: string
194
+ description: The name of the local Docker container running the emulator.
195
+ topicConfigurationsDirectory:
196
+ type: string
197
+ description: >-
198
+ The directory where the topic configuration files are written by
199
+ the `GooglePubSubWriteTopics` processor.
200
+ minimumBackoff:
201
+ type: string
202
+ description: >-
203
+ The default minimum backoff for Pub/Sub push subscription retry
204
+ policy.
205
+ maximumBackoff:
206
+ type: string
207
+ description: >-
208
+ The default maximum backoff for Pub/Sub push subscription retry
209
+ policy.
210
+ bigQueryStorage:
211
+ title: GooglePubSubBigQueryStorage
212
+ type: object
213
+ description: Configuration for the storage of Pub/Sub events in BigQuery.
214
+ properties:
215
+ rawEventsDatasetId:
216
+ type: string
217
+ description: >-
218
+ The ID of the BigQuery dataset where raw Pub/Sub events should
219
+ be stored.
220
+ location:
221
+ type: string
222
+ description: >-
223
+ The BigQuery location for the datasets.
224
+
225
+ See https://cloud.google.com/bigquery/docs/locations for more
226
+ details.
227
+ spanner:
228
+ title: GoogleSpanner
229
+ type: object
230
+ description: Configuration for the Spanner service.
231
+ properties:
232
+ emulator:
233
+ title: GoogleSpannerEmulator
234
+ type: object
235
+ description: Configuration for the emulator.
236
+ properties:
237
+ containerName:
238
+ type: string
239
+ description: The name of the local Docker container running the emulator.
240
+ version:
241
+ type: string
242
+ description: The version of the Spanner emulator Docker image to use.
243
+ instanceName:
244
+ type: string
245
+ description: >-
246
+ The name of the Spanner instance that will automatically be
247
+ created in the emulator.
248
+ instance:
249
+ title: GoogleSpannerInstance
250
+ type: object
251
+ description: Configuration for the Spanner instance.
252
+ properties:
253
+ name:
254
+ type: string
255
+ description: The name of the Spanner instance.
256
+ configuration:
257
+ type: string
258
+ description: >-
259
+ The instance geographic configuration.
260
+
261
+ See
262
+ https://cloud.google.com/spanner/docs/instance-configurations
263
+ for more details.
264
+ processingUnits:
265
+ type: number
266
+ description: >-
267
+ The compute capacity of the instance.
268
+
269
+ See https://cloud.google.com/spanner/docs/compute-capacity for
270
+ more details.
271
+ autoscaling:
272
+ title: GoogleSpannerInstanceAutoscaling
273
+ type: object
274
+ description: Autoscaling configuration for the Spanner instance.
275
+ properties:
276
+ maxProcessingUnits:
277
+ type: number
278
+ description: The maximum number of processing units for autoscaling.
279
+ minProcessingUnits:
280
+ type: number
281
+ description: The minimum number of processing units for autoscaling.
282
+ highPriorityCpuUtilizationTarget:
283
+ type: number
284
+ description: >-
285
+ The target high-priority CPU utilization percentage for
286
+ autoscaling.
287
+ storageUtilizationTarget:
288
+ type: number
289
+ description: The target storage utilization percentage for autoscaling.
290
+ edition:
291
+ type: string
292
+ description: >-
293
+ The edition of the Spanner instance (e.g. STANDARD,
294
+ ENTERPRISE).
295
+ ddls:
296
+ title: GoogleSpannerDdls
297
+ type: object
298
+ description: >-
299
+ Defines how DDLs are found for the Spanner databases in the
300
+ workspace.
301
+ properties:
302
+ format:
303
+ type: string
304
+ description: >-
305
+ The format string using groups from the regular expression
306
+ used to make the database names.
307
+ globs:
308
+ type: array
309
+ items:
310
+ type: string
311
+ description: >-
312
+ A list of glob patterns used to find SQL files containing DDL
313
+ statements for the Spanner databases.
314
+ regularExpression:
315
+ type: string
316
+ description: >-
317
+ The regular expression used to extract groups from the SQL
318
+ file paths.
319
+ databaseConfigurationsDirectory:
320
+ type: string
321
+ description: >-
322
+ The directory where the database configuration files are written
323
+ by the `GoogleSpannerWriteDatabases` processor.
324
+ versionRetentionPeriod:
325
+ type: string
326
+ description: The default version retention period for Spanner databases.
327
+ databaseDdlTimeout:
328
+ type: string
329
+ description: The timeout for Spanner database DDL operations.
330
+ cloudFunctions:
331
+ title: GoogleCloudFunctions
332
+ type: object
333
+ description: Configuration for Cloud Functions.
334
+ properties:
335
+ artefactStorage:
336
+ title: GoogleCloudFunctionsArtefactStorage
337
+ type: object
338
+ description: >-
339
+ The Cloud Storage configuration where Cloud Functions archives
340
+ should be uploaded.
341
+ properties:
342
+ bucket:
343
+ type: string
344
+ description: The name of the Cloud Storage bucket.
345
+ prefix:
346
+ type: string
347
+ description: An optional prefix within the Cloud Storage bucket.
348
+ cloudRun:
349
+ title: GoogleCloudRun
350
+ type: object
351
+ description: Configuration for Cloud Run containers.
352
+ properties:
353
+ dockerRepository:
354
+ type: string
355
+ description: >-
356
+ The Docker repository where Cloud Run containers should be
357
+ uploaded.
358
+ location:
359
+ type: string
360
+ description: The location where Cloud Run services should be deployed.
361
+ secretEnvironmentVariables:
362
+ type: object
363
+ description: >-
364
+ A map where keys are the name of environment variables, and values
365
+ are secret versions IDs (e.g.
366
+
367
+ `projects/my-project/secrets/my-secret/versions/1`).
368
+ additionalProperties:
369
+ $ref: '#/$defs/_TemplateString'
370
+ cpuAlwaysAllocated:
371
+ type: boolean
372
+ description: >-
373
+ Whether the container is running between requests and can perform
374
+ background operations.
375
+ startupCpuBoost:
376
+ type: boolean
377
+ description: Whether to enable CPU boost during instance startup.
378
+ timeout:
379
+ type: number
380
+ description: >-
381
+ The max duration the instance is allowed for responding to a
382
+ request, in seconds.
383
+ requestConcurrency:
384
+ type: number
385
+ description: The maximum allowed in-flight (concurrent) requests per container.
386
+ ingress:
387
+ title: GoogleCloudRunIngress
388
+ type: string
389
+ enum:
390
+ - all
391
+ - internal
392
+ - internal-and-cloud-load-balancing
393
+ description: >-
394
+ The type of allowed ingress that can reach the container.
395
+
396
+ See https://cloud.google.com/run/docs/securing/ingress#settings
397
+ for more details.
398
+ vpcAccessConnector:
399
+ type: string
400
+ description: >-
401
+ The name of the VPC access connector through which egress traffic
402
+ should be routed.
403
+ vpcAccessConnectorEgressSettings:
404
+ title: GoogleCloudRunVpcAccessConnectorEgressSettings
405
+ type: string
406
+ enum:
407
+ - all-traffic
408
+ - private-ranges-only
409
+ description: >-
410
+ The setting for egress traffic that goes through the VPC access
411
+ connector.
412
+
413
+ See
414
+ https://cloud.google.com/run/docs/configuring/connecting-vpc#manage
415
+ for more details.
416
+ scheduler:
417
+ title: GoogleScheduler
418
+ type: object
419
+ description: Default configuration for Cloud Scheduler jobs.
420
+ properties:
421
+ retryCount:
422
+ type: number
423
+ description: The default number of retry attempts for Cloud Scheduler jobs.
424
+ maxRetryDuration:
425
+ type: string
426
+ description: >-
427
+ The default maximum duration for retrying a failed Cloud Scheduler
428
+ job.
429
+ minBackoffDuration:
430
+ type: string
431
+ description: >-
432
+ The default minimum backoff duration for Cloud Scheduler job
433
+ retries.
434
+ maxBackoffDuration:
435
+ type: string
436
+ description: >-
437
+ The default maximum backoff duration for Cloud Scheduler job
438
+ retries.
439
+ maxDoublings:
440
+ type: number
441
+ description: >-
442
+ The default maximum number of times the backoff duration is
443
+ doubled for Cloud Scheduler job retries.
444
+ attemptDeadline:
445
+ type: string
446
+ description: The default deadline for Cloud Scheduler job attempts.
447
+ loadBalancing:
448
+ title: GoogleLoadBalancing
449
+ type: object
450
+ description: Configuration for Google Cloud load balancing.
451
+ properties:
452
+ customRequestHeaders:
453
+ type: array
454
+ items:
455
+ type: string
456
+ description: A list of custom request headers to add to load-balanced requests.
457
+ $defs:
458
+ _TemplateString:
459
+ oneOf:
460
+ - type: string
461
+ - type: object
462
+ additionalProperties: false
463
+ properties:
464
+ $format:
465
+ type: string
466
+ description: A string with formatting instructions.
@@ -0,0 +1,197 @@
1
+ title: GoogleServiceContainerConfiguration
2
+ type: object
3
+ description: Google-specific extensions to the service container configuration.
4
+ properties:
5
+ serviceContainer:
6
+ type: object
7
+ properties:
8
+ triggers:
9
+ type: object
10
+ description: A map of triggers that call the service's endpoints when they occur.
11
+ additionalProperties:
12
+ anyOf:
13
+ - type: object
14
+ properties:
15
+ type:
16
+ type: string
17
+ description: The type of trigger.
18
+ required:
19
+ - type
20
+ - title: ServiceContainerGooglePubSubTrigger
21
+ type: object
22
+ description: A trigger backed by a Google Pub/Sub subscription.
23
+ properties:
24
+ type:
25
+ title: ServiceContainerGooglePubSubTriggerType
26
+ type: string
27
+ enum:
28
+ - google.pubSub
29
+ - event
30
+ description: The type of trigger.
31
+ google.pubSub:
32
+ title: ServiceContainerGooglePubSubTriggerOptions
33
+ type: object
34
+ description: Google Pub/Sub-specific options for the trigger.
35
+ properties:
36
+ minimumBackoff:
37
+ type: string
38
+ description: >-
39
+ The minimum backoff for the Pub/Sub push subscription
40
+ retry policy.
41
+ maximumBackoff:
42
+ type: string
43
+ description: >-
44
+ The maximum backoff for the Pub/Sub push subscription
45
+ retry policy.
46
+ filter:
47
+ type: string
48
+ description: A Pub/Sub filter expression for the subscription.
49
+ required:
50
+ - type
51
+ - title: ServiceContainerGoogleSchedulerTrigger
52
+ type: object
53
+ description: A trigger backed by a Google Cloud Scheduler job.
54
+ properties:
55
+ type:
56
+ title: ServiceContainerGoogleSchedulerTriggerType
57
+ type: string
58
+ enum:
59
+ - google.scheduler
60
+ - cron
61
+ description: The type of trigger.
62
+ google.scheduler:
63
+ title: ServiceContainerGoogleSchedulerTriggerOptions
64
+ type: object
65
+ description: Google Cloud Scheduler-specific options for the trigger.
66
+ properties:
67
+ retryCount:
68
+ type: number
69
+ description: >-
70
+ The number of retry attempts for the Cloud Scheduler
71
+ job.
72
+ maxRetryDuration:
73
+ type: string
74
+ description: The maximum duration for retrying a failed job.
75
+ minBackoffDuration:
76
+ type: string
77
+ description: The minimum backoff duration for job retries.
78
+ maxBackoffDuration:
79
+ type: string
80
+ description: The maximum backoff duration for job retries.
81
+ maxDoublings:
82
+ type: number
83
+ description: >-
84
+ The maximum number of times the backoff duration is
85
+ doubled.
86
+ attemptDeadline:
87
+ type: string
88
+ description: The deadline for job attempts.
89
+ required:
90
+ - type
91
+ - title: ServiceContainerGoogleTaskTrigger
92
+ type: object
93
+ description: A trigger backed by a Google Cloud Tasks queue.
94
+ properties:
95
+ type:
96
+ title: ServiceContainerGoogleTaskTriggerType
97
+ type: string
98
+ enum:
99
+ - google.tasks
100
+ - task
101
+ description: The type of trigger.
102
+ retryPolicy:
103
+ title: ServiceContainerGoogleTaskTriggerRetryPolicy
104
+ type: object
105
+ description: The retry policy for the Cloud Tasks queue.
106
+ properties:
107
+ maxAttempts:
108
+ type: number
109
+ description: The maximum number of attempts for a task.
110
+ maxRetryDuration:
111
+ type: string
112
+ description: The maximum duration for retrying a failed task.
113
+ minBackoff:
114
+ type: string
115
+ description: The minimum backoff duration for task retries.
116
+ maxBackoff:
117
+ type: string
118
+ description: The maximum backoff duration for task retries.
119
+ maxDoublings:
120
+ type: number
121
+ description: >-
122
+ The maximum number of times the backoff duration is
123
+ doubled.
124
+ required:
125
+ - type
126
+ - title: ServiceContainerGoogleEventarcTrigger
127
+ type: object
128
+ description: A trigger backed by a Google Eventarc trigger.
129
+ properties:
130
+ type:
131
+ title: ServiceContainerGoogleEventarcTriggerType
132
+ type: string
133
+ enum:
134
+ - google.eventarc
135
+ description: The type of trigger.
136
+ google.eventarc:
137
+ title: ServiceContainerGoogleEventarcTriggerOptions
138
+ type: object
139
+ description: Google Eventarc-specific options for the trigger.
140
+ properties:
141
+ contentType:
142
+ type: string
143
+ description: The content type of event data.
144
+ location:
145
+ oneOf:
146
+ - $ref: '#/$defs/_TemplateString'
147
+ description: The location of the Eventarc trigger.
148
+ filters:
149
+ type: array
150
+ items:
151
+ title: ServiceContainerGoogleEventarcTriggerFilter
152
+ type: object
153
+ properties:
154
+ attribute:
155
+ type: string
156
+ description: The event attribute to filter on.
157
+ value:
158
+ oneOf:
159
+ - $ref: '#/$defs/_TemplateString'
160
+ description: The value to match for the attribute.
161
+ operator:
162
+ type: string
163
+ description: The operator for matching the filter.
164
+ required:
165
+ - attribute
166
+ - value
167
+ description: The list of matching criteria for the Eventarc trigger.
168
+ required:
169
+ - contentType
170
+ - filters
171
+ required:
172
+ - type
173
+ outputs:
174
+ type: object
175
+ properties:
176
+ google.firestore:
177
+ type: array
178
+ items:
179
+ type: string
180
+ description: The list of Firestore collections this service produces data into.
181
+ google.spanner:
182
+ type: array
183
+ items:
184
+ type: string
185
+ description: |-
186
+ The list of Spanner databases this service produces data into.
187
+ Each entry should be in the format `instance.database`.
188
+ $defs:
189
+ _TemplateString:
190
+ oneOf:
191
+ - type: string
192
+ - type: object
193
+ additionalProperties: false
194
+ properties:
195
+ $format:
196
+ type: string
197
+ description: A string with formatting instructions.
@@ -0,0 +1 @@
1
+ export { CausaListConfigurationSchemasForGoogle } from './list-schemas.js';
@@ -0,0 +1 @@
1
+ export { CausaListConfigurationSchemasForGoogle } from './list-schemas.js';
@@ -0,0 +1,9 @@
1
+ import { CausaListConfigurationSchemas } from '@causa/workspace-core';
2
+ /**
3
+ * Implements {@link CausaListConfigurationSchemas} for the Google module.
4
+ * Returns the paths to the configuration schemas bundled with this package.
5
+ */
6
+ export declare class CausaListConfigurationSchemasForGoogle extends CausaListConfigurationSchemas {
7
+ _call(): Promise<string[]>;
8
+ _supports(): boolean;
9
+ }