@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
@@ -0,0 +1,725 @@
1
+ /**
2
+ * The Cloud Storage configuration where Cloud Functions archives should be uploaded.
3
+ */
4
+ export declare class GoogleCloudFunctionsArtefactStorage {
5
+ constructor(init: GoogleCloudFunctionsArtefactStorage);
6
+ /**
7
+ * The name of the Cloud Storage bucket.
8
+ */
9
+ readonly bucket?: string;
10
+ /**
11
+ * An optional prefix within the Cloud Storage bucket.
12
+ */
13
+ readonly prefix?: string;
14
+ [property: string]: any;
15
+ }
16
+ /**
17
+ * Configuration for Cloud Functions.
18
+ */
19
+ export declare class GoogleCloudFunctions {
20
+ constructor(init: GoogleCloudFunctions);
21
+ /**
22
+ * The Cloud Storage configuration where Cloud Functions archives should be uploaded.
23
+ */
24
+ readonly artefactStorage?: GoogleCloudFunctionsArtefactStorage;
25
+ [property: string]: any;
26
+ }
27
+ /**
28
+ * The type of allowed ingress that can reach the container.
29
+ * See https://cloud.google.com/run/docs/securing/ingress#settings for more details.
30
+ */
31
+ export declare enum GoogleCloudRunIngress {
32
+ All = "all",
33
+ Internal = "internal",
34
+ InternalAndCloudLoadBalancing = "internal-and-cloud-load-balancing"
35
+ }
36
+ /**
37
+ * The setting for egress traffic that goes through the VPC access connector.
38
+ * See https://cloud.google.com/run/docs/configuring/connecting-vpc#manage for more details.
39
+ */
40
+ export declare enum GoogleCloudRunVpcAccessConnectorEgressSettings {
41
+ AllTraffic = "all-traffic",
42
+ PrivateRangesOnly = "private-ranges-only"
43
+ }
44
+ /**
45
+ * Configuration for Cloud Run containers.
46
+ */
47
+ export declare class GoogleCloudRun {
48
+ constructor(init: GoogleCloudRun);
49
+ /**
50
+ * Whether the container is running between requests and can perform background operations.
51
+ */
52
+ readonly cpuAlwaysAllocated?: boolean;
53
+ /**
54
+ * The Docker repository where Cloud Run containers should be uploaded.
55
+ */
56
+ readonly dockerRepository?: string;
57
+ /**
58
+ * The type of allowed ingress that can reach the container.
59
+ * See https://cloud.google.com/run/docs/securing/ingress#settings for more details.
60
+ */
61
+ readonly ingress?: GoogleCloudRunIngress;
62
+ /**
63
+ * The location where Cloud Run services should be deployed.
64
+ */
65
+ readonly location?: string;
66
+ /**
67
+ * The maximum allowed in-flight (concurrent) requests per container.
68
+ */
69
+ readonly requestConcurrency?: number;
70
+ /**
71
+ * A map where keys are the name of environment variables, and values are secret versions IDs (e.g.
72
+ * `projects/my-project/secrets/my-secret/versions/1`).
73
+ */
74
+ readonly secretEnvironmentVariables?: {
75
+ [key: string]: string;
76
+ };
77
+ /**
78
+ * Whether to enable CPU boost during instance startup.
79
+ */
80
+ readonly startupCpuBoost?: boolean;
81
+ /**
82
+ * The max duration the instance is allowed for responding to a request, in seconds.
83
+ */
84
+ readonly timeout?: number;
85
+ /**
86
+ * The name of the VPC access connector through which egress traffic should be routed.
87
+ */
88
+ readonly vpcAccessConnector?: string;
89
+ /**
90
+ * The setting for egress traffic that goes through the VPC access connector.
91
+ * See https://cloud.google.com/run/docs/configuring/connecting-vpc#manage for more details.
92
+ */
93
+ readonly vpcAccessConnectorEgressSettings?: GoogleCloudRunVpcAccessConnectorEgressSettings;
94
+ [property: string]: any;
95
+ }
96
+ /**
97
+ * Configuration for Firebase tools (the CLI).
98
+ * This applies to Dockerized calls to the `firebase` CLI.
99
+ */
100
+ export declare class GoogleFirebaseTools {
101
+ constructor(init: GoogleFirebaseTools);
102
+ /**
103
+ * The version of the CLI to use.
104
+ */
105
+ readonly version?: string;
106
+ [property: string]: any;
107
+ }
108
+ /**
109
+ * Configuration for the Firebase project.
110
+ */
111
+ export declare class GoogleFirebase {
112
+ constructor(init: GoogleFirebase);
113
+ /**
114
+ * An existing service account that can be used to sign Identity Platform custom token.
115
+ * Generating custom tokens by signing them using end-user credentials does not work with Identity Platform.
116
+ * A good choice is usually the service account automatically created by Firebase:
117
+ * `firebase-adminsdk-<random ID>@<GCP project>.iam.gserviceaccount.com`
118
+ * If this is not set and is needed by an operation, an attempt will be made to find this service account in the
119
+ * current `google.project`.
120
+ */
121
+ readonly adminServiceAccount?: string;
122
+ /**
123
+ * The Firebase API key used by clients. Used to perform requests to Firebase as an end user.
124
+ * This can be found in the GCP or Firebase Console.
125
+ * If this is not set and is needed by an operation, an attempt will be made to find the key automatically using
126
+ * the API.
127
+ */
128
+ readonly apiKey?: string;
129
+ /**
130
+ * The Firebase app ID used by clients.
131
+ * This can be found in the Firebase Console. Each platform (Android, iOS, Web) has its own app ID.
132
+ * If this is not set and is needed by an operation, an attempt will be made to find the first eligible app ID
133
+ * using the Firebase API.
134
+ */
135
+ readonly appId?: string;
136
+ /**
137
+ * The domain name for the project.
138
+ * If not set, this default to `<GCP project>.firebaseapp.com`.
139
+ */
140
+ readonly authDomain?: string;
141
+ /**
142
+ * Configuration for Firebase tools (the CLI).
143
+ * This applies to Dockerized calls to the `firebase` CLI.
144
+ */
145
+ readonly tools?: GoogleFirebaseTools;
146
+ [property: string]: any;
147
+ }
148
+ /**
149
+ * Configuration for the emulator.
150
+ */
151
+ export declare class GoogleFirebaseStorageEmulator {
152
+ constructor(init: GoogleFirebaseStorageEmulator);
153
+ /**
154
+ * The name of the local Docker container running the emulator.
155
+ */
156
+ readonly containerName?: string;
157
+ [property: string]: any;
158
+ }
159
+ /**
160
+ * Configuration for the Firebase Storage service.
161
+ */
162
+ export declare class GoogleFirebaseStorage {
163
+ constructor(init: GoogleFirebaseStorage);
164
+ /**
165
+ * Configuration for the emulator.
166
+ */
167
+ readonly emulator?: GoogleFirebaseStorageEmulator;
168
+ /**
169
+ * The file path, relative to the workspace root, where the merged security rules file is written.
170
+ */
171
+ readonly securityRuleFile?: string;
172
+ /**
173
+ * A list of glob patterns to find files in the workspace defining Firebase Storage security rules.
174
+ */
175
+ readonly securityRuleFiles?: string[];
176
+ [property: string]: any;
177
+ }
178
+ /**
179
+ * Configuration for the emulator.
180
+ */
181
+ export declare class GoogleFirestoreEmulator {
182
+ constructor(init: GoogleFirestoreEmulator);
183
+ /**
184
+ * The name of the local Docker container running the emulator.
185
+ */
186
+ readonly containerName?: string;
187
+ [property: string]: any;
188
+ }
189
+ /**
190
+ * Configuration for the Firestore service.
191
+ */
192
+ export declare class GoogleFirestore {
193
+ constructor(init: GoogleFirestore);
194
+ /**
195
+ * Configuration for the emulator.
196
+ */
197
+ readonly emulator?: GoogleFirestoreEmulator;
198
+ /**
199
+ * The file path, relative to the workspace root, where the merged security rules file is written.
200
+ */
201
+ readonly securityRuleFile?: string;
202
+ /**
203
+ * A list of glob patterns to find files in the workspace defining Firestore security rules.
204
+ */
205
+ readonly securityRuleFiles?: string[];
206
+ [property: string]: any;
207
+ }
208
+ /**
209
+ * Configuration for the `gcloud` command.
210
+ * This applies to Dockerized calls to `gcloud` using the official `gcloud` Docker image.
211
+ */
212
+ export declare class GoogleGcloud {
213
+ constructor(init: GoogleGcloud);
214
+ /**
215
+ * The version of the `gcloud` command.
216
+ */
217
+ readonly version?: string;
218
+ [property: string]: any;
219
+ }
220
+ /**
221
+ * Configuration for the emulator.
222
+ */
223
+ export declare class GoogleIdentityPlatformEmulator {
224
+ constructor(init: GoogleIdentityPlatformEmulator);
225
+ /**
226
+ * The name of the local Docker container running the emulator.
227
+ */
228
+ readonly containerName?: string;
229
+ [property: string]: any;
230
+ }
231
+ /**
232
+ * Configuration for the Identity Platform (formerly Firebase Auth) service.
233
+ */
234
+ export declare class GoogleIdentityPlatform {
235
+ constructor(init: GoogleIdentityPlatform);
236
+ /**
237
+ * Configuration for the emulator.
238
+ */
239
+ readonly emulator?: GoogleIdentityPlatformEmulator;
240
+ [property: string]: any;
241
+ }
242
+ /**
243
+ * Configuration for Google Cloud load balancing.
244
+ */
245
+ export declare class GoogleLoadBalancing {
246
+ constructor(init: GoogleLoadBalancing);
247
+ /**
248
+ * A list of custom request headers to add to load-balanced requests.
249
+ */
250
+ readonly customRequestHeaders?: string[];
251
+ [property: string]: any;
252
+ }
253
+ /**
254
+ * Configuration for the storage of Pub/Sub events in BigQuery.
255
+ */
256
+ export declare class GooglePubSubBigQueryStorage {
257
+ constructor(init: GooglePubSubBigQueryStorage);
258
+ /**
259
+ * The BigQuery location for the datasets.
260
+ * See https://cloud.google.com/bigquery/docs/locations for more details.
261
+ */
262
+ readonly location?: string;
263
+ /**
264
+ * The ID of the BigQuery dataset where raw Pub/Sub events should be stored.
265
+ */
266
+ readonly rawEventsDatasetId?: string;
267
+ [property: string]: any;
268
+ }
269
+ /**
270
+ * Configuration for the emulator.
271
+ */
272
+ export declare class GooglePubSubEmulator {
273
+ constructor(init: GooglePubSubEmulator);
274
+ /**
275
+ * The name of the local Docker container running the emulator.
276
+ */
277
+ readonly containerName?: string;
278
+ [property: string]: any;
279
+ }
280
+ /**
281
+ * Configuration for the Pub/Sub service.
282
+ */
283
+ export declare class GooglePubSub {
284
+ constructor(init: GooglePubSub);
285
+ /**
286
+ * Configuration for the storage of Pub/Sub events in BigQuery.
287
+ */
288
+ readonly bigQueryStorage?: GooglePubSubBigQueryStorage;
289
+ /**
290
+ * Configuration for the emulator.
291
+ */
292
+ readonly emulator?: GooglePubSubEmulator;
293
+ /**
294
+ * The default maximum backoff for Pub/Sub push subscription retry policy.
295
+ */
296
+ readonly maximumBackoff?: string;
297
+ /**
298
+ * The default minimum backoff for Pub/Sub push subscription retry policy.
299
+ */
300
+ readonly minimumBackoff?: string;
301
+ /**
302
+ * The directory where the topic configuration files are written by the `GooglePubSubWriteTopics` processor.
303
+ */
304
+ readonly topicConfigurationsDirectory?: string;
305
+ [property: string]: any;
306
+ }
307
+ /**
308
+ * Default configuration for Cloud Scheduler jobs.
309
+ */
310
+ export declare class GoogleScheduler {
311
+ constructor(init: GoogleScheduler);
312
+ /**
313
+ * The default deadline for Cloud Scheduler job attempts.
314
+ */
315
+ readonly attemptDeadline?: string;
316
+ /**
317
+ * The default maximum backoff duration for Cloud Scheduler job retries.
318
+ */
319
+ readonly maxBackoffDuration?: string;
320
+ /**
321
+ * The default maximum number of times the backoff duration is doubled for Cloud Scheduler job retries.
322
+ */
323
+ readonly maxDoublings?: number;
324
+ /**
325
+ * The default maximum duration for retrying a failed Cloud Scheduler job.
326
+ */
327
+ readonly maxRetryDuration?: string;
328
+ /**
329
+ * The default minimum backoff duration for Cloud Scheduler job retries.
330
+ */
331
+ readonly minBackoffDuration?: string;
332
+ /**
333
+ * The default number of retry attempts for Cloud Scheduler jobs.
334
+ */
335
+ readonly retryCount?: number;
336
+ [property: string]: any;
337
+ }
338
+ /**
339
+ * Configuration for the Secret Manager service.
340
+ */
341
+ export declare class GoogleSecretManager {
342
+ constructor(init: GoogleSecretManager);
343
+ /**
344
+ * The ID of the default GCP project referenced when fetching secrets.
345
+ */
346
+ readonly project?: string;
347
+ [property: string]: any;
348
+ }
349
+ /**
350
+ * Defines how DDLs are found for the Spanner databases in the workspace.
351
+ */
352
+ export declare class GoogleSpannerDdls {
353
+ constructor(init: GoogleSpannerDdls);
354
+ /**
355
+ * The format string using groups from the regular expression used to make the database names.
356
+ */
357
+ readonly format?: string;
358
+ /**
359
+ * A list of glob patterns used to find SQL files containing DDL statements for the Spanner databases.
360
+ */
361
+ readonly globs?: string[];
362
+ /**
363
+ * The regular expression used to extract groups from the SQL file paths.
364
+ */
365
+ readonly regularExpression?: string;
366
+ [property: string]: any;
367
+ }
368
+ /**
369
+ * Configuration for the emulator.
370
+ */
371
+ export declare class GoogleSpannerEmulator {
372
+ constructor(init: GoogleSpannerEmulator);
373
+ /**
374
+ * The name of the local Docker container running the emulator.
375
+ */
376
+ readonly containerName?: string;
377
+ /**
378
+ * The name of the Spanner instance that will automatically be created in the emulator.
379
+ */
380
+ readonly instanceName?: string;
381
+ /**
382
+ * The version of the Spanner emulator Docker image to use.
383
+ */
384
+ readonly version?: string;
385
+ [property: string]: any;
386
+ }
387
+ /**
388
+ * Autoscaling configuration for the Spanner instance.
389
+ */
390
+ export declare class GoogleSpannerInstanceAutoscaling {
391
+ constructor(init: GoogleSpannerInstanceAutoscaling);
392
+ /**
393
+ * The target high-priority CPU utilization percentage for autoscaling.
394
+ */
395
+ readonly highPriorityCpuUtilizationTarget?: number;
396
+ /**
397
+ * The maximum number of processing units for autoscaling.
398
+ */
399
+ readonly maxProcessingUnits?: number;
400
+ /**
401
+ * The minimum number of processing units for autoscaling.
402
+ */
403
+ readonly minProcessingUnits?: number;
404
+ /**
405
+ * The target storage utilization percentage for autoscaling.
406
+ */
407
+ readonly storageUtilizationTarget?: number;
408
+ [property: string]: any;
409
+ }
410
+ /**
411
+ * Configuration for the Spanner instance.
412
+ */
413
+ export declare class GoogleSpannerInstance {
414
+ constructor(init: GoogleSpannerInstance);
415
+ /**
416
+ * Autoscaling configuration for the Spanner instance.
417
+ */
418
+ readonly autoscaling?: GoogleSpannerInstanceAutoscaling;
419
+ /**
420
+ * The instance geographic configuration.
421
+ * See https://cloud.google.com/spanner/docs/instance-configurations for more details.
422
+ */
423
+ readonly configuration?: string;
424
+ /**
425
+ * The edition of the Spanner instance (e.g. STANDARD, ENTERPRISE).
426
+ */
427
+ readonly edition?: string;
428
+ /**
429
+ * The name of the Spanner instance.
430
+ */
431
+ readonly name?: string;
432
+ /**
433
+ * The compute capacity of the instance.
434
+ * See https://cloud.google.com/spanner/docs/compute-capacity for more details.
435
+ */
436
+ readonly processingUnits?: number;
437
+ [property: string]: any;
438
+ }
439
+ /**
440
+ * Configuration for the Spanner service.
441
+ */
442
+ export declare class GoogleSpanner {
443
+ constructor(init: GoogleSpanner);
444
+ /**
445
+ * The directory where the database configuration files are written by the `GoogleSpannerWriteDatabases` processor.
446
+ */
447
+ readonly databaseConfigurationsDirectory?: string;
448
+ /**
449
+ * The timeout for Spanner database DDL operations.
450
+ */
451
+ readonly databaseDdlTimeout?: string;
452
+ /**
453
+ * Defines how DDLs are found for the Spanner databases in the workspace.
454
+ */
455
+ readonly ddls?: GoogleSpannerDdls;
456
+ /**
457
+ * Configuration for the emulator.
458
+ */
459
+ readonly emulator?: GoogleSpannerEmulator;
460
+ /**
461
+ * Configuration for the Spanner instance.
462
+ */
463
+ readonly instance?: GoogleSpannerInstance;
464
+ /**
465
+ * The default version retention period for Spanner databases.
466
+ */
467
+ readonly versionRetentionPeriod?: string;
468
+ [property: string]: any;
469
+ }
470
+ /**
471
+ * Configuration for everything Google / GCP-related.
472
+ */
473
+ export declare class Google {
474
+ constructor(init: Google);
475
+ /**
476
+ * Configuration for Cloud Functions.
477
+ */
478
+ readonly cloudFunctions?: GoogleCloudFunctions;
479
+ /**
480
+ * Configuration for Cloud Run containers.
481
+ */
482
+ readonly cloudRun?: GoogleCloudRun;
483
+ /**
484
+ * Configuration for the Firebase project.
485
+ */
486
+ readonly firebase?: GoogleFirebase;
487
+ /**
488
+ * Configuration for the Firebase Storage service.
489
+ */
490
+ readonly firebaseStorage?: GoogleFirebaseStorage;
491
+ /**
492
+ * Configuration for the Firestore service.
493
+ */
494
+ readonly firestore?: GoogleFirestore;
495
+ /**
496
+ * Configuration for the `gcloud` command.
497
+ * This applies to Dockerized calls to `gcloud` using the official `gcloud` Docker image.
498
+ */
499
+ readonly gcloud?: GoogleGcloud;
500
+ /**
501
+ * Configuration for the Identity Platform (formerly Firebase Auth) service.
502
+ */
503
+ readonly identityPlatform?: GoogleIdentityPlatform;
504
+ /**
505
+ * Configuration for Google Cloud load balancing.
506
+ */
507
+ readonly loadBalancing?: GoogleLoadBalancing;
508
+ /**
509
+ * The ID of a local GCP project (which does not exist on GCP).
510
+ * This is for example used by emulators. It should usually start with `demo-` to be compatible with some emulators.
511
+ */
512
+ readonly localProject?: string;
513
+ /**
514
+ * The ID of the default GCP project used when performing operations.
515
+ */
516
+ readonly project?: string;
517
+ /**
518
+ * Configuration for the Pub/Sub service.
519
+ */
520
+ readonly pubSub?: GooglePubSub;
521
+ /**
522
+ * The GCP region in which resource should be created and managed.
523
+ */
524
+ readonly region?: string;
525
+ /**
526
+ * Default configuration for Cloud Scheduler jobs.
527
+ */
528
+ readonly scheduler?: GoogleScheduler;
529
+ /**
530
+ * Configuration for the Secret Manager service.
531
+ */
532
+ readonly secretManager?: GoogleSecretManager;
533
+ /**
534
+ * The list of GCP services on which the project depends.
535
+ * This is useful to automatically enable those services in the GCP project.
536
+ */
537
+ readonly services?: string[];
538
+ /**
539
+ * Configuration for the Spanner service.
540
+ */
541
+ readonly spanner?: GoogleSpanner;
542
+ [property: string]: any;
543
+ }
544
+ /**
545
+ * The schema for Google / GCP configuration.
546
+ */
547
+ export declare class GoogleConfiguration {
548
+ constructor(init: GoogleConfiguration);
549
+ /**
550
+ * Configuration for everything Google / GCP-related.
551
+ */
552
+ readonly google?: Google;
553
+ [property: string]: any;
554
+ }
555
+ export declare class Outputs {
556
+ constructor(init: Outputs);
557
+ /**
558
+ * The list of Firestore collections this service produces data into.
559
+ */
560
+ readonly 'google.firestore'?: string[];
561
+ /**
562
+ * The list of Spanner databases this service produces data into.
563
+ * Each entry should be in the format `instance.database`.
564
+ */
565
+ readonly 'google.spanner'?: string[];
566
+ [property: string]: any;
567
+ }
568
+ export declare class ServiceContainerGoogleEventarcTriggerFilter {
569
+ constructor(init: ServiceContainerGoogleEventarcTriggerFilter);
570
+ /**
571
+ * The event attribute to filter on.
572
+ */
573
+ readonly attribute: string;
574
+ /**
575
+ * The operator for matching the filter.
576
+ */
577
+ readonly operator?: string;
578
+ /**
579
+ * The value to match for the attribute.
580
+ */
581
+ readonly value: string;
582
+ [property: string]: any;
583
+ }
584
+ /**
585
+ * Google Eventarc-specific options for the trigger.
586
+ */
587
+ export declare class ServiceContainerGoogleEventarcTriggerOptions {
588
+ constructor(init: ServiceContainerGoogleEventarcTriggerOptions);
589
+ /**
590
+ * The content type of event data.
591
+ */
592
+ readonly contentType: string;
593
+ /**
594
+ * The list of matching criteria for the Eventarc trigger.
595
+ */
596
+ readonly filters: ServiceContainerGoogleEventarcTriggerFilter[];
597
+ /**
598
+ * The location of the Eventarc trigger.
599
+ */
600
+ readonly location?: string;
601
+ [property: string]: any;
602
+ }
603
+ /**
604
+ * Google Pub/Sub-specific options for the trigger.
605
+ */
606
+ export declare class ServiceContainerGooglePubSubTriggerOptions {
607
+ constructor(init: ServiceContainerGooglePubSubTriggerOptions);
608
+ /**
609
+ * A Pub/Sub filter expression for the subscription.
610
+ */
611
+ readonly filter?: string;
612
+ /**
613
+ * The maximum backoff for the Pub/Sub push subscription retry policy.
614
+ */
615
+ readonly maximumBackoff?: string;
616
+ /**
617
+ * The minimum backoff for the Pub/Sub push subscription retry policy.
618
+ */
619
+ readonly minimumBackoff?: string;
620
+ [property: string]: any;
621
+ }
622
+ /**
623
+ * Google Cloud Scheduler-specific options for the trigger.
624
+ */
625
+ export declare class ServiceContainerGoogleSchedulerTriggerOptions {
626
+ constructor(init: ServiceContainerGoogleSchedulerTriggerOptions);
627
+ /**
628
+ * The deadline for job attempts.
629
+ */
630
+ readonly attemptDeadline?: string;
631
+ /**
632
+ * The maximum backoff duration for job retries.
633
+ */
634
+ readonly maxBackoffDuration?: string;
635
+ /**
636
+ * The maximum number of times the backoff duration is doubled.
637
+ */
638
+ readonly maxDoublings?: number;
639
+ /**
640
+ * The maximum duration for retrying a failed job.
641
+ */
642
+ readonly maxRetryDuration?: string;
643
+ /**
644
+ * The minimum backoff duration for job retries.
645
+ */
646
+ readonly minBackoffDuration?: string;
647
+ /**
648
+ * The number of retry attempts for the Cloud Scheduler job.
649
+ */
650
+ readonly retryCount?: number;
651
+ [property: string]: any;
652
+ }
653
+ /**
654
+ * The retry policy for the Cloud Tasks queue.
655
+ */
656
+ export declare class ServiceContainerGoogleTaskTriggerRetryPolicy {
657
+ constructor(init: ServiceContainerGoogleTaskTriggerRetryPolicy);
658
+ /**
659
+ * The maximum number of attempts for a task.
660
+ */
661
+ readonly maxAttempts?: number;
662
+ /**
663
+ * The maximum backoff duration for task retries.
664
+ */
665
+ readonly maxBackoff?: string;
666
+ /**
667
+ * The maximum number of times the backoff duration is doubled.
668
+ */
669
+ readonly maxDoublings?: number;
670
+ /**
671
+ * The maximum duration for retrying a failed task.
672
+ */
673
+ readonly maxRetryDuration?: string;
674
+ /**
675
+ * The minimum backoff duration for task retries.
676
+ */
677
+ readonly minBackoff?: string;
678
+ [property: string]: any;
679
+ }
680
+ /**
681
+ * A trigger backed by a Google Eventarc trigger.
682
+ */
683
+ export declare class ServiceContainerGoogleTrigger {
684
+ constructor(init: ServiceContainerGoogleTrigger);
685
+ /**
686
+ * The type of trigger.
687
+ */
688
+ readonly type: string;
689
+ /**
690
+ * Google Pub/Sub-specific options for the trigger.
691
+ */
692
+ readonly 'google.pubSub'?: ServiceContainerGooglePubSubTriggerOptions;
693
+ /**
694
+ * Google Cloud Scheduler-specific options for the trigger.
695
+ */
696
+ readonly 'google.scheduler'?: ServiceContainerGoogleSchedulerTriggerOptions;
697
+ /**
698
+ * The retry policy for the Cloud Tasks queue.
699
+ */
700
+ readonly retryPolicy?: ServiceContainerGoogleTaskTriggerRetryPolicy;
701
+ /**
702
+ * Google Eventarc-specific options for the trigger.
703
+ */
704
+ readonly 'google.eventarc'?: ServiceContainerGoogleEventarcTriggerOptions;
705
+ [property: string]: any;
706
+ }
707
+ export declare class ServiceContainer {
708
+ constructor(init: ServiceContainer);
709
+ readonly outputs?: Outputs;
710
+ /**
711
+ * A map of triggers that call the service's endpoints when they occur.
712
+ */
713
+ readonly triggers?: {
714
+ [key: string]: ServiceContainerGoogleTrigger;
715
+ };
716
+ [property: string]: any;
717
+ }
718
+ /**
719
+ * Google-specific extensions to the service container configuration.
720
+ */
721
+ export declare class GoogleServiceContainerConfiguration {
722
+ constructor(init: GoogleServiceContainerConfiguration);
723
+ readonly serviceContainer?: ServiceContainer;
724
+ [property: string]: any;
725
+ }