@causa/workspace-google 0.18.0-beta.4 → 1.0.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.
@@ -1,15 +1,14 @@
1
- export declare class Events {
2
- constructor(init: Events);
3
- readonly broker?: string;
4
- [property: string]: any;
1
+ export declare enum GoogleAccessTokenSecretConfigurationBackend {
2
+ GoogleAccessToken = "google.accessToken"
5
3
  }
6
4
  /**
7
- * Google-specific refinement of the events configuration.
5
+ * A secret that returns a Google access token for the current user or service account.
6
+ * This backend does not require any additional configuration.
8
7
  */
9
- export declare class GoogleEventsConfiguration {
10
- constructor(init: GoogleEventsConfiguration);
11
- readonly events?: Events;
12
- [property: string]: any;
8
+ export declare class GoogleAccessTokenSecretConfiguration {
9
+ constructor(init: GoogleAccessTokenSecretConfiguration);
10
+ readonly backend?: GoogleAccessTokenSecretConfigurationBackend;
11
+ [key: string]: any;
13
12
  }
14
13
  /**
15
14
  * The Cloud Storage configuration where Cloud Functions archives should be uploaded.
@@ -24,7 +23,7 @@ export declare class GoogleCloudFunctionsArtefactStorage {
24
23
  * An optional prefix within the Cloud Storage bucket.
25
24
  */
26
25
  readonly prefix?: string;
27
- [property: string]: any;
26
+ [key: string]: any;
28
27
  }
29
28
  /**
30
29
  * Configuration for Cloud Functions.
@@ -35,7 +34,13 @@ export declare class GoogleCloudFunctions {
35
34
  * The Cloud Storage configuration where Cloud Functions archives should be uploaded.
36
35
  */
37
36
  readonly artefactStorage?: GoogleCloudFunctionsArtefactStorage;
38
- [property: string]: any;
37
+ [key: string]: any;
38
+ }
39
+ /**
40
+ * Google Cloud Functions platform.
41
+ */
42
+ export declare enum GoogleCloudFunctionsPlatform {
43
+ GoogleCloudFunctions = "google.cloudFunctions"
39
44
  }
40
45
  /**
41
46
  * When set, project-scoped backfill triggers do not send events to the live Cloud Run service. Instead, a
@@ -46,19 +51,19 @@ export declare class GoogleCloudFunctions {
46
51
  */
47
52
  export declare class GoogleCloudRunEventBackfillServiceCloneConfig {
48
53
  constructor(init: GoogleCloudRunEventBackfillServiceCloneConfig);
49
- /**
50
- * The maximum number of instances for the temporary service copy.
51
- */
52
- readonly maxInstanceCount?: number;
53
54
  /**
54
55
  * The minimum number of instances for the temporary service copy.
55
56
  */
56
57
  readonly minInstanceCount?: number;
58
+ /**
59
+ * The maximum number of instances for the temporary service copy.
60
+ */
61
+ readonly maxInstanceCount?: number;
57
62
  /**
58
63
  * The maximum number of concurrent requests per instance for the temporary service copy.
59
64
  */
60
65
  readonly requestConcurrency?: number;
61
- [property: string]: any;
66
+ [key: string]: any;
62
67
  }
63
68
  /**
64
69
  * The type of allowed ingress that can reach the container.
@@ -69,6 +74,12 @@ export declare enum GoogleCloudRunIngress {
69
74
  Internal = "internal",
70
75
  InternalAndCloudLoadBalancing = "internal-and-cloud-load-balancing"
71
76
  }
77
+ /**
78
+ * Google Cloud Run platform.
79
+ */
80
+ export declare enum GoogleCloudRunPlatform {
81
+ GoogleCloudRun = "google.cloudRun"
82
+ }
72
83
  /**
73
84
  * The setting for egress traffic that goes through the VPC access connector.
74
85
  * See https://cloud.google.com/run/docs/configuring/connecting-vpc#manage for more details.
@@ -78,70 +89,51 @@ export declare enum GoogleCloudRunVpcAccessConnectorEgressSettings {
78
89
  PrivateRangesOnly = "PRIVATE_RANGES_ONLY"
79
90
  }
80
91
  /**
81
- * Configuration for Cloud Run containers.
92
+ * Configuration for the emulator.
82
93
  */
83
- export declare class GoogleCloudRun {
84
- constructor(init: GoogleCloudRun);
85
- /**
86
- * Whether the container is running between requests and can perform background operations.
87
- */
88
- readonly cpuAlwaysAllocated?: boolean;
89
- /**
90
- * The Docker repository where Cloud Run containers should be uploaded.
91
- */
92
- readonly dockerRepository?: string;
93
- /**
94
- * When set, project-scoped backfill triggers do not send events to the live Cloud Run service. Instead, a
95
- * temporary copy of the service is deployed for each trigger, isolating the backfill load (in particular its
96
- * scaling) from production. The copy is deleted once the backfill is cleaned up. Ingress is always
97
- * restricted to internal traffic for the copy. The properties of this object override the scaling settings
98
- * of the copied service. Unset properties are inherited from the live service.
99
- */
100
- readonly eventBackfillServiceCloneConfig?: GoogleCloudRunEventBackfillServiceCloneConfig;
101
- /**
102
- * For `serviceContainer` projects deployed on Cloud Run, the name of the Cloud Run service that receives
103
- * events during a backfill targeting a project-scoped trigger. Defaults to the project's name
104
- * (`project.name`) when unset.
105
- */
106
- readonly eventBackfillServiceName?: string;
107
- /**
108
- * The type of allowed ingress that can reach the container.
109
- * See https://cloud.google.com/run/docs/securing/ingress#settings for more details.
110
- */
111
- readonly ingress?: GoogleCloudRunIngress;
112
- /**
113
- * The location where Cloud Run services should be deployed.
114
- */
115
- readonly location?: string;
116
- /**
117
- * The maximum allowed in-flight (concurrent) requests per container.
118
- */
119
- readonly requestConcurrency?: number;
94
+ export declare class GoogleFirebaseStorageEmulator {
95
+ constructor(init: GoogleFirebaseStorageEmulator);
120
96
  /**
121
- * A map where keys are the name of environment variables, and values are secret versions IDs (e.g.
122
- * `projects/my-project/secrets/my-secret/versions/1`).
97
+ * The name of the local Docker container running the emulator.
123
98
  */
124
- readonly secretEnvironmentVariables?: {
125
- [key: string]: string;
126
- };
99
+ readonly containerName?: string;
127
100
  /**
128
- * Whether to enable CPU boost during instance startup.
101
+ * The host port to which the Firebase Storage emulator is bound.
102
+ * Override this to run several workspaces in parallel on the same machine. Defaults to `9199`.
129
103
  */
130
- readonly startupCpuBoost?: boolean;
104
+ readonly port?: number;
105
+ [key: string]: any;
106
+ }
107
+ /**
108
+ * Configuration for the Firebase Storage service.
109
+ */
110
+ export declare class GoogleFirebaseStorage {
111
+ constructor(init: GoogleFirebaseStorage);
131
112
  /**
132
- * The max duration the instance is allowed for responding to a request, in seconds.
113
+ * Configuration for the emulator.
133
114
  */
134
- readonly timeout?: number;
115
+ readonly emulator?: GoogleFirebaseStorageEmulator;
135
116
  /**
136
- * The name of the VPC access connector through which egress traffic should be routed.
117
+ * A list of glob patterns to find files in the workspace defining Firebase Storage security rules.
137
118
  */
138
- readonly vpcAccessConnector?: string;
119
+ readonly securityRuleFiles?: string[];
139
120
  /**
140
- * The setting for egress traffic that goes through the VPC access connector.
141
- * See https://cloud.google.com/run/docs/configuring/connecting-vpc#manage for more details.
121
+ * The file path, relative to the workspace root, where the merged security rules file is written.
142
122
  */
143
- readonly vpcAccessConnectorEgressSettings?: GoogleCloudRunVpcAccessConnectorEgressSettings;
144
- [property: string]: any;
123
+ readonly securityRuleFile?: string;
124
+ [key: string]: any;
125
+ }
126
+ export declare enum GoogleFirebaseStorageMergeRulesProcessorName {
127
+ GoogleFirebaseStorageMergeRules = "GoogleFirebaseStorageMergeRules"
128
+ }
129
+ /**
130
+ * Merges all Firebase Storage security rules from the workspace.
131
+ * Sets the `google.firebaseStorage.securityRuleFile` configuration value.
132
+ */
133
+ export declare class GoogleFirebaseStorageMergeRulesProcessor {
134
+ constructor(init: GoogleFirebaseStorageMergeRulesProcessor);
135
+ readonly name: GoogleFirebaseStorageMergeRulesProcessorName;
136
+ [key: string]: any;
145
137
  }
146
138
  /**
147
139
  * Configuration for Firebase tools (the CLI).
@@ -153,7 +145,7 @@ export declare class GoogleFirebaseTools {
153
145
  * The version of the CLI to use.
154
146
  */
155
147
  readonly version?: string;
156
- [property: string]: any;
148
+ [key: string]: any;
157
149
  }
