@causa/workspace-google 0.12.2 → 0.13.0-rc.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/backfilling/bigquery.d.ts +1 -1
- package/dist/backfilling/pubsub.d.ts +1 -1
- package/dist/backfilling/pubsub.js +1 -1
- package/dist/code-generation/google-firestore-renderer.d.ts +1 -1
- package/dist/code-generation/google-firestore-renderer.js +7 -8
- package/dist/code-generation/google-spanner-renderer.d.ts +1 -1
- package/dist/code-generation/google-spanner-renderer.js +5 -6
- package/dist/code-generation/utils.d.ts +2 -2
- package/dist/code-generation/utils.js +1 -1
- package/dist/configurations/generated.d.ts +741 -0
- package/dist/configurations/generated.js +1347 -0
- package/dist/configurations/index.d.ts +1 -1
- package/dist/configurations/index.js +1 -0
- package/dist/configurations/schemas/google.yaml +466 -0
- package/dist/configurations/schemas/service-container-cloud-run.yaml +212 -0
- package/dist/functions/causa/index.d.ts +1 -0
- package/dist/functions/causa/index.js +1 -0
- package/dist/functions/causa/list-schemas.d.ts +9 -0
- package/dist/functions/causa/list-schemas.js +23 -0
- package/dist/functions/emulator/start-firebase-storage.js +1 -1
- package/dist/functions/emulator/start-firestore.js +1 -1
- package/dist/functions/emulator/start-identity-platform.js +1 -1
- package/dist/functions/emulator/start-pubsub.call.d.ts +4 -0
- package/dist/functions/emulator/start-pubsub.call.js +57 -0
- package/dist/functions/emulator/start-pubsub.d.ts +0 -22
- package/dist/functions/emulator/start-pubsub.js +4 -75
- package/dist/functions/emulator/start-spanner.call.d.ts +4 -0
- package/dist/functions/emulator/start-spanner.call.js +92 -0
- package/dist/functions/emulator/start-spanner.d.ts +0 -38
- package/dist/functions/emulator/start-spanner.js +4 -124
- package/dist/functions/emulator/stop-firebase-storage.js +2 -1
- package/dist/functions/emulator/stop-firestore.js +2 -1
- package/dist/functions/emulator/stop-identity-platform.js +2 -1
- package/dist/functions/emulator/stop-pubsub.js +2 -1
- package/dist/functions/emulator/stop-spanner.js +2 -1
- package/dist/functions/event-topic/broker-create-topic-pubsub.call.d.ts +3 -0
- package/dist/functions/event-topic/broker-create-topic-pubsub.call.js +15 -0
- package/dist/functions/event-topic/broker-create-topic-pubsub.js +2 -14
- package/dist/functions/event-topic/broker-create-trigger-cloud-run.call.d.ts +3 -0
- package/dist/functions/event-topic/broker-create-trigger-cloud-run.call.js +24 -0
- package/dist/functions/event-topic/broker-create-trigger-cloud-run.js +2 -19
- package/dist/functions/event-topic/broker-delete-topic-pubsub.call.d.ts +3 -0
- package/dist/functions/event-topic/broker-delete-topic-pubsub.call.js +15 -0
- package/dist/functions/event-topic/broker-delete-topic-pubsub.js +2 -14
- package/dist/functions/event-topic/broker-delete-trigger-resource-cloud-run-invoker-role.call.d.ts +3 -0
- package/dist/functions/event-topic/broker-delete-trigger-resource-cloud-run-invoker-role.call.js +16 -0
- package/dist/functions/event-topic/broker-delete-trigger-resource-cloud-run-invoker-role.js +2 -11
- package/dist/functions/event-topic/broker-delete-trigger-resource-pubsub-subscription.call.d.ts +3 -0
- package/dist/functions/event-topic/broker-delete-trigger-resource-pubsub-subscription.call.js +16 -0
- package/dist/functions/event-topic/broker-delete-trigger-resource-pubsub-subscription.js +2 -18
- package/dist/functions/event-topic/broker-delete-trigger-resource-service-account.call.d.ts +3 -0
- package/dist/functions/event-topic/broker-delete-trigger-resource-service-account.call.js +15 -0
- package/dist/functions/event-topic/broker-delete-trigger-resource-service-account.js +2 -14
- package/dist/functions/event-topic/broker-publish-events-google.call.d.ts +3 -0
- package/dist/functions/event-topic/broker-publish-events-google.call.js +29 -0
- package/dist/functions/event-topic/broker-publish-events-google.d.ts +0 -7
- package/dist/functions/event-topic/broker-publish-events-google.js +3 -34
- package/dist/functions/google-app-check/generate-token.call.d.ts +3 -0
- package/dist/functions/google-app-check/generate-token.call.js +17 -0
- package/dist/functions/google-app-check/generate-token.js +2 -16
- package/dist/functions/google-identity-platform/generate-custom-token.call.d.ts +3 -0
- package/dist/functions/google-identity-platform/generate-custom-token.call.js +8 -0
- package/dist/functions/google-identity-platform/generate-custom-token.js +2 -7
- package/dist/functions/google-identity-platform/generate-token.call.d.ts +3 -0
- package/dist/functions/google-identity-platform/generate-token.call.js +13 -0
- package/dist/functions/google-identity-platform/generate-token.js +2 -12
- package/dist/functions/google-services/enable.call.d.ts +7 -0
- package/dist/functions/google-services/enable.call.js +35 -0
- package/dist/functions/google-services/enable.js +2 -34
- package/dist/functions/index.js +2 -1
- package/dist/functions/project/push-artefact-cloud-functions.call.d.ts +3 -0
- package/dist/functions/project/push-artefact-cloud-functions.call.js +19 -0
- package/dist/functions/project/push-artefact-cloud-functions.js +3 -18
- package/dist/functions/secret/fetch-access-token.call.d.ts +3 -0
- package/dist/functions/secret/fetch-access-token.call.js +10 -0
- package/dist/functions/secret/fetch-access-token.js +2 -8
- package/dist/functions/secret/fetch-secret-manager.call.d.ts +3 -0
- package/dist/functions/secret/fetch-secret-manager.call.js +32 -0
- package/dist/functions/secret/fetch-secret-manager.js +2 -29
- package/dist/functions/typescript/get-decorator-renderer-google-firestore.d.ts +3 -3
- package/dist/functions/typescript/get-decorator-renderer-google-firestore.js +4 -4
- package/dist/functions/typescript/get-decorator-renderer-google-spanner.d.ts +3 -3
- package/dist/functions/typescript/get-decorator-renderer-google-spanner.js +4 -4
- package/dist/index.d.ts +1 -2
- package/dist/index.js +1 -2
- package/dist/services/firebase-emulator.d.ts +1 -1
- package/dist/services/firebase-emulator.js +1 -1
- package/dist/services/gcloud-emulator.d.ts +1 -1
- package/dist/services/gcloud-emulator.js +1 -1
- package/package.json +14 -11
- package/dist/configurations/google.d.ts +0 -305
- package/dist/configurations/google.js +0 -1
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export
|
|
1
|
+
export { GoogleConfiguration } from './generated.js';
|
|
2
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,212 @@
|
|
|
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
|
+
topic:
|
|
32
|
+
type: string
|
|
33
|
+
description: The ID of the topic triggering the endpoint.
|
|
34
|
+
google.pubSub:
|
|
35
|
+
title: ServiceContainerGooglePubSubTriggerOptions
|
|
36
|
+
type: object
|
|
37
|
+
description: Google Pub/Sub-specific options for the trigger.
|
|
38
|
+
properties:
|
|
39
|
+
minimumBackoff:
|
|
40
|
+
type: string
|
|
41
|
+
description: >-
|
|
42
|
+
The minimum backoff for the Pub/Sub push subscription
|
|
43
|
+
retry policy.
|
|
44
|
+
maximumBackoff:
|
|
45
|
+
type: string
|
|
46
|
+
description: >-
|
|
47
|
+
The maximum backoff for the Pub/Sub push subscription
|
|
48
|
+
retry policy.
|
|
49
|
+
filter:
|
|
50
|
+
type: string
|
|
51
|
+
description: A Pub/Sub filter expression for the subscription.
|
|
52
|
+
required:
|
|
53
|
+
- type
|
|
54
|
+
- topic
|
|
55
|
+
- title: ServiceContainerGoogleSchedulerTrigger
|
|
56
|
+
type: object
|
|
57
|
+
description: A trigger backed by a Google Cloud Scheduler job.
|
|
58
|
+
properties:
|
|
59
|
+
type:
|
|
60
|
+
title: ServiceContainerGoogleSchedulerTriggerType
|
|
61
|
+
type: string
|
|
62
|
+
enum:
|
|
63
|
+
- google.scheduler
|
|
64
|
+
- cron
|
|
65
|
+
description: The type of trigger.
|
|
66
|
+
schedule:
|
|
67
|
+
type: string
|
|
68
|
+
description: The cron schedule expression for cron triggers.
|
|
69
|
+
timezone:
|
|
70
|
+
type: string
|
|
71
|
+
description: The timezone for the cron schedule.
|
|
72
|
+
google.scheduler:
|
|
73
|
+
title: ServiceContainerGoogleSchedulerTriggerOptions
|
|
74
|
+
type: object
|
|
75
|
+
description: Google Cloud Scheduler-specific options for the trigger.
|
|
76
|
+
properties:
|
|
77
|
+
retryCount:
|
|
78
|
+
type: number
|
|
79
|
+
description: >-
|
|
80
|
+
The number of retry attempts for the Cloud Scheduler
|
|
81
|
+
job.
|
|
82
|
+
maxRetryDuration:
|
|
83
|
+
type: string
|
|
84
|
+
description: The maximum duration for retrying a failed job.
|
|
85
|
+
minBackoffDuration:
|
|
86
|
+
type: string
|
|
87
|
+
description: The minimum backoff duration for job retries.
|
|
88
|
+
maxBackoffDuration:
|
|
89
|
+
type: string
|
|
90
|
+
description: The maximum backoff duration for job retries.
|
|
91
|
+
maxDoublings:
|
|
92
|
+
type: number
|
|
93
|
+
description: >-
|
|
94
|
+
The maximum number of times the backoff duration is
|
|
95
|
+
doubled.
|
|
96
|
+
attemptDeadline:
|
|
97
|
+
type: string
|
|
98
|
+
description: The deadline for job attempts.
|
|
99
|
+
required:
|
|
100
|
+
- type
|
|
101
|
+
- schedule
|
|
102
|
+
- title: ServiceContainerGoogleTaskTrigger
|
|
103
|
+
type: object
|
|
104
|
+
description: A trigger backed by a Google Cloud Tasks queue.
|
|
105
|
+
properties:
|
|
106
|
+
type:
|
|
107
|
+
title: ServiceContainerGoogleTaskTriggerType
|
|
108
|
+
type: string
|
|
109
|
+
enum:
|
|
110
|
+
- google.tasks
|
|
111
|
+
- task
|
|
112
|
+
description: The type of trigger.
|
|
113
|
+
queue:
|
|
114
|
+
type: string
|
|
115
|
+
description: The name of the queue for task triggers.
|
|
116
|
+
retryPolicy:
|
|
117
|
+
title: ServiceContainerGoogleTaskTriggerRetryPolicy
|
|
118
|
+
type: object
|
|
119
|
+
description: The retry policy for the Cloud Tasks queue.
|
|
120
|
+
properties:
|
|
121
|
+
maxAttempts:
|
|
122
|
+
type: number
|
|
123
|
+
description: The maximum number of attempts for a task.
|
|
124
|
+
maxRetryDuration:
|
|
125
|
+
type: string
|
|
126
|
+
description: The maximum duration for retrying a failed task.
|
|
127
|
+
minBackoff:
|
|
128
|
+
type: string
|
|
129
|
+
description: The minimum backoff duration for task retries.
|
|
130
|
+
maxBackoff:
|
|
131
|
+
type: string
|
|
132
|
+
description: The maximum backoff duration for task retries.
|
|
133
|
+
maxDoublings:
|
|
134
|
+
type: number
|
|
135
|
+
description: >-
|
|
136
|
+
The maximum number of times the backoff duration is
|
|
137
|
+
doubled.
|
|
138
|
+
required:
|
|
139
|
+
- type
|
|
140
|
+
- queue
|
|
141
|
+
- title: ServiceContainerGoogleEventarcTrigger
|
|
142
|
+
type: object
|
|
143
|
+
description: A trigger backed by a Google Eventarc trigger.
|
|
144
|
+
properties:
|
|
145
|
+
type:
|
|
146
|
+
title: ServiceContainerGoogleEventarcTriggerType
|
|
147
|
+
type: string
|
|
148
|
+
enum:
|
|
149
|
+
- google.eventarc
|
|
150
|
+
description: The type of trigger.
|
|
151
|
+
google.eventarc:
|
|
152
|
+
title: ServiceContainerGoogleEventarcTriggerOptions
|
|
153
|
+
type: object
|
|
154
|
+
description: Google Eventarc-specific options for the trigger.
|
|
155
|
+
properties:
|
|
156
|
+
contentType:
|
|
157
|
+
type: string
|
|
158
|
+
description: The content type of event data.
|
|
159
|
+
location:
|
|
160
|
+
oneOf:
|
|
161
|
+
- $ref: '#/$defs/_TemplateString'
|
|
162
|
+
description: The location of the Eventarc trigger.
|
|
163
|
+
filters:
|
|
164
|
+
type: array
|
|
165
|
+
items:
|
|
166
|
+
title: ServiceContainerGoogleEventarcTriggerFilter
|
|
167
|
+
type: object
|
|
168
|
+
properties:
|
|
169
|
+
attribute:
|
|
170
|
+
type: string
|
|
171
|
+
description: The event attribute to filter on.
|
|
172
|
+
value:
|
|
173
|
+
oneOf:
|
|
174
|
+
- $ref: '#/$defs/_TemplateString'
|
|
175
|
+
description: The value to match for the attribute.
|
|
176
|
+
operator:
|
|
177
|
+
type: string
|
|
178
|
+
description: The operator for matching the filter.
|
|
179
|
+
required:
|
|
180
|
+
- attribute
|
|
181
|
+
- value
|
|
182
|
+
description: The list of matching criteria for the Eventarc trigger.
|
|
183
|
+
required:
|
|
184
|
+
- contentType
|
|
185
|
+
- filters
|
|
186
|
+
required:
|
|
187
|
+
- type
|
|
188
|
+
outputs:
|
|
189
|
+
type: object
|
|
190
|
+
properties:
|
|
191
|
+
google.firestore:
|
|
192
|
+
type: array
|
|
193
|
+
items:
|
|
194
|
+
type: string
|
|
195
|
+
description: The list of Firestore collections this service produces data into.
|
|
196
|
+
google.spanner:
|
|
197
|
+
type: array
|
|
198
|
+
items:
|
|
199
|
+
type: string
|
|
200
|
+
description: |-
|
|
201
|
+
The list of Spanner databases this service produces data into.
|
|
202
|
+
Each entry should be in the format `instance.database`.
|
|
203
|
+
$defs:
|
|
204
|
+
_TemplateString:
|
|
205
|
+
oneOf:
|
|
206
|
+
- type: string
|
|
207
|
+
- type: object
|
|
208
|
+
additionalProperties: false
|
|
209
|
+
properties:
|
|
210
|
+
$format:
|
|
211
|
+
type: string
|
|
212
|
+
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';
|