@google-cloud/pubsub-api 0.2.0
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 +111 -0
- package/build/protos/google/pubsub/v1/pubsub.proto +2588 -0
- package/build/protos/google/pubsub/v1/schema.proto +409 -0
- package/build/protos/protos.d.ts +18963 -0
- package/build/protos/protos.js +1 -0
- package/build/protos/protos.json +1 -0
- package/build/src/index.d.ts +17 -0
- package/build/src/index.js +32 -0
- package/build/src/index.js.map +1 -0
- package/build/src/v1/gapic_metadata.json +424 -0
- package/build/src/v1/index.d.ts +3 -0
- package/build/src/v1/index.js +27 -0
- package/build/src/v1/index.js.map +1 -0
- package/build/src/v1/publisher_client.d.ts +835 -0
- package/build/src/v1/publisher_client.js +1260 -0
- package/build/src/v1/publisher_client.js.map +1 -0
- package/build/src/v1/publisher_client_config.json +97 -0
- package/build/src/v1/publisher_proto_list.json +4 -0
- package/build/src/v1/schema_service_client.d.ts +745 -0
- package/build/src/v1/schema_service_client.js +1176 -0
- package/build/src/v1/schema_service_client.js.map +1 -0
- package/build/src/v1/schema_service_client_config.json +79 -0
- package/build/src/v1/schema_service_proto_list.json +4 -0
- package/build/src/v1/subscriber_client.d.ts +1159 -0
- package/build/src/v1/subscriber_client.js +1491 -0
- package/build/src/v1/subscriber_client.js.map +1 -0
- package/build/src/v1/subscriber_client_config.json +136 -0
- package/build/src/v1/subscriber_proto_list.json +4 -0
- package/package.json +66 -0
|
@@ -0,0 +1,424 @@
|
|
|
1
|
+
{
|
|
2
|
+
"schema": "1.0",
|
|
3
|
+
"comment": "This file maps proto services/RPCs to the corresponding library clients/methods",
|
|
4
|
+
"language": "typescript",
|
|
5
|
+
"protoPackage": "google.pubsub.v1",
|
|
6
|
+
"libraryPackage": "@google-cloud/pubsub-api",
|
|
7
|
+
"services": {
|
|
8
|
+
"Publisher": {
|
|
9
|
+
"clients": {
|
|
10
|
+
"grpc": {
|
|
11
|
+
"libraryClient": "PublisherClient",
|
|
12
|
+
"rpcs": {
|
|
13
|
+
"CreateTopic": {
|
|
14
|
+
"methods": [
|
|
15
|
+
"createTopic"
|
|
16
|
+
]
|
|
17
|
+
},
|
|
18
|
+
"UpdateTopic": {
|
|
19
|
+
"methods": [
|
|
20
|
+
"updateTopic"
|
|
21
|
+
]
|
|
22
|
+
},
|
|
23
|
+
"Publish": {
|
|
24
|
+
"methods": [
|
|
25
|
+
"publish"
|
|
26
|
+
]
|
|
27
|
+
},
|
|
28
|
+
"GetTopic": {
|
|
29
|
+
"methods": [
|
|
30
|
+
"getTopic"
|
|
31
|
+
]
|
|
32
|
+
},
|
|
33
|
+
"DeleteTopic": {
|
|
34
|
+
"methods": [
|
|
35
|
+
"deleteTopic"
|
|
36
|
+
]
|
|
37
|
+
},
|
|
38
|
+
"DetachSubscription": {
|
|
39
|
+
"methods": [
|
|
40
|
+
"detachSubscription"
|
|
41
|
+
]
|
|
42
|
+
},
|
|
43
|
+
"ListTopics": {
|
|
44
|
+
"methods": [
|
|
45
|
+
"listTopics",
|
|
46
|
+
"listTopicsStream",
|
|
47
|
+
"listTopicsAsync"
|
|
48
|
+
]
|
|
49
|
+
},
|
|
50
|
+
"ListTopicSubscriptions": {
|
|
51
|
+
"methods": [
|
|
52
|
+
"listTopicSubscriptions",
|
|
53
|
+
"listTopicSubscriptionsStream",
|
|
54
|
+
"listTopicSubscriptionsAsync"
|
|
55
|
+
]
|
|
56
|
+
},
|
|
57
|
+
"ListTopicSnapshots": {
|
|
58
|
+
"methods": [
|
|
59
|
+
"listTopicSnapshots",
|
|
60
|
+
"listTopicSnapshotsStream",
|
|
61
|
+
"listTopicSnapshotsAsync"
|
|
62
|
+
]
|
|
63
|
+
}
|
|
64
|
+
}
|
|
65
|
+
},
|
|
66
|
+
"grpc-fallback": {
|
|
67
|
+
"libraryClient": "PublisherClient",
|
|
68
|
+
"rpcs": {
|
|
69
|
+
"CreateTopic": {
|
|
70
|
+
"methods": [
|
|
71
|
+
"createTopic"
|
|
72
|
+
]
|
|
73
|
+
},
|
|
74
|
+
"UpdateTopic": {
|
|
75
|
+
"methods": [
|
|
76
|
+
"updateTopic"
|
|
77
|
+
]
|
|
78
|
+
},
|
|
79
|
+
"Publish": {
|
|
80
|
+
"methods": [
|
|
81
|
+
"publish"
|
|
82
|
+
]
|
|
83
|
+
},
|
|
84
|
+
"GetTopic": {
|
|
85
|
+
"methods": [
|
|
86
|
+
"getTopic"
|
|
87
|
+
]
|
|
88
|
+
},
|
|
89
|
+
"DeleteTopic": {
|
|
90
|
+
"methods": [
|
|
91
|
+
"deleteTopic"
|
|
92
|
+
]
|
|
93
|
+
},
|
|
94
|
+
"DetachSubscription": {
|
|
95
|
+
"methods": [
|
|
96
|
+
"detachSubscription"
|
|
97
|
+
]
|
|
98
|
+
},
|
|
99
|
+
"ListTopics": {
|
|
100
|
+
"methods": [
|
|
101
|
+
"listTopics",
|
|
102
|
+
"listTopicsStream",
|
|
103
|
+
"listTopicsAsync"
|
|
104
|
+
]
|
|
105
|
+
},
|
|
106
|
+
"ListTopicSubscriptions": {
|
|
107
|
+
"methods": [
|
|
108
|
+
"listTopicSubscriptions",
|
|
109
|
+
"listTopicSubscriptionsStream",
|
|
110
|
+
"listTopicSubscriptionsAsync"
|
|
111
|
+
]
|
|
112
|
+
},
|
|
113
|
+
"ListTopicSnapshots": {
|
|
114
|
+
"methods": [
|
|
115
|
+
"listTopicSnapshots",
|
|
116
|
+
"listTopicSnapshotsStream",
|
|
117
|
+
"listTopicSnapshotsAsync"
|
|
118
|
+
]
|
|
119
|
+
}
|
|
120
|
+
}
|
|
121
|
+
}
|
|
122
|
+
}
|
|
123
|
+
},
|
|
124
|
+
"SchemaService": {
|
|
125
|
+
"clients": {
|
|
126
|
+
"grpc": {
|
|
127
|
+
"libraryClient": "SchemaServiceClient",
|
|
128
|
+
"rpcs": {
|
|
129
|
+
"CreateSchema": {
|
|
130
|
+
"methods": [
|
|
131
|
+
"createSchema"
|
|
132
|
+
]
|
|
133
|
+
},
|
|
134
|
+
"GetSchema": {
|
|
135
|
+
"methods": [
|
|
136
|
+
"getSchema"
|
|
137
|
+
]
|
|
138
|
+
},
|
|
139
|
+
"CommitSchema": {
|
|
140
|
+
"methods": [
|
|
141
|
+
"commitSchema"
|
|
142
|
+
]
|
|
143
|
+
},
|
|
144
|
+
"RollbackSchema": {
|
|
145
|
+
"methods": [
|
|
146
|
+
"rollbackSchema"
|
|
147
|
+
]
|
|
148
|
+
},
|
|
149
|
+
"DeleteSchemaRevision": {
|
|
150
|
+
"methods": [
|
|
151
|
+
"deleteSchemaRevision"
|
|
152
|
+
]
|
|
153
|
+
},
|
|
154
|
+
"DeleteSchema": {
|
|
155
|
+
"methods": [
|
|
156
|
+
"deleteSchema"
|
|
157
|
+
]
|
|
158
|
+
},
|
|
159
|
+
"ValidateSchema": {
|
|
160
|
+
"methods": [
|
|
161
|
+
"validateSchema"
|
|
162
|
+
]
|
|
163
|
+
},
|
|
164
|
+
"ValidateMessage": {
|
|
165
|
+
"methods": [
|
|
166
|
+
"validateMessage"
|
|
167
|
+
]
|
|
168
|
+
},
|
|
169
|
+
"ListSchemas": {
|
|
170
|
+
"methods": [
|
|
171
|
+
"listSchemas",
|
|
172
|
+
"listSchemasStream",
|
|
173
|
+
"listSchemasAsync"
|
|
174
|
+
]
|
|
175
|
+
},
|
|
176
|
+
"ListSchemaRevisions": {
|
|
177
|
+
"methods": [
|
|
178
|
+
"listSchemaRevisions",
|
|
179
|
+
"listSchemaRevisionsStream",
|
|
180
|
+
"listSchemaRevisionsAsync"
|
|
181
|
+
]
|
|
182
|
+
}
|
|
183
|
+
}
|
|
184
|
+
},
|
|
185
|
+
"grpc-fallback": {
|
|
186
|
+
"libraryClient": "SchemaServiceClient",
|
|
187
|
+
"rpcs": {
|
|
188
|
+
"CreateSchema": {
|
|
189
|
+
"methods": [
|
|
190
|
+
"createSchema"
|
|
191
|
+
]
|
|
192
|
+
},
|
|
193
|
+
"GetSchema": {
|
|
194
|
+
"methods": [
|
|
195
|
+
"getSchema"
|
|
196
|
+
]
|
|
197
|
+
},
|
|
198
|
+
"CommitSchema": {
|
|
199
|
+
"methods": [
|
|
200
|
+
"commitSchema"
|
|
201
|
+
]
|
|
202
|
+
},
|
|
203
|
+
"RollbackSchema": {
|
|
204
|
+
"methods": [
|
|
205
|
+
"rollbackSchema"
|
|
206
|
+
]
|
|
207
|
+
},
|
|
208
|
+
"DeleteSchemaRevision": {
|
|
209
|
+
"methods": [
|
|
210
|
+
"deleteSchemaRevision"
|
|
211
|
+
]
|
|
212
|
+
},
|
|
213
|
+
"DeleteSchema": {
|
|
214
|
+
"methods": [
|
|
215
|
+
"deleteSchema"
|
|
216
|
+
]
|
|
217
|
+
},
|
|
218
|
+
"ValidateSchema": {
|
|
219
|
+
"methods": [
|
|
220
|
+
"validateSchema"
|
|
221
|
+
]
|
|
222
|
+
},
|
|
223
|
+
"ValidateMessage": {
|
|
224
|
+
"methods": [
|
|
225
|
+
"validateMessage"
|
|
226
|
+
]
|
|
227
|
+
},
|
|
228
|
+
"ListSchemas": {
|
|
229
|
+
"methods": [
|
|
230
|
+
"listSchemas",
|
|
231
|
+
"listSchemasStream",
|
|
232
|
+
"listSchemasAsync"
|
|
233
|
+
]
|
|
234
|
+
},
|
|
235
|
+
"ListSchemaRevisions": {
|
|
236
|
+
"methods": [
|
|
237
|
+
"listSchemaRevisions",
|
|
238
|
+
"listSchemaRevisionsStream",
|
|
239
|
+
"listSchemaRevisionsAsync"
|
|
240
|
+
]
|
|
241
|
+
}
|
|
242
|
+
}
|
|
243
|
+
}
|
|
244
|
+
}
|
|
245
|
+
},
|
|
246
|
+
"Subscriber": {
|
|
247
|
+
"clients": {
|
|
248
|
+
"grpc": {
|
|
249
|
+
"libraryClient": "SubscriberClient",
|
|
250
|
+
"rpcs": {
|
|
251
|
+
"CreateSubscription": {
|
|
252
|
+
"methods": [
|
|
253
|
+
"createSubscription"
|
|
254
|
+
]
|
|
255
|
+
},
|
|
256
|
+
"GetSubscription": {
|
|
257
|
+
"methods": [
|
|
258
|
+
"getSubscription"
|
|
259
|
+
]
|
|
260
|
+
},
|
|
261
|
+
"UpdateSubscription": {
|
|
262
|
+
"methods": [
|
|
263
|
+
"updateSubscription"
|
|
264
|
+
]
|
|
265
|
+
},
|
|
266
|
+
"DeleteSubscription": {
|
|
267
|
+
"methods": [
|
|
268
|
+
"deleteSubscription"
|
|
269
|
+
]
|
|
270
|
+
},
|
|
271
|
+
"ModifyAckDeadline": {
|
|
272
|
+
"methods": [
|
|
273
|
+
"modifyAckDeadline"
|
|
274
|
+
]
|
|
275
|
+
},
|
|
276
|
+
"Acknowledge": {
|
|
277
|
+
"methods": [
|
|
278
|
+
"acknowledge"
|
|
279
|
+
]
|
|
280
|
+
},
|
|
281
|
+
"Pull": {
|
|
282
|
+
"methods": [
|
|
283
|
+
"pull"
|
|
284
|
+
]
|
|
285
|
+
},
|
|
286
|
+
"ModifyPushConfig": {
|
|
287
|
+
"methods": [
|
|
288
|
+
"modifyPushConfig"
|
|
289
|
+
]
|
|
290
|
+
},
|
|
291
|
+
"GetSnapshot": {
|
|
292
|
+
"methods": [
|
|
293
|
+
"getSnapshot"
|
|
294
|
+
]
|
|
295
|
+
},
|
|
296
|
+
"CreateSnapshot": {
|
|
297
|
+
"methods": [
|
|
298
|
+
"createSnapshot"
|
|
299
|
+
]
|
|
300
|
+
},
|
|
301
|
+
"UpdateSnapshot": {
|
|
302
|
+
"methods": [
|
|
303
|
+
"updateSnapshot"
|
|
304
|
+
]
|
|
305
|
+
},
|
|
306
|
+
"DeleteSnapshot": {
|
|
307
|
+
"methods": [
|
|
308
|
+
"deleteSnapshot"
|
|
309
|
+
]
|
|
310
|
+
},
|
|
311
|
+
"Seek": {
|
|
312
|
+
"methods": [
|
|
313
|
+
"seek"
|
|
314
|
+
]
|
|
315
|
+
},
|
|
316
|
+
"StreamingPull": {
|
|
317
|
+
"methods": [
|
|
318
|
+
"streamingPull"
|
|
319
|
+
]
|
|
320
|
+
},
|
|
321
|
+
"ListSubscriptions": {
|
|
322
|
+
"methods": [
|
|
323
|
+
"listSubscriptions",
|
|
324
|
+
"listSubscriptionsStream",
|
|
325
|
+
"listSubscriptionsAsync"
|
|
326
|
+
]
|
|
327
|
+
},
|
|
328
|
+
"ListSnapshots": {
|
|
329
|
+
"methods": [
|
|
330
|
+
"listSnapshots",
|
|
331
|
+
"listSnapshotsStream",
|
|
332
|
+
"listSnapshotsAsync"
|
|
333
|
+
]
|
|
334
|
+
}
|
|
335
|
+
}
|
|
336
|
+
},
|
|
337
|
+
"grpc-fallback": {
|
|
338
|
+
"libraryClient": "SubscriberClient",
|
|
339
|
+
"rpcs": {
|
|
340
|
+
"CreateSubscription": {
|
|
341
|
+
"methods": [
|
|
342
|
+
"createSubscription"
|
|
343
|
+
]
|
|
344
|
+
},
|
|
345
|
+
"GetSubscription": {
|
|
346
|
+
"methods": [
|
|
347
|
+
"getSubscription"
|
|
348
|
+
]
|
|
349
|
+
},
|
|
350
|
+
"UpdateSubscription": {
|
|
351
|
+
"methods": [
|
|
352
|
+
"updateSubscription"
|
|
353
|
+
]
|
|
354
|
+
},
|
|
355
|
+
"DeleteSubscription": {
|
|
356
|
+
"methods": [
|
|
357
|
+
"deleteSubscription"
|
|
358
|
+
]
|
|
359
|
+
},
|
|
360
|
+
"ModifyAckDeadline": {
|
|
361
|
+
"methods": [
|
|
362
|
+
"modifyAckDeadline"
|
|
363
|
+
]
|
|
364
|
+
},
|
|
365
|
+
"Acknowledge": {
|
|
366
|
+
"methods": [
|
|
367
|
+
"acknowledge"
|
|
368
|
+
]
|
|
369
|
+
},
|
|
370
|
+
"Pull": {
|
|
371
|
+
"methods": [
|
|
372
|
+
"pull"
|
|
373
|
+
]
|
|
374
|
+
},
|
|
375
|
+
"ModifyPushConfig": {
|
|
376
|
+
"methods": [
|
|
377
|
+
"modifyPushConfig"
|
|
378
|
+
]
|
|
379
|
+
},
|
|
380
|
+
"GetSnapshot": {
|
|
381
|
+
"methods": [
|
|
382
|
+
"getSnapshot"
|
|
383
|
+
]
|
|
384
|
+
},
|
|
385
|
+
"CreateSnapshot": {
|
|
386
|
+
"methods": [
|
|
387
|
+
"createSnapshot"
|
|
388
|
+
]
|
|
389
|
+
},
|
|
390
|
+
"UpdateSnapshot": {
|
|
391
|
+
"methods": [
|
|
392
|
+
"updateSnapshot"
|
|
393
|
+
]
|
|
394
|
+
},
|
|
395
|
+
"DeleteSnapshot": {
|
|
396
|
+
"methods": [
|
|
397
|
+
"deleteSnapshot"
|
|
398
|
+
]
|
|
399
|
+
},
|
|
400
|
+
"Seek": {
|
|
401
|
+
"methods": [
|
|
402
|
+
"seek"
|
|
403
|
+
]
|
|
404
|
+
},
|
|
405
|
+
"ListSubscriptions": {
|
|
406
|
+
"methods": [
|
|
407
|
+
"listSubscriptions",
|
|
408
|
+
"listSubscriptionsStream",
|
|
409
|
+
"listSubscriptionsAsync"
|
|
410
|
+
]
|
|
411
|
+
},
|
|
412
|
+
"ListSnapshots": {
|
|
413
|
+
"methods": [
|
|
414
|
+
"listSnapshots",
|
|
415
|
+
"listSnapshotsStream",
|
|
416
|
+
"listSnapshotsAsync"
|
|
417
|
+
]
|
|
418
|
+
}
|
|
419
|
+
}
|
|
420
|
+
}
|
|
421
|
+
}
|
|
422
|
+
}
|
|
423
|
+
}
|
|
424
|
+
}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// Copyright 2026 Google LLC
|
|
3
|
+
//
|
|
4
|
+
// Licensed under the Apache License, Version 2.0 (the "License");
|
|
5
|
+
// you may not use this file except in compliance with the License.
|
|
6
|
+
// You may obtain a copy of the License at
|
|
7
|
+
//
|
|
8
|
+
// https://www.apache.org/licenses/LICENSE-2.0
|
|
9
|
+
//
|
|
10
|
+
// Unless required by applicable law or agreed to in writing, software
|
|
11
|
+
// distributed under the License is distributed on an "AS IS" BASIS,
|
|
12
|
+
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
13
|
+
// See the License for the specific language governing permissions and
|
|
14
|
+
// limitations under the License.
|
|
15
|
+
//
|
|
16
|
+
// ** This file is automatically generated by gapic-generator-typescript. **
|
|
17
|
+
// ** https://github.com/googleapis/gapic-generator-typescript **
|
|
18
|
+
// ** All changes to this file may be overwritten. **
|
|
19
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
20
|
+
exports.SubscriberClient = exports.SchemaServiceClient = exports.PublisherClient = void 0;
|
|
21
|
+
var publisher_client_1 = require("./publisher_client");
|
|
22
|
+
Object.defineProperty(exports, "PublisherClient", { enumerable: true, get: function () { return publisher_client_1.PublisherClient; } });
|
|
23
|
+
var schema_service_client_1 = require("./schema_service_client");
|
|
24
|
+
Object.defineProperty(exports, "SchemaServiceClient", { enumerable: true, get: function () { return schema_service_client_1.SchemaServiceClient; } });
|
|
25
|
+
var subscriber_client_1 = require("./subscriber_client");
|
|
26
|
+
Object.defineProperty(exports, "SubscriberClient", { enumerable: true, get: function () { return subscriber_client_1.SubscriberClient; } });
|
|
27
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/v1/index.ts"],"names":[],"mappings":";AAAA,4BAA4B;AAC5B,EAAE;AACF,kEAAkE;AAClE,mEAAmE;AACnE,0CAA0C;AAC1C,EAAE;AACF,kDAAkD;AAClD,EAAE;AACF,sEAAsE;AACtE,oEAAoE;AACpE,2EAA2E;AAC3E,sEAAsE;AACtE,iCAAiC;AACjC,EAAE;AACF,4EAA4E;AAC5E,iEAAiE;AACjE,qDAAqD;;;AAErD,uDAAqD;AAA5C,mHAAA,eAAe,OAAA;AACxB,iEAA8D;AAArD,4HAAA,mBAAmB,OAAA;AAC5B,yDAAuD;AAA9C,qHAAA,gBAAgB,OAAA"}
|