158
150
  /**
159
151
  * Configuration for the Firebase project.
@@ -193,42 +185,7 @@ export declare class GoogleFirebase {
193
185
  * This applies to Dockerized calls to the `firebase` CLI.
194
186
  */
195
187
  readonly tools?: GoogleFirebaseTools;
196
- [property: string]: any;
197
- }
198
- /**
199
- * Configuration for the emulator.
200
- */
201
- export declare class GoogleFirebaseStorageEmulator {
202
- constructor(init: GoogleFirebaseStorageEmulator);
203
- /**
204
- * The name of the local Docker container running the emulator.
205
- */
206
- readonly containerName?: string;
207
- /**
208
- * The host port to which the Firebase Storage emulator is bound.
209
- * Override this to run several workspaces in parallel on the same machine. Defaults to `9199`.
210
- */
211
- readonly port?: number;
212
- [property: string]: any;
213
- }
214
- /**
215
- * Configuration for the Firebase Storage service.
216
- */
217
- export declare class GoogleFirebaseStorage {
218
- constructor(init: GoogleFirebaseStorage);
219
- /**
220
- * Configuration for the emulator.
221
- */
222
- readonly emulator?: GoogleFirebaseStorageEmulator;
223
- /**
224
- * The file path, relative to the workspace root, where the merged security rules file is written.
225
- */
226
- readonly securityRuleFile?: string;
227
- /**
228
- * A list of glob patterns to find files in the workspace defining Firebase Storage security rules.
229
- */
230
- readonly securityRuleFiles?: string[];
231
- [property: string]: any;
188
+ [key: string]: any;
232
189
  }
233
190
  /**
234
191
  * Configuration for the emulator.
@@ -244,7 +201,7 @@ export declare class GoogleFirestoreEmulator {
244
201
  * Override this to run several workspaces in parallel on the same machine. Defaults to `8080`.
245
202
  */
246
203
  readonly port?: number;
247
- [property: string]: any;
204
+ [key: string]: any;
248
205
  }
249
206
  /**
250
207
  * Configuration for the Firestore service.
@@ -255,15 +212,27 @@ export declare class GoogleFirestore {
255
212
  * Configuration for the emulator.
256
213
  */
257
214
  readonly emulator?: GoogleFirestoreEmulator;
258
- /**
259
- * The file path, relative to the workspace root, where the merged security rules file is written.
260
- */
261
- readonly securityRuleFile?: string;
262
215
  /**
263
216
  * A list of glob patterns to find files in the workspace defining Firestore security rules.
264
217
  */
265
218
  readonly securityRuleFiles?: string[];
266
- [property: string]: any;
219
+ /**
220
+ * The file path, relative to the workspace root, where the merged security rules file is written.
221
+ */
222
+ readonly securityRuleFile?: string;
223
+ [key: string]: any;
224
+ }
225
+ export declare enum GoogleFirestoreMergeRulesProcessorName {
226
+ GoogleFirestoreMergeRules = "GoogleFirestoreMergeRules"
227
+ }
228
+ /**
229
+ * Merges all Firestore security rules from the workspace.
230
+ * Sets the `google.firestore.securityRuleFile` configuration value.
231
+ */
232
+ export declare class GoogleFirestoreMergeRulesProcessor {
233
+ constructor(init: GoogleFirestoreMergeRulesProcessor);
234
+ readonly name: GoogleFirestoreMergeRulesProcessorName;
235
+ [key: string]: any;
267
236
  }
268
237
  /**
269
238
  * Configuration for the `gcloud` command.
@@ -275,7 +244,17 @@ export declare class GoogleGcloud {
275
244
  * The version of the `gcloud` command.
276
245
  */
277
246
  readonly version?: string;
278
- [property: string]: any;
247
+ [key: string]: any;
248
+ }
249
+ export declare class GoogleGenericProcessor {
250
+ constructor(init: GoogleGenericProcessor);
251
+ readonly name: string;
252
+ [key: string]: any;
253
+ }
254
+ export declare class GoogleGenericSecretConfiguration {
255
+ constructor(init: GoogleGenericSecretConfiguration);
256
+ readonly backend?: string;
257
+ [key: string]: any;
279
258
  }
280
259
  /**
281
260
  * Configuration for the emulator.
@@ -291,7 +270,7 @@ export declare class GoogleIdentityPlatformEmulator {
291
270
  * Override this to run several workspaces in parallel on the same machine. Defaults to `9099`.
292
271
  */
293
272
  readonly port?: number;
294
- [property: string]: any;
273
+ [key: string]: any;
295
274
  }
296
275
  /**
297
276
  * Configuration for the Identity Platform (formerly Firebase Auth) service.
@@ -302,7 +281,7 @@ export declare class GoogleIdentityPlatform {
302
281
  * Configuration for the emulator.
303
282
  */
304
283
  readonly emulator?: GoogleIdentityPlatformEmulator;
305
- [property: string]: any;
284
+ [key: string]: any;
306
285
  }
307
286
  /**
308
287
  * Configuration for Google Cloud load balancing.
@@ -313,13 +292,21 @@ export declare class GoogleLoadBalancing {
313
292
  * A list of custom request headers to add to load-balanced requests.
314
293
  */
315
294
  readonly customRequestHeaders?: string[];
316
- [property: string]: any;
295
+ [key: string]: any;
317
296
  }
318
297
  /**
319
298
  * Options when publishing events in batches to Pub/Sub during a backfill.
320
299
  */
