@webda/gcp 4.0.0-beta.2 → 4.0.0-beta.4
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/README.md +54 -4
- package/lib/index.d.ts +4 -4
- package/lib/index.d.ts.map +1 -1
- package/lib/index.js +4 -4
- package/lib/index.js.map +1 -1
- package/lib/services/firestore.service.d.ts +237 -0
- package/lib/services/firestore.service.d.ts.map +1 -0
- package/lib/services/firestore.service.js +693 -0
- package/lib/services/firestore.service.js.map +1 -0
- package/lib/services/index.d.ts +1 -1
- package/lib/services/index.d.ts.map +1 -1
- package/lib/services/index.js +1 -1
- package/lib/services/index.js.map +1 -1
- package/lib/services/{kms.d.ts → kms.service.d.ts} +14 -15
- package/lib/services/kms.service.d.ts.map +1 -0
- package/lib/services/{kms.js → kms.service.js} +18 -16
- package/lib/services/kms.service.js.map +1 -0
- package/lib/services/{pubsub.d.ts → pubsub.service.d.ts} +23 -4
- package/lib/services/pubsub.service.d.ts.map +1 -0
- package/lib/services/{pubsub.js → pubsub.service.js} +36 -10
- package/lib/services/pubsub.service.js.map +1 -0
- package/lib/services/{queue.d.ts → queue.service.d.ts} +32 -16
- package/lib/services/queue.service.d.ts.map +1 -0
- package/lib/services/{queue.js → queue.service.js} +63 -32
- package/lib/services/queue.service.js.map +1 -0
- package/lib/services/storage.service.d.ts +268 -0
- package/lib/services/storage.service.d.ts.map +1 -0
- package/lib/services/{storage.js → storage.service.js} +116 -69
- package/lib/services/storage.service.js.map +1 -0
- package/package.json +33 -43
- package/webda.module.json +1122 -1440
- package/lib/index.spec.d.ts +0 -5
- package/lib/index.spec.d.ts.map +0 -1
- package/lib/index.spec.js +0 -7
- package/lib/index.spec.js.map +0 -1
- package/lib/services/firestore.d.ts +0 -135
- package/lib/services/firestore.d.ts.map +0 -1
- package/lib/services/firestore.js +0 -423
- package/lib/services/firestore.js.map +0 -1
- package/lib/services/firestore.spec.d.ts +0 -2
- package/lib/services/firestore.spec.d.ts.map +0 -1
- package/lib/services/firestore.spec.js +0 -187
- package/lib/services/firestore.spec.js.map +0 -1
- package/lib/services/kms.d.ts.map +0 -1
- package/lib/services/kms.js.map +0 -1
- package/lib/services/kms.spec.d.ts +0 -2
- package/lib/services/kms.spec.d.ts.map +0 -1
- package/lib/services/kms.spec.js +0 -53
- package/lib/services/kms.spec.js.map +0 -1
- package/lib/services/pubsub.d.ts.map +0 -1
- package/lib/services/pubsub.js.map +0 -1
- package/lib/services/pubsub.spec.d.ts +0 -2
- package/lib/services/pubsub.spec.d.ts.map +0 -1
- package/lib/services/pubsub.spec.js +0 -95
- package/lib/services/pubsub.spec.js.map +0 -1
- package/lib/services/queue.d.ts.map +0 -1
- package/lib/services/queue.js.map +0 -1
- package/lib/services/queue.spec.d.ts +0 -2
- package/lib/services/queue.spec.d.ts.map +0 -1
- package/lib/services/queue.spec.js +0 -117
- package/lib/services/queue.spec.js.map +0 -1
- package/lib/services/storage.d.ts +0 -215
- package/lib/services/storage.d.ts.map +0 -1
- package/lib/services/storage.js.map +0 -1
- package/lib/services/storage.spec.d.ts +0 -2
- package/lib/services/storage.spec.d.ts.map +0 -1
- package/lib/services/storage.spec.js +0 -224
- package/lib/services/storage.spec.js.map +0 -1
package/webda.module.json
CHANGED
|
@@ -1,1521 +1,1203 @@
|
|
|
1
1
|
{
|
|
2
|
+
"$schema": "https://webda.io/schemas/webda.module.v4.json",
|
|
2
3
|
"beans": {},
|
|
3
4
|
"deployers": {},
|
|
4
5
|
"moddas": {
|
|
5
|
-
"Webda/GoogleCloudFireStore": "lib/services/firestore:default",
|
|
6
|
-
"Webda/GoogleCloudKMS": "lib/services/kms:GCPKMSService",
|
|
7
|
-
"Webda/GoogleCloudPubSub": "lib/services/pubsub:default",
|
|
8
|
-
"Webda/GoogleCloudQueue": "lib/services/queue:default",
|
|
9
|
-
"Webda/GoogleCloudStorage": "lib/services/storage:default"
|
|
10
|
-
},
|
|
11
|
-
"models": {
|
|
12
|
-
"graph": {},
|
|
13
|
-
"tree": {},
|
|
14
|
-
"plurals": {},
|
|
15
|
-
"list": {},
|
|
16
|
-
"reflections": {}
|
|
17
|
-
},
|
|
18
|
-
"schemas": {
|
|
19
|
-
"Webda/BinaryFile": {
|
|
20
|
-
"type": "object",
|
|
21
|
-
"properties": {
|
|
22
|
-
"hash": {
|
|
23
|
-
"type": "string",
|
|
24
|
-
"description": "Will be computed by the service\n\nhash of the content"
|
|
25
|
-
},
|
|
26
|
-
"challenge": {
|
|
27
|
-
"type": "string",
|
|
28
|
-
"description": "Will be computed by the service\n\nhash of the content prefixed by 'WEBDA'"
|
|
29
|
-
},
|
|
30
|
-
"size": {
|
|
31
|
-
"type": "number",
|
|
32
|
-
"description": "Size of the binary"
|
|
33
|
-
},
|
|
34
|
-
"name": {
|
|
35
|
-
"type": "string",
|
|
36
|
-
"description": "Current name"
|
|
37
|
-
},
|
|
38
|
-
"mimetype": {
|
|
39
|
-
"type": "string",
|
|
40
|
-
"description": "Mimetype of the binary"
|
|
41
|
-
},
|
|
42
|
-
"metadata": {
|
|
43
|
-
"description": "Metadatas stored along with the binary"
|
|
44
|
-
},
|
|
45
|
-
"originalname": {
|
|
46
|
-
"type": "string",
|
|
47
|
-
"description": "Original name"
|
|
48
|
-
}
|
|
49
|
-
},
|
|
50
|
-
"required": [
|
|
51
|
-
"mimetype",
|
|
52
|
-
"name",
|
|
53
|
-
"size"
|
|
54
|
-
],
|
|
55
|
-
"description": "Represent a file to store",
|
|
56
|
-
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
57
|
-
"title": "BinaryFile"
|
|
58
|
-
},
|
|
59
6
|
"Webda/GoogleCloudFireStore": {
|
|
60
|
-
"
|
|
61
|
-
"
|
|
62
|
-
"
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
"additionalModels": {
|
|
76
|
-
"type": "array",
|
|
77
|
-
"items": {
|
|
78
|
-
"type": "string"
|
|
7
|
+
"Import": "lib/services/firestore.service:default",
|
|
8
|
+
"Schema": {
|
|
9
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
10
|
+
"additionalProperties": false,
|
|
11
|
+
"definitions": {
|
|
12
|
+
"FireStoreIndex": {
|
|
13
|
+
"additionalProperties": {
|
|
14
|
+
"enum": [
|
|
15
|
+
"asc",
|
|
16
|
+
"desc"
|
|
17
|
+
],
|
|
18
|
+
"type": "string"
|
|
19
|
+
},
|
|
20
|
+
"description": "Definition of a FireStore index",
|
|
21
|
+
"type": "object"
|
|
79
22
|
},
|
|
80
|
-
"
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
"type": "boolean",
|
|
95
|
-
"description": "If set, Store will ignore the __type",
|
|
96
|
-
"default": false
|
|
97
|
-
},
|
|
98
|
-
"slowQueryThreshold": {
|
|
99
|
-
"type": "number",
|
|
100
|
-
"description": "Slow query threshold",
|
|
101
|
-
"default": 30000
|
|
23
|
+
"collections": {
|
|
24
|
+
"additionalProperties": {
|
|
25
|
+
"type": "string"
|
|
26
|
+
},
|
|
27
|
+
"description": "Per-model collection overrides.\nMaps a model identifier (e.g. \"Webda/User\") to a collection name.\nWhen not specified, the first model uses `collection` and others use their identifier\nlowercased with \"/\" replaced by \"_\".",
|
|
28
|
+
"type": "object"
|
|
29
|
+
},
|
|
30
|
+
"modelAliases": {
|
|
31
|
+
"additionalProperties": {
|
|
32
|
+
"type": "string"
|
|
33
|
+
},
|
|
34
|
+
"description": "Model Aliases to allow easier rename of Model",
|
|
35
|
+
"type": "object"
|
|
36
|
+
}
|
|
102
37
|
},
|
|
103
|
-
"
|
|
104
|
-
|
|
105
|
-
"
|
|
38
|
+
"description": "Firebase parameters",
|
|
39
|
+
"properties": {
|
|
40
|
+
"collection": {
|
|
41
|
+
"description": "Collection to use",
|
|
106
42
|
"type": "string"
|
|
107
43
|
},
|
|
108
|
-
"
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
"type": "boolean",
|
|
112
|
-
"description": "Disable default memory cache"
|
|
113
|
-
},
|
|
114
|
-
"collection": {
|
|
115
|
-
"type": "string",
|
|
116
|
-
"description": "Collection to use"
|
|
117
|
-
},
|
|
118
|
-
"compoundIndexes": {
|
|
119
|
-
"type": "array",
|
|
120
|
-
"items": {
|
|
121
|
-
"$ref": "#/definitions/FireStoreIndex"
|
|
44
|
+
"collections": {
|
|
45
|
+
"$ref": "#/definitions/collections",
|
|
46
|
+
"description": "Per-model collection overrides.\nMaps a model identifier (e.g. \"Webda/User\") to a collection name.\nWhen not specified, the first model uses `collection` and others use their identifier\nlowercased with \"/\" replaced by \"_\"."
|
|
122
47
|
},
|
|
123
|
-
"
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
"required": [
|
|
131
|
-
"collection",
|
|
132
|
-
"compoundIndexes",
|
|
133
|
-
"slowQueryThreshold",
|
|
134
|
-
"type"
|
|
135
|
-
],
|
|
136
|
-
"description": "Firebase parameters",
|
|
137
|
-
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
138
|
-
"definitions": {
|
|
139
|
-
"FireStoreIndex": {
|
|
140
|
-
"type": "object",
|
|
141
|
-
"additionalProperties": {
|
|
142
|
-
"type": "string",
|
|
143
|
-
"enum": [
|
|
144
|
-
"asc",
|
|
145
|
-
"desc"
|
|
146
|
-
]
|
|
48
|
+
"compoundIndexes": {
|
|
49
|
+
"description": "To allow efficient query on several fields",
|
|
50
|
+
"items": {
|
|
51
|
+
"$ref": "#/definitions/FireStoreIndex"
|
|
52
|
+
},
|
|
53
|
+
"see": "https://firebase.google.com/docs/firestore/query-data/queries",
|
|
54
|
+
"type": "array"
|
|
147
55
|
},
|
|
148
|
-
"
|
|
149
|
-
|
|
56
|
+
"defaultModel": {
|
|
57
|
+
"default": true,
|
|
58
|
+
"description": "When __type model not found, use the model\nIf strict is setup this parameter is not used",
|
|
59
|
+
"type": "boolean"
|
|
60
|
+
},
|
|
61
|
+
"forceModel": {
|
|
62
|
+
"default": false,
|
|
63
|
+
"description": "If set, Store will ignore the __type",
|
|
64
|
+
"type": "boolean"
|
|
65
|
+
},
|
|
66
|
+
"modelAliases": {
|
|
67
|
+
"$ref": "#/definitions/modelAliases",
|
|
68
|
+
"description": "Model Aliases to allow easier rename of Model"
|
|
69
|
+
},
|
|
70
|
+
"models": {
|
|
71
|
+
"default": [
|
|
72
|
+
"Webda/RegistryEntry"
|
|
73
|
+
],
|
|
74
|
+
"description": "Models managed by this Store.",
|
|
75
|
+
"items": {
|
|
76
|
+
"type": "string"
|
|
77
|
+
},
|
|
78
|
+
"type": "array"
|
|
79
|
+
},
|
|
80
|
+
"noCache": {
|
|
81
|
+
"default": false,
|
|
82
|
+
"description": "Disable default memory cache",
|
|
83
|
+
"type": "boolean"
|
|
84
|
+
},
|
|
85
|
+
"slowQueryThreshold": {
|
|
86
|
+
"default": 30000,
|
|
87
|
+
"description": "Slow query threshold",
|
|
88
|
+
"type": "number"
|
|
89
|
+
},
|
|
90
|
+
"strict": {
|
|
91
|
+
"default": false,
|
|
92
|
+
"description": "Allow to load object that does not have the type data\n\nIf set to true, then the Store will only managed the defined _model and no\nmodel extending this one",
|
|
93
|
+
"type": "boolean"
|
|
94
|
+
},
|
|
95
|
+
"type": {
|
|
96
|
+
"description": "Type of the service",
|
|
97
|
+
"type": "string"
|
|
98
|
+
},
|
|
99
|
+
"openapi": {
|
|
100
|
+
"type": "object",
|
|
101
|
+
"additionalProperties": true
|
|
102
|
+
}
|
|
103
|
+
},
|
|
104
|
+
"required": [
|
|
105
|
+
"collection",
|
|
106
|
+
"type"
|
|
107
|
+
],
|
|
108
|
+
"type": "object",
|
|
109
|
+
"title": "FireStore"
|
|
150
110
|
},
|
|
151
|
-
"
|
|
111
|
+
"Configuration": "lib/services/firestore.service:FireStoreParameters"
|
|
152
112
|
},
|
|
153
113
|
"Webda/GoogleCloudKMS": {
|
|
154
|
-
"
|
|
155
|
-
"
|
|
156
|
-
"
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
"type":
|
|
166
|
-
|
|
167
|
-
|
|
114
|
+
"Import": "lib/services/kms.service:GCPKMSService",
|
|
115
|
+
"Schema": {
|
|
116
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
117
|
+
"additionalProperties": false,
|
|
118
|
+
"description": "Parameters for the KMS Service",
|
|
119
|
+
"properties": {
|
|
120
|
+
"defaultKey": {
|
|
121
|
+
"default": "WEBDA_GCP_KMS_KEY env variable",
|
|
122
|
+
"description": "Encryption key to use by default",
|
|
123
|
+
"type": "string"
|
|
124
|
+
},
|
|
125
|
+
"type": {
|
|
126
|
+
"description": "Type of the service",
|
|
127
|
+
"type": "string"
|
|
128
|
+
},
|
|
129
|
+
"openapi": {
|
|
130
|
+
"type": "object",
|
|
131
|
+
"additionalProperties": true
|
|
132
|
+
}
|
|
168
133
|
},
|
|
169
|
-
"
|
|
170
|
-
"type"
|
|
171
|
-
|
|
172
|
-
|
|
134
|
+
"required": [
|
|
135
|
+
"type"
|
|
136
|
+
],
|
|
137
|
+
"type": "object",
|
|
138
|
+
"title": "GCPKMSService"
|
|
173
139
|
},
|
|
174
|
-
"
|
|
175
|
-
"type"
|
|
176
|
-
],
|
|
177
|
-
"description": "Parameters for the KMS Service",
|
|
178
|
-
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
179
|
-
"title": "GCPKMSService"
|
|
140
|
+
"Configuration": "lib/services/kms.service:KMSServiceParameters"
|
|
180
141
|
},
|
|
181
142
|
"Webda/GoogleCloudPubSub": {
|
|
182
|
-
"
|
|
183
|
-
"
|
|
184
|
-
"
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
"gaxOpts": {
|
|
215
|
-
"type": "object",
|
|
216
|
-
"properties": {
|
|
217
|
-
"timeout": {
|
|
218
|
-
"type": "number"
|
|
219
|
-
},
|
|
220
|
-
"retry": {
|
|
221
|
-
"anyOf": [
|
|
222
|
-
{
|
|
223
|
-
"$ref": "#/definitions/Partial%3Cclass-657338214-822-3488-657338214-0-17392%3E"
|
|
224
|
-
},
|
|
225
|
-
{
|
|
226
|
-
"type": "null"
|
|
227
|
-
}
|
|
228
|
-
]
|
|
229
|
-
},
|
|
230
|
-
"autoPaginate": {
|
|
231
|
-
"type": "boolean"
|
|
232
|
-
},
|
|
233
|
-
"maxResults": {
|
|
234
|
-
"type": "number"
|
|
235
|
-
},
|
|
236
|
-
"maxRetries": {
|
|
237
|
-
"type": "number"
|
|
238
|
-
},
|
|
239
|
-
"otherArgs": {
|
|
240
|
-
"type": "object"
|
|
241
|
-
},
|
|
242
|
-
"bundleOptions": {
|
|
243
|
-
"anyOf": [
|
|
244
|
-
{
|
|
245
|
-
"type": "object",
|
|
246
|
-
"properties": {
|
|
247
|
-
"elementCountLimit": {
|
|
248
|
-
"type": "number"
|
|
249
|
-
},
|
|
250
|
-
"requestByteLimit": {
|
|
251
|
-
"type": "number"
|
|
252
|
-
},
|
|
253
|
-
"elementCountThreshold": {
|
|
254
|
-
"type": "number"
|
|
255
|
-
},
|
|
256
|
-
"requestByteThreshold": {
|
|
257
|
-
"type": "number"
|
|
258
|
-
},
|
|
259
|
-
"delayThreshold": {
|
|
260
|
-
"type": "number"
|
|
261
|
-
}
|
|
262
|
-
}
|
|
263
|
-
},
|
|
264
|
-
{
|
|
265
|
-
"type": "null"
|
|
266
|
-
}
|
|
267
|
-
]
|
|
268
|
-
},
|
|
269
|
-
"isBundling": {
|
|
270
|
-
"type": "boolean"
|
|
271
|
-
},
|
|
272
|
-
"longrunning": {
|
|
273
|
-
"type": "object",
|
|
274
|
-
"properties": {
|
|
275
|
-
"maxRetries": {
|
|
276
|
-
"type": "number"
|
|
277
|
-
},
|
|
278
|
-
"initialRetryDelayMillis": {
|
|
279
|
-
"type": "number"
|
|
280
|
-
},
|
|
281
|
-
"retryDelayMultiplier": {
|
|
282
|
-
"type": "number"
|
|
283
|
-
},
|
|
284
|
-
"maxRetryDelayMillis": {
|
|
285
|
-
"type": "number"
|
|
286
|
-
},
|
|
287
|
-
"initialRpcTimeoutMillis": {
|
|
288
|
-
"type": [
|
|
289
|
-
"number",
|
|
290
|
-
"null"
|
|
291
|
-
]
|
|
292
|
-
},
|
|
293
|
-
"maxRpcTimeoutMillis": {
|
|
294
|
-
"type": [
|
|
295
|
-
"number",
|
|
296
|
-
"null"
|
|
297
|
-
]
|
|
298
|
-
},
|
|
299
|
-
"totalTimeoutMillis": {
|
|
300
|
-
"type": [
|
|
301
|
-
"number",
|
|
302
|
-
"null"
|
|
303
|
-
]
|
|
304
|
-
},
|
|
305
|
-
"rpcTimeoutMultiplier": {
|
|
306
|
-
"type": [
|
|
307
|
-
"number",
|
|
308
|
-
"null"
|
|
309
|
-
]
|
|
310
|
-
}
|
|
311
|
-
},
|
|
312
|
-
"required": [
|
|
313
|
-
"initialRetryDelayMillis",
|
|
314
|
-
"retryDelayMultiplier",
|
|
315
|
-
"maxRetryDelayMillis"
|
|
316
|
-
]
|
|
317
|
-
},
|
|
318
|
-
"apiName": {
|
|
319
|
-
"type": "string"
|
|
320
|
-
},
|
|
321
|
-
"retryRequestOptions": {
|
|
322
|
-
"type": "object",
|
|
323
|
-
"properties": {
|
|
324
|
-
"objectMode": {
|
|
325
|
-
"type": "boolean"
|
|
326
|
-
},
|
|
327
|
-
"request": {},
|
|
328
|
-
"retries": {
|
|
329
|
-
"type": "number"
|
|
330
|
-
},
|
|
331
|
-
"noResponseRetries": {
|
|
332
|
-
"type": "number"
|
|
333
|
-
},
|
|
334
|
-
"currentRetryAttempt": {
|
|
335
|
-
"type": "number"
|
|
336
|
-
},
|
|
337
|
-
"shouldRetryFn": {},
|
|
338
|
-
"maxRetryDelay": {
|
|
339
|
-
"type": "number"
|
|
340
|
-
},
|
|
341
|
-
"retryDelayMultiplier": {
|
|
342
|
-
"type": "number"
|
|
343
|
-
},
|
|
344
|
-
"totalTimeout": {
|
|
345
|
-
"type": "number"
|
|
346
|
-
}
|
|
347
|
-
}
|
|
348
|
-
}
|
|
143
|
+
"Import": "lib/services/pubsub.service:default",
|
|
144
|
+
"Schema": {
|
|
145
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
146
|
+
"additionalProperties": false,
|
|
147
|
+
"definitions": {
|
|
148
|
+
"BackoffSettings": {
|
|
149
|
+
"additionalProperties": false,
|
|
150
|
+
"description": "Parameters to the exponential backoff algorithm for retrying.",
|
|
151
|
+
"properties": {
|
|
152
|
+
"initialRetryDelayMillis": {
|
|
153
|
+
"type": "number"
|
|
154
|
+
},
|
|
155
|
+
"initialRpcTimeoutMillis": {
|
|
156
|
+
"type": "number"
|
|
157
|
+
},
|
|
158
|
+
"maxRetries": {
|
|
159
|
+
"type": "number"
|
|
160
|
+
},
|
|
161
|
+
"maxRetryDelayMillis": {
|
|
162
|
+
"type": "number"
|
|
163
|
+
},
|
|
164
|
+
"maxRpcTimeoutMillis": {
|
|
165
|
+
"type": "number"
|
|
166
|
+
},
|
|
167
|
+
"retryDelayMultiplier": {
|
|
168
|
+
"type": "number"
|
|
169
|
+
},
|
|
170
|
+
"rpcTimeoutMultiplier": {
|
|
171
|
+
"type": "number"
|
|
172
|
+
},
|
|
173
|
+
"totalTimeoutMillis": {
|
|
174
|
+
"type": "number"
|
|
349
175
|
}
|
|
350
176
|
},
|
|
351
|
-
"
|
|
352
|
-
"
|
|
353
|
-
"
|
|
354
|
-
|
|
355
|
-
|
|
356
|
-
|
|
357
|
-
|
|
358
|
-
|
|
359
|
-
|
|
360
|
-
|
|
361
|
-
|
|
362
|
-
|
|
363
|
-
"
|
|
364
|
-
|
|
365
|
-
|
|
366
|
-
"
|
|
367
|
-
|
|
368
|
-
|
|
369
|
-
|
|
177
|
+
"required": [
|
|
178
|
+
"initialRetryDelayMillis",
|
|
179
|
+
"maxRetryDelayMillis",
|
|
180
|
+
"retryDelayMultiplier"
|
|
181
|
+
],
|
|
182
|
+
"type": "object"
|
|
183
|
+
},
|
|
184
|
+
"BundleOptions": {
|
|
185
|
+
"additionalProperties": false,
|
|
186
|
+
"description": "Parameter to configure bundling behavior.",
|
|
187
|
+
"properties": {
|
|
188
|
+
"delayThreshold": {
|
|
189
|
+
"type": "number"
|
|
190
|
+
},
|
|
191
|
+
"elementCountLimit": {
|
|
192
|
+
"type": "number"
|
|
193
|
+
},
|
|
194
|
+
"elementCountThreshold": {
|
|
195
|
+
"type": "number"
|
|
196
|
+
},
|
|
197
|
+
"requestByteLimit": {
|
|
198
|
+
"type": "number"
|
|
199
|
+
},
|
|
200
|
+
"requestByteThreshold": {
|
|
201
|
+
"type": "number"
|
|
370
202
|
}
|
|
371
203
|
},
|
|
372
|
-
"
|
|
373
|
-
|
|
374
|
-
|
|
375
|
-
|
|
376
|
-
|
|
377
|
-
"
|
|
204
|
+
"type": "object"
|
|
205
|
+
},
|
|
206
|
+
"CallOptions": {
|
|
207
|
+
"additionalProperties": false,
|
|
208
|
+
"properties": {
|
|
209
|
+
"apiName": {
|
|
210
|
+
"type": "string"
|
|
211
|
+
},
|
|
212
|
+
"autoPaginate": {
|
|
213
|
+
"default": false,
|
|
214
|
+
"type": "boolean"
|
|
215
|
+
},
|
|
216
|
+
"bundleOptions": {
|
|
217
|
+
"$ref": "#/definitions/BundleOptions"
|
|
218
|
+
},
|
|
219
|
+
"isBundling": {
|
|
220
|
+
"default": false,
|
|
221
|
+
"type": "boolean"
|
|
222
|
+
},
|
|
223
|
+
"longrunning": {
|
|
224
|
+
"$ref": "#/definitions/BackoffSettings"
|
|
225
|
+
},
|
|
226
|
+
"maxResults": {
|
|
227
|
+
"type": "number"
|
|
228
|
+
},
|
|
229
|
+
"maxRetries": {
|
|
230
|
+
"type": "number"
|
|
231
|
+
},
|
|
232
|
+
"otherArgs": {
|
|
233
|
+
"$ref": "#/definitions/subscriptionOptions%263%24gaxOpts%24otherArgs"
|
|
234
|
+
},
|
|
235
|
+
"retry": {
|
|
236
|
+
"$ref": "#/definitions/Partial%3CRetryOptions%3E"
|
|
237
|
+
},
|
|
238
|
+
"retryRequestOptions": {
|
|
239
|
+
"$ref": "#/definitions/RetryRequestOptions"
|
|
240
|
+
},
|
|
241
|
+
"timeout": {
|
|
242
|
+
"type": "number"
|
|
243
|
+
}
|
|
378
244
|
},
|
|
379
|
-
"
|
|
380
|
-
|
|
381
|
-
|
|
382
|
-
|
|
383
|
-
|
|
384
|
-
"
|
|
245
|
+
"type": "object"
|
|
246
|
+
},
|
|
247
|
+
"FlowControlOptions": {
|
|
248
|
+
"additionalProperties": false,
|
|
249
|
+
"properties": {
|
|
250
|
+
"allowExcessMessages": {
|
|
251
|
+
"default": false,
|
|
252
|
+
"type": "boolean"
|
|
253
|
+
},
|
|
254
|
+
"maxBytes": {
|
|
255
|
+
"type": "number"
|
|
256
|
+
},
|
|
257
|
+
"maxMessages": {
|
|
258
|
+
"type": "number"
|
|
259
|
+
}
|
|
385
260
|
},
|
|
386
|
-
"
|
|
387
|
-
|
|
388
|
-
|
|
389
|
-
|
|
390
|
-
|
|
391
|
-
|
|
392
|
-
|
|
393
|
-
|
|
394
|
-
|
|
395
|
-
|
|
396
|
-
|
|
397
|
-
|
|
398
|
-
|
|
399
|
-
|
|
400
|
-
|
|
401
|
-
|
|
402
|
-
|
|
403
|
-
|
|
404
|
-
}
|
|
405
|
-
},
|
|
406
|
-
{
|
|
407
|
-
"type": "null"
|
|
408
|
-
}
|
|
409
|
-
],
|
|
410
|
-
"description": "PushConfig attributes"
|
|
411
|
-
},
|
|
412
|
-
"oidcToken": {
|
|
413
|
-
"anyOf": [
|
|
414
|
-
{
|
|
415
|
-
"type": "object",
|
|
416
|
-
"properties": {
|
|
417
|
-
"serviceAccountEmail": {
|
|
418
|
-
"type": [
|
|
419
|
-
"string",
|
|
420
|
-
"null"
|
|
421
|
-
],
|
|
422
|
-
"description": "OidcToken serviceAccountEmail"
|
|
423
|
-
},
|
|
424
|
-
"audience": {
|
|
425
|
-
"type": [
|
|
426
|
-
"string",
|
|
427
|
-
"null"
|
|
428
|
-
],
|
|
429
|
-
"description": "OidcToken audience"
|
|
430
|
-
}
|
|
431
|
-
},
|
|
432
|
-
"description": "Properties of an OidcToken."
|
|
433
|
-
},
|
|
434
|
-
{
|
|
435
|
-
"type": "null"
|
|
436
|
-
}
|
|
437
|
-
],
|
|
438
|
-
"description": "PushConfig oidcToken"
|
|
439
|
-
},
|
|
440
|
-
"pubsubWrapper": {
|
|
441
|
-
"anyOf": [
|
|
442
|
-
{
|
|
443
|
-
"type": "object",
|
|
444
|
-
"description": "Properties of a PubsubWrapper."
|
|
445
|
-
},
|
|
446
|
-
{
|
|
447
|
-
"type": "null"
|
|
448
|
-
}
|
|
449
|
-
],
|
|
450
|
-
"description": "PushConfig pubsubWrapper"
|
|
451
|
-
},
|
|
452
|
-
"noWrapper": {
|
|
453
|
-
"anyOf": [
|
|
454
|
-
{
|
|
455
|
-
"type": "object",
|
|
456
|
-
"properties": {
|
|
457
|
-
"writeMetadata": {
|
|
458
|
-
"type": [
|
|
459
|
-
"boolean",
|
|
460
|
-
"null"
|
|
461
|
-
],
|
|
462
|
-
"description": "NoWrapper writeMetadata"
|
|
463
|
-
}
|
|
464
|
-
},
|
|
465
|
-
"description": "Properties of a NoWrapper."
|
|
466
|
-
},
|
|
467
|
-
{
|
|
468
|
-
"type": "null"
|
|
469
|
-
}
|
|
470
|
-
],
|
|
471
|
-
"description": "PushConfig noWrapper"
|
|
472
|
-
}
|
|
473
|
-
},
|
|
474
|
-
"description": "Properties of a PushConfig."
|
|
475
|
-
},
|
|
476
|
-
{
|
|
477
|
-
"type": "null"
|
|
478
|
-
}
|
|
479
|
-
],
|
|
480
|
-
"description": "Subscription pushConfig"
|
|
261
|
+
"type": "object"
|
|
262
|
+
},
|
|
263
|
+
"IAIInference": {
|
|
264
|
+
"additionalProperties": false,
|
|
265
|
+
"description": "Properties of a AIInference.",
|
|
266
|
+
"properties": {
|
|
267
|
+
"endpoint": {
|
|
268
|
+
"description": "AIInference endpoint",
|
|
269
|
+
"type": "string"
|
|
270
|
+
},
|
|
271
|
+
"serviceAccountEmail": {
|
|
272
|
+
"description": "AIInference serviceAccountEmail",
|
|
273
|
+
"type": "string"
|
|
274
|
+
},
|
|
275
|
+
"unstructuredInference": {
|
|
276
|
+
"$ref": "#/definitions/IUnstructuredInference",
|
|
277
|
+
"description": "AIInference unstructuredInference"
|
|
278
|
+
}
|
|
481
279
|
},
|
|
482
|
-
"
|
|
483
|
-
|
|
484
|
-
|
|
485
|
-
|
|
486
|
-
|
|
487
|
-
|
|
488
|
-
|
|
489
|
-
|
|
490
|
-
|
|
491
|
-
|
|
492
|
-
|
|
493
|
-
|
|
494
|
-
|
|
495
|
-
|
|
496
|
-
"boolean",
|
|
497
|
-
"null"
|
|
498
|
-
],
|
|
499
|
-
"description": "BigQueryConfig useTopicSchema"
|
|
500
|
-
},
|
|
501
|
-
"writeMetadata": {
|
|
502
|
-
"type": [
|
|
503
|
-
"boolean",
|
|
504
|
-
"null"
|
|
505
|
-
],
|
|
506
|
-
"description": "BigQueryConfig writeMetadata"
|
|
507
|
-
},
|
|
508
|
-
"dropUnknownFields": {
|
|
509
|
-
"type": [
|
|
510
|
-
"boolean",
|
|
511
|
-
"null"
|
|
512
|
-
],
|
|
513
|
-
"description": "BigQueryConfig dropUnknownFields"
|
|
514
|
-
},
|
|
515
|
-
"state": {
|
|
516
|
-
"anyOf": [
|
|
517
|
-
{
|
|
518
|
-
"$ref": "#/definitions/google.pubsub.v1.BigQueryConfig.State"
|
|
519
|
-
},
|
|
520
|
-
{
|
|
521
|
-
"type": "string",
|
|
522
|
-
"const": "STATE_UNSPECIFIED"
|
|
523
|
-
},
|
|
524
|
-
{
|
|
525
|
-
"type": "string",
|
|
526
|
-
"const": "ACTIVE"
|
|
527
|
-
},
|
|
528
|
-
{
|
|
529
|
-
"type": "string",
|
|
530
|
-
"const": "PERMISSION_DENIED"
|
|
531
|
-
},
|
|
532
|
-
{
|
|
533
|
-
"type": "string",
|
|
534
|
-
"const": "NOT_FOUND"
|
|
535
|
-
},
|
|
536
|
-
{
|
|
537
|
-
"type": "string",
|
|
538
|
-
"const": "SCHEMA_MISMATCH"
|
|
539
|
-
},
|
|
540
|
-
{
|
|
541
|
-
"type": "string",
|
|
542
|
-
"const": "IN_TRANSIT_LOCATION_RESTRICTION"
|
|
543
|
-
},
|
|
544
|
-
{
|
|
545
|
-
"type": "null"
|
|
546
|
-
}
|
|
547
|
-
],
|
|
548
|
-
"description": "BigQueryConfig state"
|
|
549
|
-
},
|
|
550
|
-
"useTableSchema": {
|
|
551
|
-
"type": [
|
|
552
|
-
"boolean",
|
|
553
|
-
"null"
|
|
554
|
-
],
|
|
555
|
-
"description": "BigQueryConfig useTableSchema"
|
|
556
|
-
},
|
|
557
|
-
"serviceAccountEmail": {
|
|
558
|
-
"type": [
|
|
559
|
-
"string",
|
|
560
|
-
"null"
|
|
561
|
-
],
|
|
562
|
-
"description": "BigQueryConfig serviceAccountEmail"
|
|
563
|
-
}
|
|
564
|
-
},
|
|
565
|
-
"description": "Properties of a BigQueryConfig."
|
|
566
|
-
},
|
|
567
|
-
{
|
|
568
|
-
"type": "null"
|
|
569
|
-
}
|
|
570
|
-
],
|
|
571
|
-
"description": "Subscription bigqueryConfig"
|
|
280
|
+
"type": "object"
|
|
281
|
+
},
|
|
282
|
+
"IAnalyticsHubSubscriptionInfo": {
|
|
283
|
+
"additionalProperties": false,
|
|
284
|
+
"description": "Properties of an AnalyticsHubSubscriptionInfo.",
|
|
285
|
+
"properties": {
|
|
286
|
+
"listing": {
|
|
287
|
+
"description": "AnalyticsHubSubscriptionInfo listing",
|
|
288
|
+
"type": "string"
|
|
289
|
+
},
|
|
290
|
+
"subscription": {
|
|
291
|
+
"description": "AnalyticsHubSubscriptionInfo subscription",
|
|
292
|
+
"type": "string"
|
|
293
|
+
}
|
|
572
294
|
},
|
|
573
|
-
"
|
|
574
|
-
|
|
575
|
-
|
|
576
|
-
|
|
577
|
-
|
|
578
|
-
|
|
579
|
-
|
|
580
|
-
|
|
581
|
-
|
|
582
|
-
|
|
583
|
-
|
|
584
|
-
|
|
585
|
-
|
|
586
|
-
|
|
587
|
-
|
|
588
|
-
|
|
589
|
-
],
|
|
590
|
-
"description": "CloudStorageConfig filenamePrefix"
|
|
591
|
-
},
|
|
592
|
-
"filenameSuffix": {
|
|
593
|
-
"type": [
|
|
594
|
-
"string",
|
|
595
|
-
"null"
|
|
596
|
-
],
|
|
597
|
-
"description": "CloudStorageConfig filenameSuffix"
|
|
598
|
-
},
|
|
599
|
-
"filenameDatetimeFormat": {
|
|
600
|
-
"type": [
|
|
601
|
-
"string",
|
|
602
|
-
"null"
|
|
603
|
-
],
|
|
604
|
-
"description": "CloudStorageConfig filenameDatetimeFormat"
|
|
605
|
-
},
|
|
606
|
-
"textConfig": {
|
|
607
|
-
"anyOf": [
|
|
608
|
-
{
|
|
609
|
-
"type": "object",
|
|
610
|
-
"description": "Properties of a TextConfig."
|
|
611
|
-
},
|
|
612
|
-
{
|
|
613
|
-
"type": "null"
|
|
614
|
-
}
|
|
615
|
-
],
|
|
616
|
-
"description": "CloudStorageConfig textConfig"
|
|
617
|
-
},
|
|
618
|
-
"avroConfig": {
|
|
619
|
-
"anyOf": [
|
|
620
|
-
{
|
|
621
|
-
"type": "object",
|
|
622
|
-
"properties": {
|
|
623
|
-
"writeMetadata": {
|
|
624
|
-
"type": [
|
|
625
|
-
"boolean",
|
|
626
|
-
"null"
|
|
627
|
-
],
|
|
628
|
-
"description": "AvroConfig writeMetadata"
|
|
629
|
-
},
|
|
630
|
-
"useTopicSchema": {
|
|
631
|
-
"type": [
|
|
632
|
-
"boolean",
|
|
633
|
-
"null"
|
|
634
|
-
],
|
|
635
|
-
"description": "AvroConfig useTopicSchema"
|
|
636
|
-
}
|
|
637
|
-
},
|
|
638
|
-
"description": "Properties of an AvroConfig."
|
|
639
|
-
},
|
|
640
|
-
{
|
|
641
|
-
"type": "null"
|
|
642
|
-
}
|
|
643
|
-
],
|
|
644
|
-
"description": "CloudStorageConfig avroConfig"
|
|
645
|
-
},
|
|
646
|
-
"maxDuration": {
|
|
647
|
-
"anyOf": [
|
|
648
|
-
{
|
|
649
|
-
"type": "object",
|
|
650
|
-
"properties": {
|
|
651
|
-
"seconds": {
|
|
652
|
-
"anyOf": [
|
|
653
|
-
{
|
|
654
|
-
"type": "number"
|
|
655
|
-
},
|
|
656
|
-
{
|
|
657
|
-
"type": "object",
|
|
658
|
-
"properties": {
|
|
659
|
-
"high": {
|
|
660
|
-
"type": "number",
|
|
661
|
-
"description": "The high 32 bits as a signed value."
|
|
662
|
-
},
|
|
663
|
-
"low": {
|
|
664
|
-
"type": "number",
|
|
665
|
-
"description": "The low 32 bits as a signed value."
|
|
666
|
-
},
|
|
667
|
-
"unsigned": {
|
|
668
|
-
"type": "boolean",
|
|
669
|
-
"description": "Whether unsigned or not."
|
|
670
|
-
}
|
|
671
|
-
},
|
|
672
|
-
"required": [
|
|
673
|
-
"high",
|
|
674
|
-
"low",
|
|
675
|
-
"unsigned"
|
|
676
|
-
]
|
|
677
|
-
},
|
|
678
|
-
{
|
|
679
|
-
"type": "string"
|
|
680
|
-
},
|
|
681
|
-
{
|
|
682
|
-
"type": "null"
|
|
683
|
-
}
|
|
684
|
-
],
|
|
685
|
-
"description": "Duration seconds"
|
|
686
|
-
},
|
|
687
|
-
"nanos": {
|
|
688
|
-
"type": [
|
|
689
|
-
"number",
|
|
690
|
-
"null"
|
|
691
|
-
],
|
|
692
|
-
"description": "Duration nanos"
|
|
693
|
-
}
|
|
694
|
-
},
|
|
695
|
-
"description": "Properties of a Duration."
|
|
696
|
-
},
|
|
697
|
-
{
|
|
698
|
-
"type": "null"
|
|
699
|
-
}
|
|
700
|
-
],
|
|
701
|
-
"description": "CloudStorageConfig maxDuration"
|
|
702
|
-
},
|
|
703
|
-
"maxBytes": {
|
|
704
|
-
"anyOf": [
|
|
705
|
-
{
|
|
706
|
-
"type": "number"
|
|
707
|
-
},
|
|
708
|
-
{
|
|
709
|
-
"type": "object",
|
|
710
|
-
"properties": {
|
|
711
|
-
"high": {
|
|
712
|
-
"type": "number",
|
|
713
|
-
"description": "The high 32 bits as a signed value."
|
|
714
|
-
},
|
|
715
|
-
"low": {
|
|
716
|
-
"type": "number",
|
|
717
|
-
"description": "The low 32 bits as a signed value."
|
|
718
|
-
},
|
|
719
|
-
"unsigned": {
|
|
720
|
-
"type": "boolean",
|
|
721
|
-
"description": "Whether unsigned or not."
|
|
722
|
-
}
|
|
723
|
-
},
|
|
724
|
-
"required": [
|
|
725
|
-
"high",
|
|
726
|
-
"low",
|
|
727
|
-
"unsigned"
|
|
728
|
-
]
|
|
729
|
-
},
|
|
730
|
-
{
|
|
731
|
-
"type": "string"
|
|
732
|
-
},
|
|
733
|
-
{
|
|
734
|
-
"type": "null"
|
|
735
|
-
}
|
|
736
|
-
],
|
|
737
|
-
"description": "CloudStorageConfig maxBytes"
|
|
738
|
-
},
|
|
739
|
-
"maxMessages": {
|
|
740
|
-
"anyOf": [
|
|
741
|
-
{
|
|
742
|
-
"type": "number"
|
|
743
|
-
},
|
|
744
|
-
{
|
|
745
|
-
"type": "object",
|
|
746
|
-
"properties": {
|
|
747
|
-
"high": {
|
|
748
|
-
"type": "number",
|
|
749
|
-
"description": "The high 32 bits as a signed value."
|
|
750
|
-
},
|
|
751
|
-
"low": {
|
|
752
|
-
"type": "number",
|
|
753
|
-
"description": "The low 32 bits as a signed value."
|
|
754
|
-
},
|
|
755
|
-
"unsigned": {
|
|
756
|
-
"type": "boolean",
|
|
757
|
-
"description": "Whether unsigned or not."
|
|
758
|
-
}
|
|
759
|
-
},
|
|
760
|
-
"required": [
|
|
761
|
-
"high",
|
|
762
|
-
"low",
|
|
763
|
-
"unsigned"
|
|
764
|
-
]
|
|
765
|
-
},
|
|
766
|
-
{
|
|
767
|
-
"type": "string"
|
|
768
|
-
},
|
|
769
|
-
{
|
|
770
|
-
"type": "null"
|
|
771
|
-
}
|
|
772
|
-
],
|
|
773
|
-
"description": "CloudStorageConfig maxMessages"
|
|
774
|
-
},
|
|
775
|
-
"state": {
|
|
776
|
-
"anyOf": [
|
|
777
|
-
{
|
|
778
|
-
"$ref": "#/definitions/google.pubsub.v1.CloudStorageConfig.State"
|
|
779
|
-
},
|
|
780
|
-
{
|
|
781
|
-
"type": "string",
|
|
782
|
-
"const": "STATE_UNSPECIFIED"
|
|
783
|
-
},
|
|
784
|
-
{
|
|
785
|
-
"type": "string",
|
|
786
|
-
"const": "ACTIVE"
|
|
787
|
-
},
|
|
788
|
-
{
|
|
789
|
-
"type": "string",
|
|
790
|
-
"const": "PERMISSION_DENIED"
|
|
791
|
-
},
|
|
792
|
-
{
|
|
793
|
-
"type": "string",
|
|
794
|
-
"const": "NOT_FOUND"
|
|
795
|
-
},
|
|
796
|
-
{
|
|
797
|
-
"type": "string",
|
|
798
|
-
"const": "IN_TRANSIT_LOCATION_RESTRICTION"
|
|
799
|
-
},
|
|
800
|
-
{
|
|
801
|
-
"type": "string",
|
|
802
|
-
"const": "SCHEMA_MISMATCH"
|
|
803
|
-
},
|
|
804
|
-
{
|
|
805
|
-
"type": "null"
|
|
806
|
-
}
|
|
807
|
-
],
|
|
808
|
-
"description": "CloudStorageConfig state"
|
|
809
|
-
},
|
|
810
|
-
"serviceAccountEmail": {
|
|
811
|
-
"type": [
|
|
812
|
-
"string",
|
|
813
|
-
"null"
|
|
814
|
-
],
|
|
815
|
-
"description": "CloudStorageConfig serviceAccountEmail"
|
|
816
|
-
}
|
|
817
|
-
},
|
|
818
|
-
"description": "Properties of a CloudStorageConfig."
|
|
819
|
-
},
|
|
820
|
-
{
|
|
821
|
-
"type": "null"
|
|
822
|
-
}
|
|
823
|
-
],
|
|
824
|
-
"description": "Subscription cloudStorageConfig"
|
|
295
|
+
"type": "object"
|
|
296
|
+
},
|
|
297
|
+
"IAvroConfig": {
|
|
298
|
+
"additionalProperties": false,
|
|
299
|
+
"description": "Properties of an AvroConfig.",
|
|
300
|
+
"properties": {
|
|
301
|
+
"useTopicSchema": {
|
|
302
|
+
"default": false,
|
|
303
|
+
"description": "AvroConfig useTopicSchema",
|
|
304
|
+
"type": "boolean"
|
|
305
|
+
},
|
|
306
|
+
"writeMetadata": {
|
|
307
|
+
"default": false,
|
|
308
|
+
"description": "AvroConfig writeMetadata",
|
|
309
|
+
"type": "boolean"
|
|
310
|
+
}
|
|
825
311
|
},
|
|
826
|
-
"
|
|
827
|
-
|
|
828
|
-
|
|
829
|
-
|
|
830
|
-
|
|
831
|
-
|
|
312
|
+
"type": "object"
|
|
313
|
+
},
|
|
314
|
+
"IBigQueryConfig": {
|
|
315
|
+
"additionalProperties": false,
|
|
316
|
+
"description": "Properties of a BigQueryConfig.",
|
|
317
|
+
"properties": {
|
|
318
|
+
"dropUnknownFields": {
|
|
319
|
+
"default": false,
|
|
320
|
+
"description": "BigQueryConfig dropUnknownFields",
|
|
321
|
+
"type": "boolean"
|
|
322
|
+
},
|
|
323
|
+
"serviceAccountEmail": {
|
|
324
|
+
"description": "BigQueryConfig serviceAccountEmail",
|
|
325
|
+
"type": "string"
|
|
326
|
+
},
|
|
327
|
+
"state": {
|
|
328
|
+
"description": "BigQueryConfig state",
|
|
329
|
+
"enum": [
|
|
330
|
+
0,
|
|
331
|
+
1,
|
|
332
|
+
2,
|
|
333
|
+
3,
|
|
334
|
+
4,
|
|
335
|
+
5,
|
|
336
|
+
6,
|
|
337
|
+
"STATE_UNSPECIFIED",
|
|
338
|
+
"ACTIVE",
|
|
339
|
+
"PERMISSION_DENIED",
|
|
340
|
+
"NOT_FOUND",
|
|
341
|
+
"SCHEMA_MISMATCH",
|
|
342
|
+
"IN_TRANSIT_LOCATION_RESTRICTION",
|
|
343
|
+
"VERTEX_AI_LOCATION_RESTRICTION"
|
|
344
|
+
],
|
|
345
|
+
"type": [
|
|
346
|
+
"number",
|
|
347
|
+
"string"
|
|
348
|
+
]
|
|
349
|
+
},
|
|
350
|
+
"table": {
|
|
351
|
+
"description": "BigQueryConfig table",
|
|
352
|
+
"type": "string"
|
|
353
|
+
},
|
|
354
|
+
"useTableSchema": {
|
|
355
|
+
"default": false,
|
|
356
|
+
"description": "BigQueryConfig useTableSchema",
|
|
357
|
+
"type": "boolean"
|
|
358
|
+
},
|
|
359
|
+
"useTopicSchema": {
|
|
360
|
+
"default": false,
|
|
361
|
+
"description": "BigQueryConfig useTopicSchema",
|
|
362
|
+
"type": "boolean"
|
|
363
|
+
},
|
|
364
|
+
"writeMetadata": {
|
|
365
|
+
"default": false,
|
|
366
|
+
"description": "BigQueryConfig writeMetadata",
|
|
367
|
+
"type": "boolean"
|
|
368
|
+
}
|
|
832
369
|
},
|
|
833
|
-
"
|
|
834
|
-
|
|
835
|
-
|
|
836
|
-
|
|
837
|
-
|
|
838
|
-
|
|
370
|
+
"type": "object"
|
|
371
|
+
},
|
|
372
|
+
"IBigtableConfig": {
|
|
373
|
+
"additionalProperties": false,
|
|
374
|
+
"description": "Properties of a BigtableConfig.",
|
|
375
|
+
"properties": {
|
|
376
|
+
"appProfileId": {
|
|
377
|
+
"description": "BigtableConfig appProfileId",
|
|
378
|
+
"type": "string"
|
|
379
|
+
},
|
|
380
|
+
"serviceAccountEmail": {
|
|
381
|
+
"description": "BigtableConfig serviceAccountEmail",
|
|
382
|
+
"type": "string"
|
|
383
|
+
},
|
|
384
|
+
"state": {
|
|
385
|
+
"description": "BigtableConfig state",
|
|
386
|
+
"enum": [
|
|
387
|
+
"STATE_UNSPECIFIED",
|
|
388
|
+
"ACTIVE",
|
|
389
|
+
"PERMISSION_DENIED",
|
|
390
|
+
"NOT_FOUND",
|
|
391
|
+
"SCHEMA_MISMATCH",
|
|
392
|
+
"IN_TRANSIT_LOCATION_RESTRICTION",
|
|
393
|
+
"VERTEX_AI_LOCATION_RESTRICTION",
|
|
394
|
+
0,
|
|
395
|
+
1,
|
|
396
|
+
2,
|
|
397
|
+
3,
|
|
398
|
+
4,
|
|
399
|
+
5,
|
|
400
|
+
6,
|
|
401
|
+
7,
|
|
402
|
+
"APP_PROFILE_MISCONFIGURED"
|
|
403
|
+
],
|
|
404
|
+
"type": [
|
|
405
|
+
"string",
|
|
406
|
+
"number"
|
|
407
|
+
]
|
|
408
|
+
},
|
|
409
|
+
"table": {
|
|
410
|
+
"description": "BigtableConfig table",
|
|
411
|
+
"type": "string"
|
|
412
|
+
},
|
|
413
|
+
"writeMetadata": {
|
|
414
|
+
"default": false,
|
|
415
|
+
"description": "BigtableConfig writeMetadata",
|
|
416
|
+
"type": "boolean"
|
|
417
|
+
}
|
|
839
418
|
},
|
|
840
|
-
"
|
|
841
|
-
|
|
842
|
-
|
|
843
|
-
|
|
844
|
-
|
|
419
|
+
"type": "object"
|
|
420
|
+
},
|
|
421
|
+
"ICloudStorageConfig": {
|
|
422
|
+
"additionalProperties": false,
|
|
423
|
+
"description": "Properties of a CloudStorageConfig.",
|
|
424
|
+
"properties": {
|
|
425
|
+
"avroConfig": {
|
|
426
|
+
"$ref": "#/definitions/IAvroConfig",
|
|
427
|
+
"description": "CloudStorageConfig avroConfig"
|
|
428
|
+
},
|
|
429
|
+
"bucket": {
|
|
430
|
+
"description": "CloudStorageConfig bucket",
|
|
431
|
+
"type": "string"
|
|
432
|
+
},
|
|
433
|
+
"filenameDatetimeFormat": {
|
|
434
|
+
"description": "CloudStorageConfig filenameDatetimeFormat",
|
|
435
|
+
"type": "string"
|
|
436
|
+
},
|
|
437
|
+
"filenamePrefix": {
|
|
438
|
+
"description": "CloudStorageConfig filenamePrefix",
|
|
439
|
+
"type": "string"
|
|
440
|
+
},
|
|
441
|
+
"filenameSuffix": {
|
|
442
|
+
"description": "CloudStorageConfig filenameSuffix",
|
|
443
|
+
"type": "string"
|
|
444
|
+
},
|
|
445
|
+
"maxBytes": {
|
|
446
|
+
"anyOf": [
|
|
447
|
+
{
|
|
845
448
|
"type": "string"
|
|
449
|
+
},
|
|
450
|
+
{
|
|
451
|
+
"type": "number"
|
|
452
|
+
},
|
|
453
|
+
{
|
|
454
|
+
"$ref": "#/definitions/Long"
|
|
846
455
|
}
|
|
847
|
-
|
|
848
|
-
|
|
849
|
-
|
|
850
|
-
|
|
851
|
-
|
|
852
|
-
|
|
456
|
+
],
|
|
457
|
+
"description": "CloudStorageConfig maxBytes"
|
|
458
|
+
},
|
|
459
|
+
"maxDuration": {
|
|
460
|
+
"$ref": "#/definitions/IDuration",
|
|
461
|
+
"description": "CloudStorageConfig maxDuration"
|
|
462
|
+
},
|
|
463
|
+
"maxMessages": {
|
|
464
|
+
"anyOf": [
|
|
465
|
+
{
|
|
466
|
+
"type": "string"
|
|
467
|
+
},
|
|
468
|
+
{
|
|
469
|
+
"type": "number"
|
|
470
|
+
},
|
|
471
|
+
{
|
|
472
|
+
"$ref": "#/definitions/Long"
|
|
473
|
+
}
|
|
474
|
+
],
|
|
475
|
+
"description": "CloudStorageConfig maxMessages"
|
|
476
|
+
},
|
|
477
|
+
"serviceAccountEmail": {
|
|
478
|
+
"description": "CloudStorageConfig serviceAccountEmail",
|
|
479
|
+
"type": "string"
|
|
480
|
+
},
|
|
481
|
+
"state": {
|
|
482
|
+
"description": "CloudStorageConfig state",
|
|
483
|
+
"enum": [
|
|
484
|
+
"STATE_UNSPECIFIED",
|
|
485
|
+
"ACTIVE",
|
|
486
|
+
"PERMISSION_DENIED",
|
|
487
|
+
"NOT_FOUND",
|
|
488
|
+
"SCHEMA_MISMATCH",
|
|
489
|
+
"IN_TRANSIT_LOCATION_RESTRICTION",
|
|
490
|
+
"VERTEX_AI_LOCATION_RESTRICTION",
|
|
491
|
+
0,
|
|
492
|
+
1,
|
|
493
|
+
2,
|
|
494
|
+
3,
|
|
495
|
+
4,
|
|
496
|
+
5,
|
|
497
|
+
6
|
|
498
|
+
],
|
|
499
|
+
"type": [
|
|
500
|
+
"string",
|
|
501
|
+
"number"
|
|
502
|
+
]
|
|
503
|
+
},
|
|
504
|
+
"textConfig": {
|
|
505
|
+
"$ref": "#/definitions/ITextConfig",
|
|
506
|
+
"description": "CloudStorageConfig textConfig"
|
|
507
|
+
}
|
|
853
508
|
},
|
|
854
|
-
"
|
|
855
|
-
|
|
856
|
-
|
|
857
|
-
|
|
858
|
-
|
|
859
|
-
|
|
509
|
+
"type": "object"
|
|
510
|
+
},
|
|
511
|
+
"IDeadLetterPolicy": {
|
|
512
|
+
"additionalProperties": false,
|
|
513
|
+
"description": "Properties of a DeadLetterPolicy.",
|
|
514
|
+
"properties": {
|
|
515
|
+
"deadLetterTopic": {
|
|
516
|
+
"description": "DeadLetterPolicy deadLetterTopic",
|
|
517
|
+
"type": "string"
|
|
518
|
+
},
|
|
519
|
+
"maxDeliveryAttempts": {
|
|
520
|
+
"description": "DeadLetterPolicy maxDeliveryAttempts",
|
|
521
|
+
"type": "number"
|
|
522
|
+
}
|
|
860
523
|
},
|
|
861
|
-
"
|
|
862
|
-
|
|
863
|
-
|
|
864
|
-
|
|
865
|
-
|
|
866
|
-
|
|
867
|
-
|
|
868
|
-
|
|
869
|
-
|
|
870
|
-
|
|
871
|
-
|
|
872
|
-
|
|
873
|
-
|
|
874
|
-
|
|
875
|
-
},
|
|
876
|
-
{
|
|
877
|
-
"type": "object",
|
|
878
|
-
"properties": {
|
|
879
|
-
"high": {
|
|
880
|
-
"type": "number",
|
|
881
|
-
"description": "The high 32 bits as a signed value."
|
|
882
|
-
},
|
|
883
|
-
"low": {
|
|
884
|
-
"type": "number",
|
|
885
|
-
"description": "The low 32 bits as a signed value."
|
|
886
|
-
},
|
|
887
|
-
"unsigned": {
|
|
888
|
-
"type": "boolean",
|
|
889
|
-
"description": "Whether unsigned or not."
|
|
890
|
-
}
|
|
891
|
-
},
|
|
892
|
-
"required": [
|
|
893
|
-
"high",
|
|
894
|
-
"low",
|
|
895
|
-
"unsigned"
|
|
896
|
-
]
|
|
897
|
-
},
|
|
898
|
-
{
|
|
899
|
-
"type": "string"
|
|
900
|
-
},
|
|
901
|
-
{
|
|
902
|
-
"type": "null"
|
|
903
|
-
}
|
|
904
|
-
],
|
|
905
|
-
"description": "Duration seconds"
|
|
906
|
-
},
|
|
907
|
-
"nanos": {
|
|
908
|
-
"type": [
|
|
909
|
-
"number",
|
|
910
|
-
"null"
|
|
911
|
-
],
|
|
912
|
-
"description": "Duration nanos"
|
|
913
|
-
}
|
|
914
|
-
},
|
|
915
|
-
"description": "Properties of a Duration."
|
|
916
|
-
},
|
|
917
|
-
{
|
|
918
|
-
"type": "null"
|
|
919
|
-
}
|
|
920
|
-
],
|
|
921
|
-
"description": "ExpirationPolicy ttl"
|
|
922
|
-
}
|
|
524
|
+
"type": "object"
|
|
525
|
+
},
|
|
526
|
+
"IDuration": {
|
|
527
|
+
"additionalProperties": false,
|
|
528
|
+
"description": "Properties of a Duration.",
|
|
529
|
+
"properties": {
|
|
530
|
+
"nanos": {
|
|
531
|
+
"description": "Duration nanos",
|
|
532
|
+
"type": "number"
|
|
533
|
+
},
|
|
534
|
+
"seconds": {
|
|
535
|
+
"anyOf": [
|
|
536
|
+
{
|
|
537
|
+
"type": "string"
|
|
923
538
|
},
|
|
924
|
-
|
|
925
|
-
|
|
926
|
-
|
|
927
|
-
|
|
928
|
-
|
|
929
|
-
|
|
930
|
-
|
|
539
|
+
{
|
|
540
|
+
"type": "number"
|
|
541
|
+
},
|
|
542
|
+
{
|
|
543
|
+
"$ref": "#/definitions/Long"
|
|
544
|
+
}
|
|
545
|
+
],
|
|
546
|
+
"description": "Duration seconds"
|
|
547
|
+
}
|
|
931
548
|
},
|
|
932
|
-
"
|
|
933
|
-
|
|
934
|
-
|
|
935
|
-
|
|
936
|
-
|
|
937
|
-
|
|
549
|
+
"type": "object"
|
|
550
|
+
},
|
|
551
|
+
"IExpirationPolicy": {
|
|
552
|
+
"additionalProperties": false,
|
|
553
|
+
"description": "Properties of an ExpirationPolicy.",
|
|
554
|
+
"properties": {
|
|
555
|
+
"ttl": {
|
|
556
|
+
"$ref": "#/definitions/IDuration",
|
|
557
|
+
"description": "ExpirationPolicy ttl"
|
|
558
|
+
}
|
|
938
559
|
},
|
|
939
|
-
"
|
|
940
|
-
|
|
941
|
-
|
|
942
|
-
|
|
943
|
-
|
|
944
|
-
|
|
945
|
-
|
|
946
|
-
|
|
947
|
-
|
|
948
|
-
|
|
949
|
-
|
|
950
|
-
|
|
951
|
-
|
|
952
|
-
|
|
953
|
-
"number",
|
|
954
|
-
"null"
|
|
955
|
-
],
|
|
956
|
-
"description": "DeadLetterPolicy maxDeliveryAttempts"
|
|
957
|
-
}
|
|
958
|
-
},
|
|
959
|
-
"description": "Properties of a DeadLetterPolicy."
|
|
960
|
-
},
|
|
961
|
-
{
|
|
962
|
-
"type": "null"
|
|
963
|
-
}
|
|
964
|
-
],
|
|
965
|
-
"description": "Subscription deadLetterPolicy"
|
|
560
|
+
"type": "object"
|
|
561
|
+
},
|
|
562
|
+
"IJavaScriptUDF": {
|
|
563
|
+
"additionalProperties": false,
|
|
564
|
+
"description": "Properties of a JavaScriptUDF.",
|
|
565
|
+
"properties": {
|
|
566
|
+
"code": {
|
|
567
|
+
"description": "JavaScriptUDF code",
|
|
568
|
+
"type": "string"
|
|
569
|
+
},
|
|
570
|
+
"functionName": {
|
|
571
|
+
"description": "JavaScriptUDF functionName",
|
|
572
|
+
"type": "string"
|
|
573
|
+
}
|
|
966
574
|
},
|
|
967
|
-
"
|
|
968
|
-
|
|
969
|
-
|
|
970
|
-
|
|
971
|
-
|
|
972
|
-
|
|
973
|
-
|
|
974
|
-
|
|
975
|
-
|
|
976
|
-
|
|
977
|
-
"seconds": {
|
|
978
|
-
"anyOf": [
|
|
979
|
-
{
|
|
980
|
-
"type": "number"
|
|
981
|
-
},
|
|
982
|
-
{
|
|
983
|
-
"type": "object",
|
|
984
|
-
"properties": {
|
|
985
|
-
"high": {
|
|
986
|
-
"type": "number",
|
|
987
|
-
"description": "The high 32 bits as a signed value."
|
|
988
|
-
},
|
|
989
|
-
"low": {
|
|
990
|
-
"type": "number",
|
|
991
|
-
"description": "The low 32 bits as a signed value."
|
|
992
|
-
},
|
|
993
|
-
"unsigned": {
|
|
994
|
-
"type": "boolean",
|
|
995
|
-
"description": "Whether unsigned or not."
|
|
996
|
-
}
|
|
997
|
-
},
|
|
998
|
-
"required": [
|
|
999
|
-
"high",
|
|
1000
|
-
"low",
|
|
1001
|
-
"unsigned"
|
|
1002
|
-
]
|
|
1003
|
-
},
|
|
1004
|
-
{
|
|
1005
|
-
"type": "string"
|
|
1006
|
-
},
|
|
1007
|
-
{
|
|
1008
|
-
"type": "null"
|
|
1009
|
-
}
|
|
1010
|
-
],
|
|
1011
|
-
"description": "Duration seconds"
|
|
1012
|
-
},
|
|
1013
|
-
"nanos": {
|
|
1014
|
-
"type": [
|
|
1015
|
-
"number",
|
|
1016
|
-
"null"
|
|
1017
|
-
],
|
|
1018
|
-
"description": "Duration nanos"
|
|
1019
|
-
}
|
|
1020
|
-
},
|
|
1021
|
-
"description": "Properties of a Duration."
|
|
1022
|
-
},
|
|
1023
|
-
{
|
|
1024
|
-
"type": "null"
|
|
1025
|
-
}
|
|
1026
|
-
],
|
|
1027
|
-
"description": "RetryPolicy minimumBackoff"
|
|
1028
|
-
},
|
|
1029
|
-
"maximumBackoff": {
|
|
1030
|
-
"anyOf": [
|
|
1031
|
-
{
|
|
1032
|
-
"type": "object",
|
|
1033
|
-
"properties": {
|
|
1034
|
-
"seconds": {
|
|
1035
|
-
"anyOf": [
|
|
1036
|
-
{
|
|
1037
|
-
"type": "number"
|
|
1038
|
-
},
|
|
1039
|
-
{
|
|
1040
|
-
"type": "object",
|
|
1041
|
-
"properties": {
|
|
1042
|
-
"high": {
|
|
1043
|
-
"type": "number",
|
|
1044
|
-
"description": "The high 32 bits as a signed value."
|
|
1045
|
-
},
|
|
1046
|
-
"low": {
|
|
1047
|
-
"type": "number",
|
|
1048
|
-
"description": "The low 32 bits as a signed value."
|
|
1049
|
-
},
|
|
1050
|
-
"unsigned": {
|
|
1051
|
-
"type": "boolean",
|
|
1052
|
-
"description": "Whether unsigned or not."
|
|
1053
|
-
}
|
|
1054
|
-
},
|
|
1055
|
-
"required": [
|
|
1056
|
-
"high",
|
|
1057
|
-
"low",
|
|
1058
|
-
"unsigned"
|
|
1059
|
-
]
|
|
1060
|
-
},
|
|
1061
|
-
{
|
|
1062
|
-
"type": "string"
|
|
1063
|
-
},
|
|
1064
|
-
{
|
|
1065
|
-
"type": "null"
|
|
1066
|
-
}
|
|
1067
|
-
],
|
|
1068
|
-
"description": "Duration seconds"
|
|
1069
|
-
},
|
|
1070
|
-
"nanos": {
|
|
1071
|
-
"type": [
|
|
1072
|
-
"number",
|
|
1073
|
-
"null"
|
|
1074
|
-
],
|
|
1075
|
-
"description": "Duration nanos"
|
|
1076
|
-
}
|
|
1077
|
-
},
|
|
1078
|
-
"description": "Properties of a Duration."
|
|
1079
|
-
},
|
|
1080
|
-
{
|
|
1081
|
-
"type": "null"
|
|
1082
|
-
}
|
|
1083
|
-
],
|
|
1084
|
-
"description": "RetryPolicy maximumBackoff"
|
|
1085
|
-
}
|
|
1086
|
-
},
|
|
1087
|
-
"description": "Properties of a RetryPolicy."
|
|
575
|
+
"type": "object"
|
|
576
|
+
},
|
|
577
|
+
"IListValue": {
|
|
578
|
+
"additionalProperties": false,
|
|
579
|
+
"description": "Properties of a ListValue.",
|
|
580
|
+
"properties": {
|
|
581
|
+
"values": {
|
|
582
|
+
"description": "ListValue values",
|
|
583
|
+
"items": {
|
|
584
|
+
"$ref": "#/definitions/IValue"
|
|
1088
585
|
},
|
|
1089
|
-
|
|
1090
|
-
|
|
1091
|
-
}
|
|
1092
|
-
],
|
|
1093
|
-
"description": "Subscription retryPolicy"
|
|
586
|
+
"type": "array"
|
|
587
|
+
}
|
|
1094
588
|
},
|
|
1095
|
-
"
|
|
1096
|
-
|
|
1097
|
-
|
|
1098
|
-
|
|
1099
|
-
|
|
1100
|
-
|
|
589
|
+
"type": "object"
|
|
590
|
+
},
|
|
591
|
+
"IMessageTransform": {
|
|
592
|
+
"additionalProperties": false,
|
|
593
|
+
"description": "Properties of a MessageTransform.",
|
|
594
|
+
"properties": {
|
|
595
|
+
"aiInference": {
|
|
596
|
+
"$ref": "#/definitions/IAIInference",
|
|
597
|
+
"description": "MessageTransform aiInference"
|
|
598
|
+
},
|
|
599
|
+
"disabled": {
|
|
600
|
+
"default": false,
|
|
601
|
+
"description": "MessageTransform disabled",
|
|
602
|
+
"type": "boolean"
|
|
603
|
+
},
|
|
604
|
+
"enabled": {
|
|
605
|
+
"default": false,
|
|
606
|
+
"description": "MessageTransform enabled",
|
|
607
|
+
"type": "boolean"
|
|
608
|
+
},
|
|
609
|
+
"javascriptUdf": {
|
|
610
|
+
"$ref": "#/definitions/IJavaScriptUDF",
|
|
611
|
+
"description": "MessageTransform javascriptUdf"
|
|
612
|
+
}
|
|
1101
613
|
},
|
|
1102
|
-
"
|
|
1103
|
-
|
|
1104
|
-
|
|
1105
|
-
|
|
1106
|
-
|
|
1107
|
-
|
|
614
|
+
"type": "object"
|
|
615
|
+
},
|
|
616
|
+
"INoWrapper": {
|
|
617
|
+
"additionalProperties": false,
|
|
618
|
+
"description": "Properties of a NoWrapper.",
|
|
619
|
+
"properties": {
|
|
620
|
+
"writeMetadata": {
|
|
621
|
+
"default": false,
|
|
622
|
+
"description": "NoWrapper writeMetadata",
|
|
623
|
+
"type": "boolean"
|
|
624
|
+
}
|
|
1108
625
|
},
|
|
1109
|
-
"
|
|
1110
|
-
|
|
1111
|
-
|
|
1112
|
-
|
|
1113
|
-
|
|
1114
|
-
|
|
1115
|
-
|
|
1116
|
-
|
|
1117
|
-
|
|
1118
|
-
|
|
1119
|
-
|
|
1120
|
-
|
|
1121
|
-
|
|
1122
|
-
|
|
1123
|
-
"type": "number",
|
|
1124
|
-
"description": "The high 32 bits as a signed value."
|
|
1125
|
-
},
|
|
1126
|
-
"low": {
|
|
1127
|
-
"type": "number",
|
|
1128
|
-
"description": "The low 32 bits as a signed value."
|
|
1129
|
-
},
|
|
1130
|
-
"unsigned": {
|
|
1131
|
-
"type": "boolean",
|
|
1132
|
-
"description": "Whether unsigned or not."
|
|
1133
|
-
}
|
|
1134
|
-
},
|
|
1135
|
-
"required": [
|
|
1136
|
-
"high",
|
|
1137
|
-
"low",
|
|
1138
|
-
"unsigned"
|
|
1139
|
-
]
|
|
1140
|
-
},
|
|
1141
|
-
{
|
|
1142
|
-
"type": "string"
|
|
1143
|
-
},
|
|
1144
|
-
{
|
|
1145
|
-
"type": "null"
|
|
1146
|
-
}
|
|
1147
|
-
],
|
|
1148
|
-
"description": "Duration seconds"
|
|
1149
|
-
},
|
|
1150
|
-
"nanos": {
|
|
1151
|
-
"type": [
|
|
1152
|
-
"number",
|
|
1153
|
-
"null"
|
|
1154
|
-
],
|
|
1155
|
-
"description": "Duration nanos"
|
|
1156
|
-
}
|
|
1157
|
-
},
|
|
1158
|
-
"description": "Properties of a Duration."
|
|
1159
|
-
},
|
|
1160
|
-
{
|
|
1161
|
-
"type": "null"
|
|
1162
|
-
}
|
|
1163
|
-
],
|
|
1164
|
-
"description": "Subscription topicMessageRetentionDuration"
|
|
626
|
+
"type": "object"
|
|
627
|
+
},
|
|
628
|
+
"IOidcToken": {
|
|
629
|
+
"additionalProperties": false,
|
|
630
|
+
"description": "Properties of an OidcToken.",
|
|
631
|
+
"properties": {
|
|
632
|
+
"audience": {
|
|
633
|
+
"description": "OidcToken audience",
|
|
634
|
+
"type": "string"
|
|
635
|
+
},
|
|
636
|
+
"serviceAccountEmail": {
|
|
637
|
+
"description": "OidcToken serviceAccountEmail",
|
|
638
|
+
"type": "string"
|
|
639
|
+
}
|
|
1165
640
|
},
|
|
1166
|
-
"
|
|
1167
|
-
|
|
1168
|
-
|
|
1169
|
-
|
|
1170
|
-
|
|
1171
|
-
|
|
1172
|
-
|
|
1173
|
-
|
|
1174
|
-
|
|
1175
|
-
|
|
1176
|
-
|
|
1177
|
-
|
|
1178
|
-
|
|
1179
|
-
|
|
1180
|
-
|
|
1181
|
-
|
|
1182
|
-
|
|
1183
|
-
|
|
1184
|
-
|
|
1185
|
-
|
|
1186
|
-
|
|
1187
|
-
|
|
641
|
+
"type": "object"
|
|
642
|
+
},
|
|
643
|
+
"IPubsubWrapper": {
|
|
644
|
+
"additionalProperties": false,
|
|
645
|
+
"description": "Properties of a PubsubWrapper.",
|
|
646
|
+
"type": "object"
|
|
647
|
+
},
|
|
648
|
+
"IPushConfig": {
|
|
649
|
+
"additionalProperties": false,
|
|
650
|
+
"description": "Properties of a PushConfig.",
|
|
651
|
+
"properties": {
|
|
652
|
+
"attributes": {
|
|
653
|
+
"$ref": "#/definitions/subscriptionOptions%262%24pushConfig%24attributes",
|
|
654
|
+
"description": "PushConfig attributes"
|
|
655
|
+
},
|
|
656
|
+
"noWrapper": {
|
|
657
|
+
"$ref": "#/definitions/INoWrapper",
|
|
658
|
+
"description": "PushConfig noWrapper"
|
|
659
|
+
},
|
|
660
|
+
"oidcToken": {
|
|
661
|
+
"$ref": "#/definitions/IOidcToken",
|
|
662
|
+
"description": "PushConfig oidcToken"
|
|
663
|
+
},
|
|
664
|
+
"pubsubWrapper": {
|
|
665
|
+
"$ref": "#/definitions/IPubsubWrapper",
|
|
666
|
+
"description": "PushConfig pubsubWrapper"
|
|
667
|
+
},
|
|
668
|
+
"pushEndpoint": {
|
|
669
|
+
"description": "PushConfig pushEndpoint",
|
|
670
|
+
"type": "string"
|
|
671
|
+
}
|
|
1188
672
|
},
|
|
1189
|
-
"
|
|
1190
|
-
|
|
1191
|
-
|
|
1192
|
-
|
|
1193
|
-
|
|
1194
|
-
|
|
1195
|
-
|
|
1196
|
-
|
|
1197
|
-
|
|
1198
|
-
|
|
1199
|
-
|
|
1200
|
-
|
|
1201
|
-
|
|
1202
|
-
|
|
1203
|
-
"string",
|
|
1204
|
-
"null"
|
|
1205
|
-
],
|
|
1206
|
-
"description": "AnalyticsHubSubscriptionInfo subscription"
|
|
1207
|
-
}
|
|
1208
|
-
},
|
|
1209
|
-
"description": "Properties of an AnalyticsHubSubscriptionInfo."
|
|
1210
|
-
},
|
|
1211
|
-
{
|
|
1212
|
-
"type": "null"
|
|
1213
|
-
}
|
|
1214
|
-
],
|
|
1215
|
-
"description": "Subscription analyticsHubSubscriptionInfo"
|
|
673
|
+
"type": "object"
|
|
674
|
+
},
|
|
675
|
+
"IRetryPolicy": {
|
|
676
|
+
"additionalProperties": false,
|
|
677
|
+
"description": "Properties of a RetryPolicy.",
|
|
678
|
+
"properties": {
|
|
679
|
+
"maximumBackoff": {
|
|
680
|
+
"$ref": "#/definitions/IDuration",
|
|
681
|
+
"description": "RetryPolicy maximumBackoff"
|
|
682
|
+
},
|
|
683
|
+
"minimumBackoff": {
|
|
684
|
+
"$ref": "#/definitions/IDuration",
|
|
685
|
+
"description": "RetryPolicy minimumBackoff"
|
|
686
|
+
}
|
|
1216
687
|
},
|
|
1217
|
-
"
|
|
1218
|
-
|
|
1219
|
-
|
|
1220
|
-
|
|
1221
|
-
|
|
1222
|
-
|
|
1223
|
-
|
|
1224
|
-
|
|
1225
|
-
|
|
1226
|
-
|
|
1227
|
-
{
|
|
1228
|
-
"type": "object",
|
|
1229
|
-
"properties": {
|
|
1230
|
-
"high": {
|
|
1231
|
-
"type": "number",
|
|
1232
|
-
"description": "The high 32 bits as a signed value."
|
|
1233
|
-
},
|
|
1234
|
-
"low": {
|
|
1235
|
-
"type": "number",
|
|
1236
|
-
"description": "The low 32 bits as a signed value."
|
|
1237
|
-
},
|
|
1238
|
-
"unsigned": {
|
|
1239
|
-
"type": "boolean",
|
|
1240
|
-
"description": "Whether unsigned or not."
|
|
1241
|
-
}
|
|
1242
|
-
},
|
|
1243
|
-
"required": [
|
|
1244
|
-
"high",
|
|
1245
|
-
"low",
|
|
1246
|
-
"unsigned"
|
|
1247
|
-
]
|
|
1248
|
-
},
|
|
1249
|
-
{
|
|
1250
|
-
"type": "string"
|
|
1251
|
-
},
|
|
1252
|
-
{
|
|
1253
|
-
"type": "null"
|
|
1254
|
-
}
|
|
1255
|
-
],
|
|
1256
|
-
"description": "Duration seconds"
|
|
1257
|
-
},
|
|
1258
|
-
"nanos": {
|
|
1259
|
-
"type": [
|
|
1260
|
-
"number",
|
|
1261
|
-
"null"
|
|
1262
|
-
],
|
|
1263
|
-
"description": "Duration nanos"
|
|
1264
|
-
}
|
|
1265
|
-
},
|
|
1266
|
-
"description": "Properties of a Duration."
|
|
1267
|
-
},
|
|
1268
|
-
{
|
|
1269
|
-
"type": "number"
|
|
1270
|
-
}
|
|
1271
|
-
]
|
|
688
|
+
"type": "object"
|
|
689
|
+
},
|
|
690
|
+
"IStruct": {
|
|
691
|
+
"additionalProperties": false,
|
|
692
|
+
"description": "Properties of a Struct.",
|
|
693
|
+
"properties": {
|
|
694
|
+
"fields": {
|
|
695
|
+
"$ref": "#/definitions/subscriptionOptions%262%24messageTransforms%5B%5D%24aiInference%24unstructuredInference%24parameters%24fields",
|
|
696
|
+
"description": "Struct fields"
|
|
697
|
+
}
|
|
1272
698
|
},
|
|
1273
|
-
"
|
|
1274
|
-
|
|
699
|
+
"type": "object"
|
|
700
|
+
},
|
|
701
|
+
"ITextConfig": {
|
|
702
|
+
"additionalProperties": false,
|
|
703
|
+
"description": "Properties of a TextConfig.",
|
|
704
|
+
"type": "object"
|
|
705
|
+
},
|
|
706
|
+
"IUnstructuredInference": {
|
|
707
|
+
"additionalProperties": false,
|
|
708
|
+
"description": "Properties of an UnstructuredInference.",
|
|
709
|
+
"properties": {
|
|
710
|
+
"parameters": {
|
|
711
|
+
"$ref": "#/definitions/IStruct",
|
|
712
|
+
"description": "UnstructuredInference parameters"
|
|
713
|
+
}
|
|
1275
714
|
},
|
|
1276
|
-
"
|
|
1277
|
-
|
|
1278
|
-
|
|
1279
|
-
|
|
1280
|
-
|
|
1281
|
-
|
|
1282
|
-
|
|
1283
|
-
|
|
1284
|
-
|
|
1285
|
-
|
|
1286
|
-
|
|
715
|
+
"type": "object"
|
|
716
|
+
},
|
|
717
|
+
"IValue": {
|
|
718
|
+
"additionalProperties": false,
|
|
719
|
+
"description": "Properties of a Value.",
|
|
720
|
+
"properties": {
|
|
721
|
+
"boolValue": {
|
|
722
|
+
"default": false,
|
|
723
|
+
"description": "Value boolValue",
|
|
724
|
+
"type": "boolean"
|
|
725
|
+
},
|
|
726
|
+
"listValue": {
|
|
727
|
+
"$ref": "#/definitions/IListValue",
|
|
728
|
+
"description": "Value listValue"
|
|
729
|
+
},
|
|
730
|
+
"nullValue": {
|
|
731
|
+
"description": "Value nullValue",
|
|
732
|
+
"enum": [
|
|
733
|
+
0,
|
|
734
|
+
"NULL_VALUE"
|
|
735
|
+
],
|
|
736
|
+
"type": [
|
|
737
|
+
"number",
|
|
738
|
+
"string"
|
|
739
|
+
]
|
|
740
|
+
},
|
|
741
|
+
"numberValue": {
|
|
742
|
+
"description": "Value numberValue",
|
|
1287
743
|
"type": "number"
|
|
744
|
+
},
|
|
745
|
+
"stringValue": {
|
|
746
|
+
"description": "Value stringValue",
|
|
747
|
+
"type": "string"
|
|
748
|
+
},
|
|
749
|
+
"structValue": {
|
|
750
|
+
"$ref": "#/definitions/IStruct",
|
|
751
|
+
"description": "Value structValue"
|
|
1288
752
|
}
|
|
1289
753
|
},
|
|
1290
|
-
"
|
|
1291
|
-
|
|
1292
|
-
|
|
1293
|
-
|
|
1294
|
-
|
|
1295
|
-
|
|
1296
|
-
"
|
|
1297
|
-
|
|
1298
|
-
|
|
1299
|
-
|
|
1300
|
-
|
|
1301
|
-
|
|
1302
|
-
|
|
754
|
+
"type": "object"
|
|
755
|
+
},
|
|
756
|
+
"Long": {
|
|
757
|
+
"additionalProperties": false,
|
|
758
|
+
"properties": {
|
|
759
|
+
"high": {
|
|
760
|
+
"description": "The high 32 bits as a signed value.",
|
|
761
|
+
"type": "number"
|
|
762
|
+
},
|
|
763
|
+
"low": {
|
|
764
|
+
"description": "The low 32 bits as a signed value.",
|
|
765
|
+
"type": "number"
|
|
766
|
+
},
|
|
767
|
+
"unsigned": {
|
|
768
|
+
"default": false,
|
|
769
|
+
"description": "Whether unsigned or not.",
|
|
770
|
+
"type": "boolean"
|
|
771
|
+
}
|
|
772
|
+
},
|
|
773
|
+
"required": [
|
|
774
|
+
"high",
|
|
775
|
+
"low"
|
|
776
|
+
],
|
|
777
|
+
"type": "object"
|
|
778
|
+
},
|
|
779
|
+
"Partial<RetryOptions>": {
|
|
780
|
+
"additionalProperties": false,
|
|
781
|
+
"description": "Make all properties in T optional",
|
|
782
|
+
"properties": {
|
|
783
|
+
"backoffSettings": {
|
|
784
|
+
"$ref": "#/definitions/BackoffSettings"
|
|
785
|
+
},
|
|
786
|
+
"retryCodes": {
|
|
787
|
+
"items": {
|
|
1303
788
|
"type": "number"
|
|
1304
789
|
},
|
|
1305
|
-
"
|
|
1306
|
-
|
|
1307
|
-
"number",
|
|
1308
|
-
"null"
|
|
1309
|
-
]
|
|
1310
|
-
},
|
|
1311
|
-
"maxRpcTimeoutMillis": {
|
|
1312
|
-
"type": [
|
|
1313
|
-
"number",
|
|
1314
|
-
"null"
|
|
1315
|
-
]
|
|
1316
|
-
},
|
|
1317
|
-
"totalTimeoutMillis": {
|
|
1318
|
-
"type": [
|
|
1319
|
-
"number",
|
|
1320
|
-
"null"
|
|
1321
|
-
]
|
|
1322
|
-
},
|
|
1323
|
-
"rpcTimeoutMultiplier": {
|
|
1324
|
-
"type": [
|
|
1325
|
-
"number",
|
|
1326
|
-
"null"
|
|
1327
|
-
]
|
|
1328
|
-
}
|
|
1329
|
-
},
|
|
1330
|
-
"required": [
|
|
1331
|
-
"initialRetryDelayMillis",
|
|
1332
|
-
"retryDelayMultiplier",
|
|
1333
|
-
"maxRetryDelayMillis"
|
|
1334
|
-
]
|
|
790
|
+
"type": "array"
|
|
791
|
+
}
|
|
1335
792
|
},
|
|
1336
|
-
"
|
|
1337
|
-
|
|
793
|
+
"type": "object"
|
|
794
|
+
},
|
|
795
|
+
"RetryRequestOptions": {
|
|
796
|
+
"additionalProperties": false,
|
|
797
|
+
"description": "Per-call configurable settings for working with retry-request\nSee the repo README for more about the parameters\nhttps://github.com/googleapis/retry-request\nWill be deprecated in a future release. Only relevant to server streaming calls",
|
|
798
|
+
"properties": {
|
|
799
|
+
"currentRetryAttempt": {
|
|
800
|
+
"type": "number"
|
|
801
|
+
},
|
|
802
|
+
"maxRetryDelay": {
|
|
803
|
+
"type": "number"
|
|
804
|
+
},
|
|
805
|
+
"noResponseRetries": {
|
|
806
|
+
"type": "number"
|
|
807
|
+
},
|
|
808
|
+
"objectMode": {
|
|
809
|
+
"default": false,
|
|
810
|
+
"type": "boolean"
|
|
811
|
+
},
|
|
812
|
+
"request": {},
|
|
813
|
+
"retries": {
|
|
814
|
+
"type": "number"
|
|
815
|
+
},
|
|
816
|
+
"retryDelayMultiplier": {
|
|
817
|
+
"type": "number"
|
|
818
|
+
},
|
|
819
|
+
"totalTimeout": {
|
|
820
|
+
"type": "number"
|
|
821
|
+
}
|
|
822
|
+
},
|
|
823
|
+
"type": "object"
|
|
824
|
+
},
|
|
825
|
+
"subscriptionOptions&2$labels": {
|
|
826
|
+
"additionalProperties": {
|
|
827
|
+
"type": "string"
|
|
828
|
+
},
|
|
829
|
+
"type": "object"
|
|
830
|
+
},
|
|
831
|
+
"subscriptionOptions&2$messageTransforms[]$aiInference$unstructuredInference$parameters$fields": {
|
|
832
|
+
"additionalProperties": {
|
|
833
|
+
"$ref": "#/definitions/IValue"
|
|
834
|
+
},
|
|
835
|
+
"type": "object"
|
|
836
|
+
},
|
|
837
|
+
"subscriptionOptions&2$messageTransforms[]$aiInference$unstructuredInference$parameters$fields$[key: string]$structValue$fields": {
|
|
838
|
+
"additionalProperties": {
|
|
839
|
+
"$ref": "#/definitions/IValue"
|
|
840
|
+
},
|
|
841
|
+
"type": "object"
|
|
842
|
+
},
|
|
843
|
+
"subscriptionOptions&2$pushConfig$attributes": {
|
|
844
|
+
"additionalProperties": {
|
|
845
|
+
"type": "string"
|
|
846
|
+
},
|
|
847
|
+
"type": "object"
|
|
848
|
+
},
|
|
849
|
+
"subscriptionOptions&2$tags": {
|
|
850
|
+
"additionalProperties": {
|
|
851
|
+
"type": "string"
|
|
852
|
+
},
|
|
853
|
+
"type": "object"
|
|
854
|
+
},
|
|
855
|
+
"subscriptionOptions&3$gaxOpts$otherArgs": {
|
|
856
|
+
"additionalProperties": {},
|
|
857
|
+
"type": "object"
|
|
1338
858
|
}
|
|
1339
859
|
},
|
|
1340
|
-
"
|
|
1341
|
-
|
|
1342
|
-
"
|
|
1343
|
-
|
|
1344
|
-
|
|
1345
|
-
|
|
1346
|
-
|
|
1347
|
-
|
|
1348
|
-
|
|
1349
|
-
|
|
1350
|
-
|
|
1351
|
-
|
|
1352
|
-
|
|
1353
|
-
|
|
1354
|
-
|
|
1355
|
-
|
|
1356
|
-
|
|
1357
|
-
|
|
1358
|
-
|
|
1359
|
-
|
|
1360
|
-
|
|
1361
|
-
|
|
1362
|
-
|
|
1363
|
-
|
|
1364
|
-
|
|
1365
|
-
|
|
1366
|
-
|
|
1367
|
-
|
|
1368
|
-
|
|
1369
|
-
|
|
1370
|
-
|
|
1371
|
-
|
|
1372
|
-
|
|
1373
|
-
|
|
1374
|
-
|
|
1375
|
-
|
|
1376
|
-
|
|
1377
|
-
|
|
1378
|
-
"
|
|
1379
|
-
|
|
1380
|
-
|
|
1381
|
-
|
|
860
|
+
"description": "Configuration for {@link GCPPubSubService}",
|
|
861
|
+
"properties": {
|
|
862
|
+
"subscriptionOptions": {
|
|
863
|
+
"additionalProperties": false,
|
|
864
|
+
"description": "Subscription options to pass to GCP",
|
|
865
|
+
"properties": {
|
|
866
|
+
"ackDeadlineSeconds": {
|
|
867
|
+
"description": "Subscription ackDeadlineSeconds",
|
|
868
|
+
"type": "number"
|
|
869
|
+
},
|
|
870
|
+
"analyticsHubSubscriptionInfo": {
|
|
871
|
+
"$ref": "#/definitions/IAnalyticsHubSubscriptionInfo",
|
|
872
|
+
"description": "Subscription analyticsHubSubscriptionInfo"
|
|
873
|
+
},
|
|
874
|
+
"bigqueryConfig": {
|
|
875
|
+
"$ref": "#/definitions/IBigQueryConfig",
|
|
876
|
+
"description": "Subscription bigqueryConfig"
|
|
877
|
+
},
|
|
878
|
+
"bigtableConfig": {
|
|
879
|
+
"$ref": "#/definitions/IBigtableConfig",
|
|
880
|
+
"description": "Subscription bigtableConfig"
|
|
881
|
+
},
|
|
882
|
+
"cloudStorageConfig": {
|
|
883
|
+
"$ref": "#/definitions/ICloudStorageConfig",
|
|
884
|
+
"description": "Subscription cloudStorageConfig"
|
|
885
|
+
},
|
|
886
|
+
"deadLetterPolicy": {
|
|
887
|
+
"$ref": "#/definitions/IDeadLetterPolicy",
|
|
888
|
+
"description": "Subscription deadLetterPolicy"
|
|
889
|
+
},
|
|
890
|
+
"detached": {
|
|
891
|
+
"default": false,
|
|
892
|
+
"description": "Subscription detached",
|
|
893
|
+
"type": "boolean"
|
|
894
|
+
},
|
|
895
|
+
"enableExactlyOnceDelivery": {
|
|
896
|
+
"default": false,
|
|
897
|
+
"description": "Subscription enableExactlyOnceDelivery",
|
|
898
|
+
"type": "boolean"
|
|
899
|
+
},
|
|
900
|
+
"enableMessageOrdering": {
|
|
901
|
+
"default": false,
|
|
902
|
+
"description": "Subscription enableMessageOrdering",
|
|
903
|
+
"type": "boolean"
|
|
904
|
+
},
|
|
905
|
+
"expirationPolicy": {
|
|
906
|
+
"$ref": "#/definitions/IExpirationPolicy",
|
|
907
|
+
"description": "Subscription expirationPolicy"
|
|
908
|
+
},
|
|
909
|
+
"filter": {
|
|
910
|
+
"description": "Subscription filter",
|
|
911
|
+
"type": "string"
|
|
912
|
+
},
|
|
913
|
+
"flowControl": {
|
|
914
|
+
"$ref": "#/definitions/FlowControlOptions"
|
|
915
|
+
},
|
|
916
|
+
"gaxOpts": {
|
|
917
|
+
"$ref": "#/definitions/CallOptions"
|
|
918
|
+
},
|
|
919
|
+
"labels": {
|
|
920
|
+
"$ref": "#/definitions/subscriptionOptions%262%24labels",
|
|
921
|
+
"description": "Subscription labels"
|
|
922
|
+
},
|
|
923
|
+
"messageRetentionDuration": {
|
|
924
|
+
"anyOf": [
|
|
925
|
+
{
|
|
926
|
+
"type": "number"
|
|
927
|
+
},
|
|
928
|
+
{
|
|
929
|
+
"$ref": "#/definitions/IDuration"
|
|
930
|
+
}
|
|
931
|
+
]
|
|
932
|
+
},
|
|
933
|
+
"messageTransforms": {
|
|
934
|
+
"description": "Subscription messageTransforms",
|
|
935
|
+
"items": {
|
|
936
|
+
"$ref": "#/definitions/IMessageTransform"
|
|
937
|
+
},
|
|
938
|
+
"type": "array"
|
|
939
|
+
},
|
|
940
|
+
"name": {
|
|
941
|
+
"description": "Subscription name",
|
|
942
|
+
"type": "string"
|
|
943
|
+
},
|
|
944
|
+
"oidcToken": {
|
|
945
|
+
"$ref": "#/definitions/IOidcToken"
|
|
946
|
+
},
|
|
947
|
+
"pushConfig": {
|
|
948
|
+
"$ref": "#/definitions/IPushConfig",
|
|
949
|
+
"description": "Subscription pushConfig"
|
|
950
|
+
},
|
|
951
|
+
"pushEndpoint": {
|
|
952
|
+
"type": "string"
|
|
953
|
+
},
|
|
954
|
+
"retainAckedMessages": {
|
|
955
|
+
"default": false,
|
|
956
|
+
"description": "Subscription retainAckedMessages",
|
|
957
|
+
"type": "boolean"
|
|
958
|
+
},
|
|
959
|
+
"retryPolicy": {
|
|
960
|
+
"$ref": "#/definitions/IRetryPolicy",
|
|
961
|
+
"description": "Subscription retryPolicy"
|
|
962
|
+
},
|
|
963
|
+
"state": {
|
|
964
|
+
"description": "Subscription state",
|
|
965
|
+
"enum": [
|
|
966
|
+
"STATE_UNSPECIFIED",
|
|
967
|
+
"ACTIVE",
|
|
968
|
+
0,
|
|
969
|
+
1,
|
|
970
|
+
2,
|
|
971
|
+
"RESOURCE_ERROR"
|
|
972
|
+
],
|
|
973
|
+
"type": [
|
|
974
|
+
"string",
|
|
975
|
+
"number"
|
|
976
|
+
]
|
|
977
|
+
},
|
|
978
|
+
"tags": {
|
|
979
|
+
"$ref": "#/definitions/subscriptionOptions%262%24tags",
|
|
980
|
+
"description": "Subscription tags"
|
|
981
|
+
},
|
|
982
|
+
"topic": {
|
|
983
|
+
"description": "Subscription topic",
|
|
984
|
+
"type": "string"
|
|
985
|
+
},
|
|
986
|
+
"topicMessageRetentionDuration": {
|
|
987
|
+
"$ref": "#/definitions/IDuration",
|
|
988
|
+
"description": "Subscription topicMessageRetentionDuration"
|
|
989
|
+
}
|
|
1382
990
|
},
|
|
1383
|
-
"
|
|
1384
|
-
"type": [
|
|
1385
|
-
"string",
|
|
1386
|
-
"null"
|
|
1387
|
-
],
|
|
1388
|
-
"description": "OidcToken audience"
|
|
1389
|
-
}
|
|
991
|
+
"type": "object"
|
|
1390
992
|
},
|
|
1391
|
-
"
|
|
1392
|
-
|
|
993
|
+
"topic": {
|
|
994
|
+
"description": "Topic to use on GCP",
|
|
995
|
+
"type": "string"
|
|
996
|
+
},
|
|
997
|
+
"type": {
|
|
998
|
+
"description": "Type of the service",
|
|
999
|
+
"type": "string"
|
|
1000
|
+
},
|
|
1001
|
+
"openapi": {
|
|
1002
|
+
"type": "object",
|
|
1003
|
+
"additionalProperties": true
|
|
1004
|
+
}
|
|
1005
|
+
},
|
|
1006
|
+
"required": [
|
|
1007
|
+
"topic",
|
|
1008
|
+
"type"
|
|
1009
|
+
],
|
|
1010
|
+
"type": "object",
|
|
1011
|
+
"title": "GCPPubSubService"
|
|
1393
1012
|
},
|
|
1394
|
-
"
|
|
1013
|
+
"Configuration": "lib/services/pubsub.service:GCPPubSubParameters"
|
|
1395
1014
|
},
|
|
1396
1015
|
"Webda/GoogleCloudQueue": {
|
|
1397
|
-
"
|
|
1398
|
-
"
|
|
1399
|
-
"
|
|
1400
|
-
|
|
1401
|
-
|
|
1402
|
-
|
|
1403
|
-
|
|
1404
|
-
|
|
1405
|
-
|
|
1406
|
-
|
|
1407
|
-
|
|
1408
|
-
|
|
1409
|
-
|
|
1410
|
-
|
|
1411
|
-
|
|
1412
|
-
|
|
1016
|
+
"Import": "lib/services/queue.service:default",
|
|
1017
|
+
"Schema": {
|
|
1018
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
1019
|
+
"additionalProperties": false,
|
|
1020
|
+
"definitions": {
|
|
1021
|
+
"WaitDelayerDefinition": {
|
|
1022
|
+
"additionalProperties": false,
|
|
1023
|
+
"description": "Configuration object for selecting and parameterizing a `WaitDelayer` from the registry.",
|
|
1024
|
+
"properties": {
|
|
1025
|
+
"interval": {
|
|
1026
|
+
"description": "Base interval in milliseconds passed to the delayer factory.",
|
|
1027
|
+
"type": "number"
|
|
1028
|
+
},
|
|
1029
|
+
"type": {
|
|
1030
|
+
"description": "Key identifying the factory in `WaitDelayerFactories.registry` (e.g. `\"linear\"`, `\"exponential\"`).",
|
|
1031
|
+
"type": "string"
|
|
1032
|
+
}
|
|
1413
1033
|
},
|
|
1414
|
-
"
|
|
1415
|
-
"
|
|
1416
|
-
"
|
|
1417
|
-
|
|
1418
|
-
|
|
1419
|
-
|
|
1420
|
-
"interval",
|
|
1421
|
-
"type"
|
|
1422
|
-
],
|
|
1423
|
-
"description": "Delayer between two failed attempts to process messages"
|
|
1424
|
-
},
|
|
1425
|
-
"workerParallelism": {
|
|
1426
|
-
"type": "boolean",
|
|
1427
|
-
"description": "Define if worker should process multi message received in //",
|
|
1428
|
-
"default": true
|
|
1429
|
-
},
|
|
1430
|
-
"maxConsumers": {
|
|
1431
|
-
"type": "number",
|
|
1432
|
-
"description": "Max number of queue consumers Queue will auto increase to this max number if queue is loaded and it will decrease to just one consumer if no messages are available",
|
|
1433
|
-
"default": 10
|
|
1434
|
-
},
|
|
1435
|
-
"topic": {
|
|
1436
|
-
"type": "string",
|
|
1437
|
-
"description": "Topic to use"
|
|
1034
|
+
"required": [
|
|
1035
|
+
"interval",
|
|
1036
|
+
"type"
|
|
1037
|
+
],
|
|
1038
|
+
"type": "object"
|
|
1039
|
+
}
|
|
1438
1040
|
},
|
|
1439
|
-
"
|
|
1440
|
-
|
|
1441
|
-
"
|
|
1041
|
+
"description": "GCPQueue Parameters",
|
|
1042
|
+
"properties": {
|
|
1043
|
+
"maxConsumers": {
|
|
1044
|
+
"default": 10,
|
|
1045
|
+
"description": "Max number of queue consumers\nQueue will auto increase to this max number if queue is loaded\nand it will decrease to just one consumer if no messages are available",
|
|
1046
|
+
"type": "number"
|
|
1047
|
+
},
|
|
1048
|
+
"mode": {
|
|
1049
|
+
"default": "consumer",
|
|
1050
|
+
"description": "If receiver, the usage is to call receiveMessage and deleteMessage manually\nIf consumer, the usage is to call consume, the normal flow is used in parallel",
|
|
1051
|
+
"enum": [
|
|
1052
|
+
"consumer",
|
|
1053
|
+
"receiver"
|
|
1054
|
+
],
|
|
1055
|
+
"type": "string"
|
|
1056
|
+
},
|
|
1057
|
+
"subscription": {
|
|
1058
|
+
"description": "Subscription to use for the queue\n\nAll instances will use the same subscription to create a queue style pubsub",
|
|
1059
|
+
"type": "string"
|
|
1060
|
+
},
|
|
1061
|
+
"timeout": {
|
|
1062
|
+
"description": "Timeout when receiveMessage is used before returning empty result (in ms)\n\nIf not define then no timeout is applied and receiveMessage can hang forever",
|
|
1063
|
+
"type": "number"
|
|
1064
|
+
},
|
|
1065
|
+
"topic": {
|
|
1066
|
+
"description": "Topic to use",
|
|
1067
|
+
"type": "string"
|
|
1068
|
+
},
|
|
1069
|
+
"type": {
|
|
1070
|
+
"description": "Type of the service",
|
|
1071
|
+
"type": "string"
|
|
1072
|
+
},
|
|
1073
|
+
"workerDelayer": {
|
|
1074
|
+
"$ref": "#/definitions/WaitDelayerDefinition",
|
|
1075
|
+
"description": "Delayer between two failed attempts to process messages"
|
|
1076
|
+
},
|
|
1077
|
+
"workerParallelism": {
|
|
1078
|
+
"default": true,
|
|
1079
|
+
"description": "Define if worker should process multi message received in //",
|
|
1080
|
+
"type": "boolean"
|
|
1081
|
+
},
|
|
1082
|
+
"openapi": {
|
|
1083
|
+
"type": "object",
|
|
1084
|
+
"additionalProperties": true
|
|
1085
|
+
}
|
|
1442
1086
|
},
|
|
1443
|
-
"
|
|
1444
|
-
"
|
|
1445
|
-
"
|
|
1087
|
+
"required": [
|
|
1088
|
+
"subscription",
|
|
1089
|
+
"topic",
|
|
1090
|
+
"type"
|
|
1091
|
+
],
|
|
1092
|
+
"type": "object",
|
|
1093
|
+
"title": "GCPQueue"
|
|
1094
|
+
},
|
|
1095
|
+
"Configuration": "lib/services/queue.service:GCPQueueParameters"
|
|
1096
|
+
},
|
|
1097
|
+
"Webda/GoogleCloudStorage": {
|
|
1098
|
+
"Import": "lib/services/storage.service:default",
|
|
1099
|
+
"Schema": {
|
|
1100
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
1101
|
+
"additionalProperties": false,
|
|
1102
|
+
"definitions": {
|
|
1103
|
+
"models": {
|
|
1104
|
+
"additionalProperties": {
|
|
1105
|
+
"items": {
|
|
1106
|
+
"type": "string"
|
|
1107
|
+
},
|
|
1108
|
+
"type": "array"
|
|
1109
|
+
},
|
|
1110
|
+
"description": "Define the map of models\n* indicates all models\n\nkey is a Store name\nthe string[] represent all valids attributes to store files in * indicates all attributes",
|
|
1111
|
+
"type": "object"
|
|
1112
|
+
}
|
|
1446
1113
|
},
|
|
1447
|
-
"
|
|
1448
|
-
|
|
1449
|
-
"
|
|
1450
|
-
"
|
|
1451
|
-
"
|
|
1452
|
-
|
|
1453
|
-
"
|
|
1114
|
+
"description": "Configuration for {@link Storage}",
|
|
1115
|
+
"properties": {
|
|
1116
|
+
"bucket": {
|
|
1117
|
+
"description": "Bucket to store binaries in",
|
|
1118
|
+
"type": "string"
|
|
1119
|
+
},
|
|
1120
|
+
"endpoint": {
|
|
1121
|
+
"description": "Specify endpoint for GCS",
|
|
1122
|
+
"type": "string"
|
|
1123
|
+
},
|
|
1124
|
+
"maxFileSize": {
|
|
1125
|
+
"default": "10 MB",
|
|
1126
|
+
"description": "Define the maximum filesize to accept as direct upload\nGet the max file size in bytes",
|
|
1127
|
+
"returns": "the result number",
|
|
1128
|
+
"type": "number"
|
|
1129
|
+
},
|
|
1130
|
+
"models": {
|
|
1131
|
+
"$ref": "#/definitions/models",
|
|
1132
|
+
"description": "Define the map of models\n* indicates all models\n\nkey is a Store name\nthe string[] represent all valids attributes to store files in * indicates all attributes"
|
|
1133
|
+
},
|
|
1134
|
+
"prefix": {
|
|
1135
|
+
"type": "string"
|
|
1136
|
+
},
|
|
1137
|
+
"type": {
|
|
1138
|
+
"description": "Type of the service",
|
|
1139
|
+
"type": "string"
|
|
1140
|
+
},
|
|
1141
|
+
"openapi": {
|
|
1142
|
+
"type": "object",
|
|
1143
|
+
"additionalProperties": true
|
|
1144
|
+
}
|
|
1454
1145
|
},
|
|
1455
|
-
"
|
|
1456
|
-
"
|
|
1457
|
-
"
|
|
1458
|
-
|
|
1146
|
+
"required": [
|
|
1147
|
+
"bucket",
|
|
1148
|
+
"models",
|
|
1149
|
+
"type"
|
|
1150
|
+
],
|
|
1151
|
+
"type": "object",
|
|
1152
|
+
"title": "Storage"
|
|
1459
1153
|
},
|
|
1460
|
-
"
|
|
1461
|
-
|
|
1462
|
-
|
|
1463
|
-
|
|
1464
|
-
|
|
1465
|
-
|
|
1466
|
-
],
|
|
1467
|
-
"description": "GCPQueue Parameters",
|
|
1154
|
+
"Configuration": "lib/services/storage.service:StorageParameters"
|
|
1155
|
+
}
|
|
1156
|
+
},
|
|
1157
|
+
"models": {},
|
|
1158
|
+
"schemas": {
|
|
1159
|
+
"Webda/BinaryFile": {
|
|
1468
1160
|
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
1469
|
-
"
|
|
1470
|
-
|
|
1471
|
-
|
|
1472
|
-
"type": "object",
|
|
1161
|
+
"WebdaSchema": true,
|
|
1162
|
+
"additionalProperties": false,
|
|
1163
|
+
"description": "Represent a file to store",
|
|
1473
1164
|
"properties": {
|
|
1474
|
-
"
|
|
1475
|
-
"
|
|
1476
|
-
"
|
|
1477
|
-
},
|
|
1478
|
-
"url": {
|
|
1479
|
-
"type": "string",
|
|
1480
|
-
"description": "URL on which to serve the content"
|
|
1165
|
+
"challenge": {
|
|
1166
|
+
"description": "Will be computed by the service\n\nhash of the content prefixed by 'WEBDA'",
|
|
1167
|
+
"type": "string"
|
|
1481
1168
|
},
|
|
1482
|
-
"
|
|
1483
|
-
"
|
|
1484
|
-
"
|
|
1485
|
-
"type": "array",
|
|
1486
|
-
"items": {
|
|
1487
|
-
"type": "string"
|
|
1488
|
-
}
|
|
1489
|
-
},
|
|
1490
|
-
"description": "Define the map of models\n* indicates all models\n\nkey is a Store name the string[] represent all valids attributes to store files in * indicates all attributes"
|
|
1169
|
+
"hash": {
|
|
1170
|
+
"description": "Will be computed by the service\n\nhash of the content",
|
|
1171
|
+
"type": "string"
|
|
1491
1172
|
},
|
|
1492
|
-
"
|
|
1493
|
-
"
|
|
1494
|
-
"description": "Define the maximum filesize to accept as direct upload",
|
|
1495
|
-
"default": "10*1024*1024"
|
|
1173
|
+
"metadata": {
|
|
1174
|
+
"description": "Metadatas stored along with the binary"
|
|
1496
1175
|
},
|
|
1497
|
-
"
|
|
1176
|
+
"mimetype": {
|
|
1177
|
+
"description": "Mimetype of the binary",
|
|
1498
1178
|
"type": "string"
|
|
1499
1179
|
},
|
|
1500
|
-
"
|
|
1180
|
+
"name": {
|
|
1181
|
+
"description": "Current name",
|
|
1501
1182
|
"type": "string"
|
|
1502
1183
|
},
|
|
1503
|
-
"
|
|
1504
|
-
"
|
|
1505
|
-
"
|
|
1184
|
+
"originalname": {
|
|
1185
|
+
"description": "Original name",
|
|
1186
|
+
"type": "string"
|
|
1506
1187
|
},
|
|
1507
|
-
"
|
|
1508
|
-
"
|
|
1509
|
-
"
|
|
1188
|
+
"size": {
|
|
1189
|
+
"description": "Size of the binary",
|
|
1190
|
+
"type": "number"
|
|
1510
1191
|
}
|
|
1511
1192
|
},
|
|
1512
1193
|
"required": [
|
|
1513
|
-
"
|
|
1514
|
-
"
|
|
1515
|
-
"
|
|
1194
|
+
"mimetype",
|
|
1195
|
+
"name",
|
|
1196
|
+
"size"
|
|
1516
1197
|
],
|
|
1517
|
-
"
|
|
1518
|
-
"title": "
|
|
1198
|
+
"type": "object",
|
|
1199
|
+
"title": "BinaryFile"
|
|
1519
1200
|
}
|
|
1520
|
-
}
|
|
1201
|
+
},
|
|
1202
|
+
"behaviors": {}
|
|
1521
1203
|
}
|