321
300
  export declare class GooglePubSubBackfillPublishOptions {
322
301
  constructor(init: GooglePubSubBackfillPublishOptions);
302
+ /**
303
+ * The maximum number of bytes allowed in outstanding (in-flight) publish requests before applying flow control.
304
+ */
305
+ readonly maxOutstandingBytes?: number;
306
+ /**
307
+ * The maximum number of outstanding (in-flight) messages allowed before applying flow control.
308
+ */
309
+ readonly maxOutstandingMessages?: number;
323
310
  /**
324
311
  * The maximum number of bytes to buffer before publishing a batch.
325
312
  */
@@ -332,31 +319,43 @@ export declare class GooglePubSubBackfillPublishOptions {
332
319
  * The maximum duration to wait, in milliseconds, before publishing a batch.
333
320
  */
334
321
  readonly maxMilliseconds?: number;
335
- /**
336
- * The maximum number of bytes allowed in outstanding (in-flight) publish requests before applying flow control.
337
- */
338
- readonly maxOutstandingBytes?: number;
339
- /**
340
- * The maximum number of outstanding (in-flight) messages allowed before applying flow control.
341
- */
342
- readonly maxOutstandingMessages?: number;
343
- [property: string]: any;
322
+ [key: string]: any;
344
323
  }
345
324
  /**
346
325
  * Configuration for the storage of Pub/Sub events in BigQuery.
347
326
  */
348
327
  export declare class GooglePubSubBigQueryStorage {
349
328
  constructor(init: GooglePubSubBigQueryStorage);
329
+ /**
330
+ * The ID of the BigQuery dataset where raw Pub/Sub events should be stored.
331
+ */
332
+ readonly rawEventsDatasetId?: string;
350
333
  /**
351
334
  * The BigQuery location for the datasets.
352
335
  * See https://cloud.google.com/bigquery/docs/locations for more details.
353
336
  */
354
337
  readonly location?: string;
355
- /**
356
- * The ID of the BigQuery dataset where raw Pub/Sub events should be stored.
357
- */
358
- readonly rawEventsDatasetId?: string;
359
- [property: string]: any;
338
+ [key: string]: any;
339
+ }
340
+ /**
341
+ * Google Pub/Sub message broker.
342
+ */
343
+ export declare enum GooglePubSubBroker {
344
+ GooglePubSub = "google.pubSub"
345
+ }
346
+ export type GoogleEventsBroker = string | GooglePubSubBroker;
347
+ export declare class GoogleEvents {
348
+ constructor(init: GoogleEvents);
349
+ readonly broker?: GoogleEventsBroker;
350
+ [key: string]: any;
351
+ }
352
+ /**
353
+ * Google-specific refinement of the events configuration.
354
+ */
355
+ export declare class GoogleEventsConfiguration {
356
+ constructor(init: GoogleEventsConfiguration);
357
+ readonly events?: GoogleEvents;
358
+ [key: string]: any;
360
359
  }
361
360
  /**
362
361
  * Configuration for the emulator.
@@ -372,7 +371,7 @@ export declare class GooglePubSubEmulator {
372
371
  * Override this to run several workspaces in parallel on the same machine. Defaults to `8085`.
373
372
  */
374
373
  readonly port?: number;
375
- [property: string]: any;
374
+ [key: string]: any;
376
375
  }
377
376
  /**
378
377
  * Configuration for the Pub/Sub service.
@@ -380,30 +379,42 @@ export declare class GooglePubSubEmulator {
380
379
  export declare class GooglePubSub {
381
380
  constructor(init: GooglePubSub);
382
381
  /**
383
- * Options when publishing events in batches to Pub/Sub during a backfill.
382
+ * Configuration for the emulator.
384
383
  */
385
- readonly backfillPublishOptions?: GooglePubSubBackfillPublishOptions;
384
+ readonly emulator?: GooglePubSubEmulator;
386
385
  /**
387
- * Configuration for the storage of Pub/Sub events in BigQuery.
386
+ * The directory where the topic configuration files are written by the `GooglePubSubWriteTopics` processor.
388
387
  */
389
- readonly bigQueryStorage?: GooglePubSubBigQueryStorage;
388
+ readonly topicConfigurationsDirectory?: string;
390
389
  /**
391
- * Configuration for the emulator.
390
+ * The default minimum backoff for Pub/Sub push subscription retry policy.
392
391
  */
393
- readonly emulator?: GooglePubSubEmulator;
392
+ readonly minimumBackoff?: string;
394
393
  /**
395
394
  * The default maximum backoff for Pub/Sub push subscription retry policy.
396
395
  */
397
396
  readonly maximumBackoff?: string;
398
397
  /**
399
- * The default minimum backoff for Pub/Sub push subscription retry policy.
398
+ * Configuration for the storage of Pub/Sub events in BigQuery.
400
399
  */
401
- readonly minimumBackoff?: string;
400
+ readonly bigQueryStorage?: GooglePubSubBigQueryStorage;
402
401
  /**
403
- * The directory where the topic configuration files are written by the `GooglePubSubWriteTopics` processor.
402
+ * Options when publishing events in batches to Pub/Sub during a backfill.
404
403
  */
405
- readonly topicConfigurationsDirectory?: string;
406
- [property: string]: any;
404
+ readonly backfillPublishOptions?: GooglePubSubBackfillPublishOptions;
405
+ [key: string]: any;
406
+ }
407
+ export declare enum GooglePubSubWriteTopicsProcessorName {
408
+ GooglePubSubWriteTopics = "GooglePubSubWriteTopics"
409
+ }
410
+ /**
411
+ * Writes Pub/Sub topic configurations to JSON files.
412
+ * Sets the `google.pubSub.topicConfigurationsDirectory` configuration value.
413
+ */
414
+ export declare class GooglePubSubWriteTopicsProcessor {
415
+ constructor(init: GooglePubSubWriteTopicsProcessor);
416
+ readonly name: GooglePubSubWriteTopicsProcessorName;
417
+ [key: string]: any;
407
418
  }
408
419
  /**
409
420
  * Default configuration for Cloud Scheduler jobs.
@@ -411,17 +422,9 @@ export declare class GooglePubSub {
411
422
  export declare class GoogleScheduler {
412
423
  constructor(init: GoogleScheduler);
413
424
  /**
414
- * The default deadline for Cloud Scheduler job attempts.
415
- */
416
- readonly attemptDeadline?: string;
417
- /**
418
- * The default maximum backoff duration for Cloud Scheduler job retries.
419
- */
420
- readonly maxBackoffDuration?: string;
421
- /**
422
- * The default maximum number of times the backoff duration is doubled for Cloud Scheduler job retries.
425
+ * The default number of retry attempts for Cloud Scheduler jobs.
423
426
  */
424
- readonly maxDoublings?: number;
427
+ readonly retryCount?: number;
425
428
  /**
426
429
  * The default maximum duration for retrying a failed Cloud Scheduler job.
427
430
  */
@@ -431,10 +434,18 @@ export declare class GoogleScheduler {
431
434
  */
432
435
  readonly minBackoffDuration?: string;
433
436
  /**
434
- * The default number of retry attempts for Cloud Scheduler jobs.
437
+ * The default maximum backoff duration for Cloud Scheduler job retries.
435
438
  */
436
- readonly retryCount?: number;
437
- [property: string]: any;
439
+ readonly maxBackoffDuration?: string;
440
+ /**
441
+ * The default maximum number of times the backoff duration is doubled for Cloud Scheduler job retries.
442
+ */
443
+ readonly maxDoublings?: number;
444
+ /**
445
+ * The default deadline for Cloud Scheduler job attempts.
446
+ */
447
+ readonly attemptDeadline?: string;
448
+ [key: string]: any;
438
449
  }
439
450
  /**
440
451
  * Configuration for the Secret Manager service.
@@ -445,65 +456,131 @@ export declare class GoogleSecretManager {
445
456
  * The ID of the default GCP project referenced when fetching secrets.
446
457
  */
447
458
  readonly project?: string;
448
- [property: string]: any;
459
+ [key: string]: any;
449
460
  }
450
461
  /**
451
- * Defines how DDLs are found for the Spanner databases in the workspace.
462
+ * Google Secret Manager backend.
452
463
  */
453
- export declare class GoogleSpannerDdls {
454
- constructor(init: GoogleSpannerDdls);
455
- /**
456
- * The format string using groups from the regular expression used to make the database names.
457
- */
458
- readonly format?: string;
459
- /**
460
- * A list of glob patterns used to find SQL files containing DDL statements for the Spanner databases.
461
- */
462
- readonly globs?: string[];
463
- /**
464
- * The regular expression used to extract groups from the SQL file paths.
465
- */
466
- readonly regularExpression?: string;
467
- [property: string]: any;
464
+ export declare enum GoogleSecretManagerBackend {
465
+ GoogleSecretManager = "google.secretManager"
466
+ }
467
+ export declare enum GoogleSecretManagerSecretConfigurationBackend {
468
+ GoogleSecretManager = "google.secretManager"
468
469
  }
469
470
  /**
470
- * Configuration for the emulator.
471
+ * A secret stored in Google Secret Manager.
471
472
  */
472
- export declare class GoogleSpannerEmulator {
473
- constructor(init: GoogleSpannerEmulator);
474
- /**
475
- * The name of the local Docker container running the emulator.
476
- */
477
- readonly containerName?: string;
473
+ export declare class GoogleSecretManagerSecretConfiguration {
474
+ constructor(init: GoogleSecretManagerSecretConfiguration);
475
+ readonly backend?: GoogleSecretManagerSecretConfigurationBackend;
478
476
  /**
479
- * The host port to which the Spanner emulator gRPC API is bound.
480
- * Override this to run several workspaces in parallel on the same machine. Defaults to `9010`.
477
+ * The reference to the secret in Google Secret Manager.
478
+ * Supported formats: `<secret-name>`, `projects/<project>/secrets/<secret-name>`, `projects/<project>/secrets/<secret-name>/versions/<version>`.
479
+ * If the project is not specified, `google.secretManager.project` or `google.project` will be used.
480
+ * If the version is not specified, `latest` will be used.
481
481
  */
482
- readonly grpcPort?: number;
483
- /**
484
- * The host port to which the Spanner emulator HTTP API is bound.
485
- * Override this to run several workspaces in parallel on the same machine. Defaults to `9020`.
482
+ readonly id?: string;
483
+ [key: string]: any;
484
+ }
485
+ export type GoogleSecretConfiguration = GoogleGenericSecretConfiguration | GoogleSecretManagerSecretConfiguration | GoogleAccessTokenSecretConfiguration;
486
+ export type GoogleSecretsDefaultBackend = string | GoogleSecretManagerBackend;
487
+ export declare class GoogleSecretsCausaSecrets {
488
+ constructor(init: GoogleSecretsCausaSecrets);
489
+ readonly defaultBackend?: GoogleSecretsDefaultBackend;
490
+ [key: string]: any;
491
+ }
492
+ export declare class GoogleSecretsCausa {
493
+ constructor(init: GoogleSecretsCausa);
494
+ readonly secrets?: GoogleSecretsCausaSecrets;
495
+ [key: string]: any;
496
+ }
497
+ /**
498
+ * Google-specific refinement of the secrets configuration.
499
+ */
500
+ export declare class GoogleSecretsConfiguration {
501
+ constructor(init: GoogleSecretsConfiguration);
502
+ readonly causa?: GoogleSecretsCausa;
503
+ readonly secrets?: Record<string, GoogleSecretConfiguration>;
504
+ [key: string]: any;
505
+ }
506
+ export type GoogleServerlessFunctionsPlatform = string | GoogleCloudFunctionsPlatform;
507
+ export declare class GoogleServerlessFunctions {
508
+ constructor(init: GoogleServerlessFunctions);
509
+ readonly platform?: GoogleServerlessFunctionsPlatform;
510
+ [key: string]: any;
511
+ }
512
+ /**
513
+ * Google-specific refinement of the serverless functions configuration.
514
+ */
515
+ export declare class GoogleServerlessFunctionsConfiguration {
516
+ constructor(init: GoogleServerlessFunctionsConfiguration);
517
+ readonly serverlessFunctions?: GoogleServerlessFunctions;
518
+ [key: string]: any;
519
+ }
520
+ export declare enum GoogleServicesEnableProcessorName {
521
+ GoogleServicesEnable = "GoogleServicesEnable"
522
+ }
523
+ /**
524
+ * Enables GCP services defined in the `google.services` configuration.
525
+ */
526
+ export declare class GoogleServicesEnableProcessor {
527
+ constructor(init: GoogleServicesEnableProcessor);
528
+ readonly name: GoogleServicesEnableProcessorName;
529
+ [key: string]: any;
530
+ }
531
+ /**
532
+ * Defines how DDLs are found for the Spanner databases in the workspace.
533
+ */
534
+ export declare class GoogleSpannerDdls {
535
+ constructor(init: GoogleSpannerDdls);
536
+ /**
537
+ * The format string using groups from the regular expression used to make the database names.
486
538
  */
487
- readonly httpPort?: number;
539
+ readonly format?: string;
488
540
  /**
489
- * The name of the Spanner instance that will automatically be created in the emulator.
541
+ * A list of glob patterns used to find SQL files containing DDL statements for the Spanner databases.
490
542
  */
491
- readonly instanceName?: string;
543
+ readonly globs?: string[];
544
+ /**
545
+ * The regular expression used to extract groups from the SQL file paths.
546
+ */
547
+ readonly regularExpression?: string;
548
+ [key: string]: any;
549
+ }
550
+ /**
551
+ * Configuration for the emulator.
552
+ */
553
+ export declare class GoogleSpannerEmulator {
554
+ constructor(init: GoogleSpannerEmulator);
555
+ /**
556
+ * The name of the local Docker container running the emulator.
557
+ */
558
+ readonly containerName?: string;
492
559
  /**
493
560
  * The version of the Spanner emulator Docker image to use.
494
561
  */
495
562
  readonly version?: string;
496
- [property: string]: any;
563
+ /**
564
+ * The name of the Spanner instance that will automatically be created in the emulator.
565
+ */
566
+ readonly instanceName?: string;
567
+ /**
568
+ * The host port to which the Spanner emulator gRPC API is bound.
569
+ * Override this to run several workspaces in parallel on the same machine. Defaults to `9010`.
570
+ */
571
+ readonly grpcPort?: number;
572
+ /**
573
+ * The host port to which the Spanner emulator HTTP API is bound.
574
+ * Override this to run several workspaces in parallel on the same machine. Defaults to `9020`.
575
+ */
576
+ readonly httpPort?: number;
577
+ [key: string]: any;
497
578
  }
498
579
  /**
499
580
  * Autoscaling configuration for the Spanner instance.
500
581
  */
501
582
  export declare class GoogleSpannerInstanceAutoscaling {
502
583
  constructor(init: GoogleSpannerInstanceAutoscaling);
503
- /**
504
- * The target high-priority CPU utilization percentage for autoscaling.
505
- */
506
- readonly highPriorityCpuUtilizationTarget?: number;
507
584
  /**
508
585
  * The maximum number of processing units for autoscaling.
509
586
  */
@@ -512,11 +589,15 @@ export declare class GoogleSpannerInstanceAutoscaling {
512
589
  * The minimum number of processing units for autoscaling.
513
590
  */
514
591
  readonly minProcessingUnits?: number;
592
+ /**
593
+ * The target high-priority CPU utilization percentage for autoscaling.
594
+ */
595
+ readonly highPriorityCpuUtilizationTarget?: number;
515
596
  /**
516
597
  * The target storage utilization percentage for autoscaling.
517
598
  */
518
599
  readonly storageUtilizationTarget?: number;
519
- [property: string]: any;
600
+ [key: string]: any;
520
601
  }
521
602
  /**
522
603
  * Configuration for the Spanner instance.
@@ -524,28 +605,28 @@ export declare class GoogleSpannerInstanceAutoscaling {
524
605
  export declare class GoogleSpannerInstance {
525
606
  constructor(init: GoogleSpannerInstance);
526
607
  /**
527
- * Autoscaling configuration for the Spanner instance.
608
+ * The name of the Spanner instance.
528
609
  */
529
- readonly autoscaling?: GoogleSpannerInstanceAutoscaling;
610
+ readonly name?: string;
530
611
  /**
531
612
  * The instance geographic configuration.
532
613
  * See https://cloud.google.com/spanner/docs/instance-configurations for more details.
533
614
  */
534
615
  readonly configuration?: string;
535
616
  /**
536
- * The edition of the Spanner instance (e.g. STANDARD, ENTERPRISE).
617
+ * The compute capacity of the instance.
618
+ * See https://cloud.google.com/spanner/docs/compute-capacity for more details.
537
619
  */
538
- readonly edition?: string;
620
+ readonly processingUnits?: number;
539
621
  /**
540
- * The name of the Spanner instance.
622
+ * Autoscaling configuration for the Spanner instance.
541
623
  */
542
- readonly name?: string;
624
+ readonly autoscaling?: GoogleSpannerInstanceAutoscaling;
543
625
  /**
544
- * The compute capacity of the instance.
545
- * See https://cloud.google.com/spanner/docs/compute-capacity for more details.
626
+ * The edition of the Spanner instance (e.g. STANDARD, ENTERPRISE).
546
627
  */
547
- readonly processingUnits?: number;
548
- [property: string]: any;
628
+ readonly edition?: string;
629
+ [key: string]: any;
549
630
  }
550
631
  /**
551
632
  * Configuration for the Spanner service.
@@ -553,190 +634,232 @@ export declare class GoogleSpannerInstance {
553
634
  export declare class GoogleSpanner {
554
635
  constructor(init: GoogleSpanner);
555
636
  /**
556
- * The directory where the database configuration files are written by the `GoogleSpannerWriteDatabases` processor.
637
+ * Configuration for the emulator.
557
638
  */
558
- readonly databaseConfigurationsDirectory?: string;
639
+ readonly emulator?: GoogleSpannerEmulator;
559
640
  /**
560
- * The timeout for Spanner database DDL operations.
641
+ * Configuration for the Spanner instance.
561
642
  */
562
- readonly databaseDdlTimeout?: string;
643
+ readonly instance?: GoogleSpannerInstance;
563
644
  /**
564
645
  * Defines how DDLs are found for the Spanner databases in the workspace.
565
646
  */
566
647
  readonly ddls?: GoogleSpannerDdls;
567
648
  /**
568
- * Configuration for the emulator.
569
- */
570
- readonly emulator?: GoogleSpannerEmulator;
571
- /**
572
- * Configuration for the Spanner instance.
649
+ * The directory where the database configuration files are written by the `GoogleSpannerWriteDatabases` processor.
573
650
  */
574
- readonly instance?: GoogleSpannerInstance;
651
+ readonly databaseConfigurationsDirectory?: string;
575
652
  /**
576
653
  * The default version retention period for Spanner databases.
577
654
  */
578
655
  readonly versionRetentionPeriod?: string;
579
- [property: string]: any;
656
+ /**
657
+ * The timeout for Spanner database DDL operations.
658
+ */
659
+ readonly databaseDdlTimeout?: string;
660
+ [key: string]: any;
661
+ }
662
+ export declare enum GoogleSpannerWriteDatabasesProcessorName {
663
+ GoogleSpannerWriteDatabases = "GoogleSpannerWriteDatabases"
580
664
  }
581
665
  /**
582
- * Configuration for everything Google / GCP-related.
666
+ * Writes Spanner database configurations to JSON files.
667
+ * Sets the `google.spanner.databaseConfigurationsDirectory` configuration value.
583
668
  */
584
- export declare class Google {
585
- constructor(init: Google);
669
+ export declare class GoogleSpannerWriteDatabasesProcessor {
670
+ constructor(init: GoogleSpannerWriteDatabasesProcessor);
671
+ readonly name: GoogleSpannerWriteDatabasesProcessorName;
672
+ [key: string]: any;
673
+ }
674
+ export type GoogleInfrastructureProcessor = GoogleGenericProcessor | GoogleServicesEnableProcessor | GooglePubSubWriteTopicsProcessor | GoogleSpannerWriteDatabasesProcessor | GoogleFirestoreMergeRulesProcessor | GoogleFirebaseStorageMergeRulesProcessor;
675
+ export declare class GoogleInfrastructure {
676
+ constructor(init: GoogleInfrastructure);
677
+ readonly processors?: GoogleInfrastructureProcessor[];
678
+ [key: string]: any;
679
+ }
680
+ /**
681
+ * Google-specific refinement of the infrastructure configuration with known processors.
682
+ */
683
+ export declare class GoogleInfrastructureConfiguration {
684
+ constructor(init: GoogleInfrastructureConfiguration);
685
+ readonly infrastructure?: GoogleInfrastructure;
686
+ [key: string]: any;
687
+ }
688
+ export declare class ServiceContainerGenericTrigger {
689
+ constructor(init: ServiceContainerGenericTrigger);
586
690
  /**
587
- * Configuration for Cloud Functions.
691
+ * The type of trigger.
588
692
  */
589
- readonly cloudFunctions?: GoogleCloudFunctions;
693
+ readonly type: string;
694
+ [key: string]: any;
695
+ }
696
+ /**
697
+ * The type of trigger.
698
+ */
699
+ export declare enum ServiceContainerGoogleEventarcTriggerType {
700
+ GoogleEventarc = "google.eventarc"
701
+ }
702
+ /**
703
+ * Google Pub/Sub-specific options for the trigger.
704
+ */
705
+ export declare class ServiceContainerGooglePubSubTriggerOptions {
706
+ constructor(init: ServiceContainerGooglePubSubTriggerOptions);
590
707
  /**
591
- * Configuration for Cloud Run containers.
708
+ * The minimum backoff for the Pub/Sub push subscription retry policy.
592
709
  */
593
- readonly cloudRun?: GoogleCloudRun;
710
+ readonly minimumBackoff?: string;
594
711
  /**
595
- * Configuration for the Firebase project.
712
+ * The maximum backoff for the Pub/Sub push subscription retry policy.
596
713
  */
597
- readonly firebase?: GoogleFirebase;
714
+ readonly maximumBackoff?: string;
598
715
  /**
599
- * Configuration for the Firebase Storage service.
716
+ * A Pub/Sub filter expression for the subscription.
600
717
  */
601
- readonly firebaseStorage?: GoogleFirebaseStorage;
718
+ readonly filter?: string;
719
+ [key: string]: any;
720
+ }
721
+ /**
722
+ * The type of trigger.
723
+ */
724
+ export declare enum ServiceContainerGooglePubSubTriggerType {
725
+ GooglePubSub = "google.pubSub",
726
+ Event = "event"
727
+ }
728
+ /**
729
+ * A trigger backed by a Google Pub/Sub subscription.
730
+ */
731
+ export declare class ServiceContainerGooglePubSubTrigger {
732
+ constructor(init: ServiceContainerGooglePubSubTrigger);
602
733
  /**
603
- * Configuration for the Firestore service.
734
+ * The type of trigger.
604
735
  */
605
- readonly firestore?: GoogleFirestore;
736
+ readonly type: ServiceContainerGooglePubSubTriggerType;
606
737
  /**
607
- * Configuration for the `gcloud` command.
608
- * This applies to Dockerized calls to `gcloud` using the official `gcloud` Docker image.
738
+ * The ID of the topic triggering the endpoint.
609
739
  */
610
- readonly gcloud?: GoogleGcloud;
740
+ readonly topic: string;
611
741
  /**
612
- * Configuration for the Identity Platform (formerly Firebase Auth) service.
742
+ * Google Pub/Sub-specific options for the trigger.
613
743
  */
614
- readonly identityPlatform?: GoogleIdentityPlatform;
744
+ readonly 'google.pubSub'?: ServiceContainerGooglePubSubTriggerOptions;
745
+ [key: string]: any;
746
+ }
747
+ /**
748
+ * Google Cloud Scheduler-specific options for the trigger.
749
+ */
750
+ export declare class ServiceContainerGoogleSchedulerTriggerOptions {
751
+ constructor(init: ServiceContainerGoogleSchedulerTriggerOptions);
615
752
  /**
616
- * Configuration for Google Cloud load balancing.
753
+ * The number of retry attempts for the Cloud Scheduler job.
617
754
  */
618
- readonly loadBalancing?: GoogleLoadBalancing;
755
+ readonly retryCount?: number;
619
756
  /**
620
- * The ID of a local GCP project (which does not exist on GCP).
621
- * This is for example used by emulators. It should usually start with `demo-` to be compatible with some emulators.
757
+ * The maximum duration for retrying a failed job.
622
758
  */
623
- readonly localProject?: string;
759
+ readonly maxRetryDuration?: string;
624
760
  /**
625
- * The ID of the default GCP project used when performing operations.
761
+ * The minimum backoff duration for job retries.
626
762
  */
627
- readonly project?: string;
763
+ readonly minBackoffDuration?: string;
628
764
  /**
629
- * Configuration for the Pub/Sub service.
765
+ * The maximum backoff duration for job retries.
630
766
  */
631
- readonly pubSub?: GooglePubSub;
767
+ readonly maxBackoffDuration?: string;
632
768
  /**
633
- * The GCP region in which resource should be created and managed.
769
+ * The maximum number of times the backoff duration is doubled.
634
770
  */
635
- readonly region?: string;
771
+ readonly maxDoublings?: number;
636
772
  /**
637
- * Default configuration for Cloud Scheduler jobs.
773
+ * The deadline for job attempts.
638
774
  */
639
- readonly scheduler?: GoogleScheduler;
775
+ readonly attemptDeadline?: string;
776
+ [key: string]: any;
777
+ }
778
+ /**
779
+ * The type of trigger.
780
+ */
781
+ export declare enum ServiceContainerGoogleSchedulerTriggerType {
782
+ GoogleScheduler = "google.scheduler",
783
+ Cron = "cron"
784
+ }
785
+ /**
786
+ * A trigger backed by a Google Cloud Scheduler job.
787
+ */
788
+ export declare class ServiceContainerGoogleSchedulerTrigger {
789
+ constructor(init: ServiceContainerGoogleSchedulerTrigger);
640
790
  /**
641
- * Configuration for the Secret Manager service.
791
+ * The type of trigger.
642
792
  */
643
- readonly secretManager?: GoogleSecretManager;
793
+ readonly type: ServiceContainerGoogleSchedulerTriggerType;
644
794
  /**
645
- * The list of GCP services on which the project depends.
646
- * This is useful to automatically enable those services in the GCP project.
795
+ * The cron schedule expression for cron triggers.
647
796
  */
648
- readonly services?: string[];
797
+ readonly schedule: string;
649
798
  /**
650
- * Configuration for the Spanner service.
799
+ * The timezone for the cron schedule.
651
800
  */
652
- readonly spanner?: GoogleSpanner;
653
- [property: string]: any;
654
- }
655
- /**
656
- * The schema for Google / GCP configuration.
657
- */
658
- export declare class GoogleConfiguration {
659
- constructor(init: GoogleConfiguration);
801
+ readonly timezone?: string;
660
802
  /**
661
- * Configuration for everything Google / GCP-related.
803
+ * Google Cloud Scheduler-specific options for the trigger.
662
804
  */
663
- readonly google?: Google;
664
- [property: string]: any;
665
- }
666
- /**
667
- * Merges all Firebase Storage security rules from the workspace.
668
- * Sets the `google.firebaseStorage.securityRuleFile` configuration value.
669
- */
670
- export declare class GoogleProcessor {
671
- constructor(init: GoogleProcessor);
672
- readonly name: string;
673
- [property: string]: any;
674
- }
675
- export declare class Infrastructure {
676
- constructor(init: Infrastructure);
677
- readonly processors?: GoogleProcessor[];
678
- [property: string]: any;
679
- }
680
- /**
681
- * Google-specific refinement of the infrastructure configuration with known processors.
682
- */
683
- export declare class GoogleInfrastructureConfiguration {
684
- constructor(init: GoogleInfrastructureConfiguration);
685
- readonly infrastructure?: Infrastructure;
686
- [property: string]: any;
687
- }
688
- export declare class Secrets {
689
- constructor(init: Secrets);
690
- readonly defaultBackend?: string;
691
- [property: string]: any;
692
- }
693
- export declare class Causa {
694
- constructor(init: Causa);
695
- readonly secrets?: Secrets;
696
- [property: string]: any;
805
+ readonly 'google.scheduler'?: ServiceContainerGoogleSchedulerTriggerOptions;
806
+ [key: string]: any;
697
807
  }
698
808
  /**
699
- * A secret that returns a Google access token for the current user or service account.
700
- * This backend does not require any additional configuration.
809
+ * The retry policy for the Cloud Tasks queue.
701
810
  */
702
- export declare class GoogleSecretConfiguration {
703
- constructor(init: GoogleSecretConfiguration);
704
- readonly backend?: string;
811
+ export declare class ServiceContainerGoogleTaskTriggerRetryPolicy {
812
+ constructor(init: ServiceContainerGoogleTaskTriggerRetryPolicy);
705
813
  /**
706
- * The reference to the secret in Google Secret Manager.
707
- * Supported formats: `<secret-name>`, `projects/<project>/secrets/<secret-name>`, `projects/<project>/secrets/<secret-name>/versions/<version>`.
708
- * If the project is not specified, `google.secretManager.project` or `google.project` will be used.
709
- * If the version is not specified, `latest` will be used.
814
+ * The maximum number of attempts for a task.
710
815
  */
711
- readonly id?: string;
712
- [property: string]: any;
816
+ readonly maxAttempts?: number;
817
+ /**
818
+ * The maximum duration for retrying a failed task.
819
+ */
820
+ readonly maxRetryDuration?: string;
821
+ /**
822
+ * The minimum backoff duration for task retries.
823
+ */
824
+ readonly minBackoff?: string;
825
+ /**
826
+ * The maximum backoff duration for task retries.
827
+ */
828
+ readonly maxBackoff?: string;
829
+ /**
830
+ * The maximum number of times the backoff duration is doubled.
831
+ */
832
+ readonly maxDoublings?: number;
833
+ [key: string]: any;
713
834
  }
714
835
  /**
715
- * Google-specific refinement of the secrets configuration.
836
+ * The type of trigger.
716
837
  */
717
- export declare class GoogleSecretsConfiguration {
718
- constructor(init: GoogleSecretsConfiguration);
719
- readonly causa?: Causa;
720
- readonly secrets?: {
721
- [key: string]: GoogleSecretConfiguration;
722
- };
723
- [property: string]: any;
724
- }
725
- export declare class ServerlessFunctions {
726
- constructor(init: ServerlessFunctions);
727
- readonly platform?: string;
728
- [property: string]: any;
838
+ export declare enum ServiceContainerGoogleTaskTriggerType {
839
+ GoogleTasks = "google.tasks",
840
+ Task = "task"
729
841
  }
730
842
  /**
731
- * Google-specific refinement of the serverless functions configuration.
843
+ * A trigger backed by a Google Cloud Tasks queue.
732
844
  */
733
- export declare class GoogleServerlessFunctionsConfiguration {
734
- constructor(init: GoogleServerlessFunctionsConfiguration);
735
- readonly serverlessFunctions?: ServerlessFunctions;
736
- [property: string]: any;
845
+ export declare class ServiceContainerGoogleTaskTrigger {
846
+ constructor(init: ServiceContainerGoogleTaskTrigger);
847
+ /**
848
+ * The type of trigger.
849
+ */
850
+ readonly type: ServiceContainerGoogleTaskTriggerType;
851
+ /**
852
+ * The name of the queue for task triggers.
853
+ */
854
+ readonly queue: string;
855
+ /**
856
+ * The retry policy for the Cloud Tasks queue.
857
+ */
858
+ readonly retryPolicy?: ServiceContainerGoogleTaskTriggerRetryPolicy;
859
+ [key: string]: any;
737
860
  }
738
- export declare class Outputs {
739
- constructor(init: Outputs);
861
+ export declare class ServiceContainerOutputs {
862
+ constructor(init: ServiceContainerOutputs);
740
863
  /**
741
864
  * The list of Firestore collections this service produces data into.
742
865
  */
@@ -746,180 +869,226 @@ export declare class Outputs {
746
869
  * Each entry should be in the format `instance.database`.
747
870
  */
748
871
  readonly 'google.spanner'?: string[];
749
- [property: string]: any;
872
+ [key: string]: any;
750
873
  }
751
- export declare class ServiceContainerGoogleEventarcTriggerFilter {
752
- constructor(init: ServiceContainerGoogleEventarcTriggerFilter);
874
+ export type ServiceContainerPlatform = string | GoogleCloudRunPlatform;
875
+ export type TemplateString = string;
876
+ /**
877
+ * Configuration for Cloud Run containers.
878
+ */
879
+ export declare class GoogleCloudRun {
880
+ constructor(init: GoogleCloudRun);
753
881
  /**
754
- * The event attribute to filter on.
882
+ * The Docker repository where Cloud Run containers should be uploaded.
755
883
  */
756
- readonly attribute: string;
884
+ readonly dockerRepository?: string;
757
885
  /**
758
- * The operator for matching the filter.
886
+ * The location where Cloud Run services should be deployed.
759
887
  */
760
- readonly operator?: string;
888
+ readonly location?: string;
761
889
  /**
762
- * The value to match for the attribute.
890
+ * For `serviceContainer` projects deployed on Cloud Run, the name of the Cloud Run service that receives
891
+ * events during a backfill targeting a project-scoped trigger. Defaults to the project's name
892
+ * (`project.name`) when unset.
763
893
  */
764
- readonly value: string;
765
- [property: string]: any;
766
- }
767
- /**
768
- * Google Eventarc-specific options for the trigger.
769
- */
770
- export declare class ServiceContainerGoogleEventarcTriggerOptions {
771
- constructor(init: ServiceContainerGoogleEventarcTriggerOptions);
894
+ readonly eventBackfillServiceName?: string;
772
895
  /**
773
- * The content type of event data.
896
+ * When set, project-scoped backfill triggers do not send events to the live Cloud Run service. Instead, a
897
+ * temporary copy of the service is deployed for each trigger, isolating the backfill load (in particular its
898
+ * scaling) from production. The copy is deleted once the backfill is cleaned up. Ingress is always
899
+ * restricted to internal traffic for the copy. The properties of this object override the scaling settings
900
+ * of the copied service. Unset properties are inherited from the live service.
774
901
  */
775
- readonly contentType: string;
902
+ readonly eventBackfillServiceCloneConfig?: GoogleCloudRunEventBackfillServiceCloneConfig;
776
903
  /**
777
- * The list of matching criteria for the Eventarc trigger.
904
+ * A map where keys are the name of environment variables, and values are secret versions IDs (e.g.
905
+ * `projects/my-project/secrets/my-secret/versions/1`).
778
906
  */
779
- readonly filters: ServiceContainerGoogleEventarcTriggerFilter[];
907
+ readonly secretEnvironmentVariables?: Record<string, TemplateString>;
780
908
  /**
781
- * The location of the Eventarc trigger.
909
+ * Whether the container is running between requests and can perform background operations.
782
910
  */
783
- readonly location?: string;
784
- [property: string]: any;
785
- }
786
- /**
787
- * Google Pub/Sub-specific options for the trigger.
788
- */
789
- export declare class ServiceContainerGooglePubSubTriggerOptions {
790
- constructor(init: ServiceContainerGooglePubSubTriggerOptions);
911
+ readonly cpuAlwaysAllocated?: boolean;
791
912
  /**
792
- * A Pub/Sub filter expression for the subscription.
913
+ * Whether to enable CPU boost during instance startup.
793
914
  */
794
- readonly filter?: string;
915
+ readonly startupCpuBoost?: boolean;
795
916
  /**
796
- * The maximum backoff for the Pub/Sub push subscription retry policy.
917
+ * The max duration the instance is allowed for responding to a request, in seconds.
797
918
  */
798
- readonly maximumBackoff?: string;
919
+ readonly timeout?: number;
799
920
  /**
800
- * The minimum backoff for the Pub/Sub push subscription retry policy.
921
+ * The maximum allowed in-flight (concurrent) requests per container.
801
922
  */
802
- readonly minimumBackoff?: string;
803
- [property: string]: any;
923
+ readonly requestConcurrency?: number;
924
+ /**
925
+ * The type of allowed ingress that can reach the container.
926
+ * See https://cloud.google.com/run/docs/securing/ingress#settings for more details.
927
+ */
928
+ readonly ingress?: GoogleCloudRunIngress;
929
+ /**
930
+ * The name of the VPC access connector through which egress traffic should be routed.
931
+ */
932
+ readonly vpcAccessConnector?: string;
933
+ /**
934
+ * The setting for egress traffic that goes through the VPC access connector.
935
+ * See https://cloud.google.com/run/docs/configuring/connecting-vpc#manage for more details.
936
+ */
937
+ readonly vpcAccessConnectorEgressSettings?: GoogleCloudRunVpcAccessConnectorEgressSettings;
938
+ [key: string]: any;
804
939
  }
805
940
  /**
806
- * Google Cloud Scheduler-specific options for the trigger.
941
+ * Configuration for everything Google / GCP-related.
807
942
  */
808
- export declare class ServiceContainerGoogleSchedulerTriggerOptions {
809
- constructor(init: ServiceContainerGoogleSchedulerTriggerOptions);
943
+ export declare class Google {
944
+ constructor(init: Google);
810
945
  /**
811
- * The deadline for job attempts.
946
+ * The ID of the default GCP project used when performing operations.
812
947
  */
813
- readonly attemptDeadline?: string;
948
+ readonly project?: string;
814
949
  /**
815
- * The maximum backoff duration for job retries.
950
+ * The GCP region in which resource should be created and managed.
816
951
  */
817
- readonly maxBackoffDuration?: string;
952
+ readonly region?: string;
818
953
  /**
819
- * The maximum number of times the backoff duration is doubled.
954
+ * The ID of a local GCP project (which does not exist on GCP).
955
+ * This is for example used by emulators. It should usually start with `demo-` to be compatible with some emulators.
820
956
  */
821
- readonly maxDoublings?: number;
957
+ readonly localProject?: string;
822
958
  /**
823
- * The maximum duration for retrying a failed job.
959
+ * The list of GCP services on which the project depends.
960
+ * This is useful to automatically enable those services in the GCP project.
824
961
  */
825
- readonly maxRetryDuration?: string;
962
+ readonly services?: string[];
826
963
  /**
827
- * The minimum backoff duration for job retries.
964
+ * Configuration for the `gcloud` command.
965
+ * This applies to Dockerized calls to `gcloud` using the official `gcloud` Docker image.
828
966
  */
829
- readonly minBackoffDuration?: string;
967
+ readonly gcloud?: GoogleGcloud;
830
968
  /**
831
- * The number of retry attempts for the Cloud Scheduler job.
969
+ * Configuration for the Firebase project.
832
970
  */
833
- readonly retryCount?: number;
834
- [property: string]: any;
835
- }
836
- /**
837
- * The retry policy for the Cloud Tasks queue.
838
- */
839
- export declare class ServiceContainerGoogleTaskTriggerRetryPolicy {
840
- constructor(init: ServiceContainerGoogleTaskTriggerRetryPolicy);
971
+ readonly firebase?: GoogleFirebase;
841
972
  /**
842
- * The maximum number of attempts for a task.
973
+ * Configuration for the Secret Manager service.
843
974
  */
844
- readonly maxAttempts?: number;
975
+ readonly secretManager?: GoogleSecretManager;
845
976
  /**
846
- * The maximum backoff duration for task retries.
977
+ * Configuration for the Firebase Storage service.
847
978
  */
848
- readonly maxBackoff?: string;
979
+ readonly firebaseStorage?: GoogleFirebaseStorage;
849
980
  /**
850
- * The maximum number of times the backoff duration is doubled.
981
+ * Configuration for the Identity Platform (formerly Firebase Auth) service.
851
982
  */
852
- readonly maxDoublings?: number;
983
+ readonly identityPlatform?: GoogleIdentityPlatform;
853
984
  /**
854
- * The maximum duration for retrying a failed task.
985
+ * Configuration for the Firestore service.
855
986
  */
856
- readonly maxRetryDuration?: string;
987
+ readonly firestore?: GoogleFirestore;
857
988
  /**
858
- * The minimum backoff duration for task retries.
989
+ * Configuration for the Pub/Sub service.
859
990
  */
860
- readonly minBackoff?: string;
861
- [property: string]: any;
991
+ readonly pubSub?: GooglePubSub;
992
+ /**
993
+ * Configuration for the Spanner service.
994
+ */
995
+ readonly spanner?: GoogleSpanner;
996
+ /**
997
+ * Configuration for Cloud Functions.
998
+ */
999
+ readonly cloudFunctions?: GoogleCloudFunctions;
1000
+ /**
1001
+ * Configuration for Cloud Run containers.
1002
+ */
1003
+ readonly cloudRun?: GoogleCloudRun;
1004
+ /**
1005
+ * Default configuration for Cloud Scheduler jobs.
1006
+ */
1007
+ readonly scheduler?: GoogleScheduler;
1008
+ /**
1009
+ * Configuration for Google Cloud load balancing.
1010
+ */
1011
+ readonly loadBalancing?: GoogleLoadBalancing;
1012
+ [key: string]: any;
862
1013
  }
863
1014
  /**
864
- * A trigger backed by a Google Eventarc trigger.
1015
+ * The schema for Google / GCP configuration.
865
1016
  */
866
- export declare class ServiceContainerGoogleTrigger {
867
- constructor(init: ServiceContainerGoogleTrigger);
1017
+ export declare class GoogleConfiguration {
1018
+ constructor(init: GoogleConfiguration);
868
1019
  /**
869
- * The type of trigger.
1020
+ * Configuration for everything Google / GCP-related.
870
1021
  */
871
- readonly type: string;
1022
+ readonly google?: Google;
1023
+ [key: string]: any;
1024
+ }
1025
+ export type TemplateString_2 = string;
1026
+ export declare class ServiceContainerGoogleEventarcTriggerFilter {
1027
+ constructor(init: ServiceContainerGoogleEventarcTriggerFilter);
872
1028
  /**
873
- * Google Pub/Sub-specific options for the trigger.
1029
+ * The event attribute to filter on.
874
1030
  */
875
- readonly 'google.pubSub'?: ServiceContainerGooglePubSubTriggerOptions;
1031
+ readonly attribute: string;
876
1032
  /**
877
- * The ID of the topic triggering the endpoint.
1033
+ * The value to match for the attribute.
878
1034
  */
879
- readonly topic?: string;
1035
+ readonly value: TemplateString_2;
880
1036
  /**
881
- * Google Cloud Scheduler-specific options for the trigger.
1037
+ * The operator for matching the filter.
882
1038
  */
883
- readonly 'google.scheduler'?: ServiceContainerGoogleSchedulerTriggerOptions;
1039
+ readonly operator?: string;
1040
+ [key: string]: any;
1041
+ }
1042
+ /**
1043
+ * Google Eventarc-specific options for the trigger.
1044
+ */
1045
+ export declare class ServiceContainerGoogleEventarcTriggerOptions {
1046
+ constructor(init: ServiceContainerGoogleEventarcTriggerOptions);
884
1047
  /**
885
- * The cron schedule expression for cron triggers.
1048
+ * The content type of event data.
886
1049
  */
887
- readonly schedule?: string;
1050
+ readonly contentType: string;
888
1051
  /**
889
- * The timezone for the cron schedule.
1052
+ * The location of the Eventarc trigger.
890
1053
  */
891
- readonly timezone?: string;
1054
+ readonly location?: TemplateString_2;
892
1055
  /**
893
- * The name of the queue for task triggers.
1056
+ * The list of matching criteria for the Eventarc trigger.
894
1057
  */
895
- readonly queue?: string;
1058
+ readonly filters: ServiceContainerGoogleEventarcTriggerFilter[];
1059
+ [key: string]: any;
1060
+ }
1061
+ /**
1062
+ * A trigger backed by a Google Eventarc trigger.
1063
+ */
1064
+ export declare class ServiceContainerGoogleEventarcTrigger {
1065
+ constructor(init: ServiceContainerGoogleEventarcTrigger);
896
1066
  /**
897
- * The retry policy for the Cloud Tasks queue.
1067
+ * The type of trigger.
898
1068
  */
899
- readonly retryPolicy?: ServiceContainerGoogleTaskTriggerRetryPolicy;
1069
+ readonly type: ServiceContainerGoogleEventarcTriggerType;
900
1070
  /**
901
1071
  * Google Eventarc-specific options for the trigger.
902
1072
  */
903
1073
  readonly 'google.eventarc'?: ServiceContainerGoogleEventarcTriggerOptions;
904
- [property: string]: any;
1074
+ [key: string]: any;
905
1075
  }
906
- export declare class ServiceContainer {
907
- constructor(init: ServiceContainer);
908
- readonly outputs?: Outputs;
909
- readonly platform?: string;
1076
+ export type ServiceContainerTrigger = ServiceContainerGenericTrigger | ServiceContainerGooglePubSubTrigger | ServiceContainerGoogleSchedulerTrigger | ServiceContainerGoogleTaskTrigger | ServiceContainerGoogleEventarcTrigger;
1077
+ export declare class GoogleServiceContainer {
1078
+ constructor(init: GoogleServiceContainer);
1079
+ readonly platform?: ServiceContainerPlatform;
910
1080
  /**
911
1081
  * A map of triggers that call the service's endpoints when they occur.
912
1082
  */
913
- readonly triggers?: {
914
- [key: string]: ServiceContainerGoogleTrigger;
915
- };
916
- [property: string]: any;
1083
+ readonly triggers?: Record<string, ServiceContainerTrigger>;
1084
+ readonly outputs?: ServiceContainerOutputs;
1085
+ [key: string]: any;
917
1086
  }
918
1087
  /**
919
1088
  * Google-specific extensions to the service container configuration.
920
1089
  */
921
1090
  export declare class GoogleServiceContainerConfiguration {
922
1091
  constructor(init: GoogleServiceContainerConfiguration);
923
- readonly serviceContainer?: ServiceContainer;
924
- [property: string]: any;
1092
+ readonly serviceContainer?: GoogleServiceContainer;
1093
+ [key: string]: any;
925
1094
  }