@google-cloud/logging-api 0.1.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.
Files changed (33) hide show
  1. package/README.md +111 -0
  2. package/build/protos/google/logging/type/http_request.proto +95 -0
  3. package/build/protos/google/logging/type/log_severity.proto +71 -0
  4. package/build/protos/google/logging/v2/log_entry.proto +280 -0
  5. package/build/protos/google/logging/v2/logging.proto +483 -0
  6. package/build/protos/google/logging/v2/logging_config.proto +2317 -0
  7. package/build/protos/google/logging/v2/logging_metrics.proto +339 -0
  8. package/build/protos/protos.d.ts +19677 -0
  9. package/build/protos/protos.js +1 -0
  10. package/build/protos/protos.json +1 -0
  11. package/build/src/index.d.ts +17 -0
  12. package/build/src/index.js +32 -0
  13. package/build/src/index.js.map +1 -0
  14. package/build/src/v2/config_service_v2_client.d.ts +2879 -0
  15. package/build/src/v2/config_service_v2_client.js +3801 -0
  16. package/build/src/v2/config_service_v2_client.js.map +1 -0
  17. package/build/src/v2/config_service_v2_client_config.json +169 -0
  18. package/build/src/v2/config_service_v2_proto_list.json +8 -0
  19. package/build/src/v2/gapic_metadata.json +512 -0
  20. package/build/src/v2/index.d.ts +3 -0
  21. package/build/src/v2/index.js +27 -0
  22. package/build/src/v2/index.js.map +1 -0
  23. package/build/src/v2/logging_service_v2_client.d.ts +1617 -0
  24. package/build/src/v2/logging_service_v2_client.js +2177 -0
  25. package/build/src/v2/logging_service_v2_client.js.map +1 -0
  26. package/build/src/v2/logging_service_v2_client_config.json +61 -0
  27. package/build/src/v2/logging_service_v2_proto_list.json +8 -0
  28. package/build/src/v2/metrics_service_v2_client.d.ts +1249 -0
  29. package/build/src/v2/metrics_service_v2_client.js +1911 -0
  30. package/build/src/v2/metrics_service_v2_client.js.map +1 -0
  31. package/build/src/v2/metrics_service_v2_client_config.json +56 -0
  32. package/build/src/v2/metrics_service_v2_proto_list.json +8 -0
  33. package/package.json +67 -0
@@ -0,0 +1,512 @@
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.logging.v2",
6
+ "libraryPackage": "@google-cloud/logging-api",
7
+ "services": {
8
+ "ConfigServiceV2": {
9
+ "clients": {
10
+ "grpc": {
11
+ "libraryClient": "ConfigServiceV2Client",
12
+ "rpcs": {
13
+ "GetBucket": {
14
+ "methods": [
15
+ "getBucket"
16
+ ]
17
+ },
18
+ "CreateBucket": {
19
+ "methods": [
20
+ "createBucket"
21
+ ]
22
+ },
23
+ "UpdateBucket": {
24
+ "methods": [
25
+ "updateBucket"
26
+ ]
27
+ },
28
+ "DeleteBucket": {
29
+ "methods": [
30
+ "deleteBucket"
31
+ ]
32
+ },
33
+ "UndeleteBucket": {
34
+ "methods": [
35
+ "undeleteBucket"
36
+ ]
37
+ },
38
+ "GetView": {
39
+ "methods": [
40
+ "getView"
41
+ ]
42
+ },
43
+ "CreateView": {
44
+ "methods": [
45
+ "createView"
46
+ ]
47
+ },
48
+ "UpdateView": {
49
+ "methods": [
50
+ "updateView"
51
+ ]
52
+ },
53
+ "DeleteView": {
54
+ "methods": [
55
+ "deleteView"
56
+ ]
57
+ },
58
+ "GetSink": {
59
+ "methods": [
60
+ "getSink"
61
+ ]
62
+ },
63
+ "CreateSink": {
64
+ "methods": [
65
+ "createSink"
66
+ ]
67
+ },
68
+ "UpdateSink": {
69
+ "methods": [
70
+ "updateSink"
71
+ ]
72
+ },
73
+ "DeleteSink": {
74
+ "methods": [
75
+ "deleteSink"
76
+ ]
77
+ },
78
+ "GetLink": {
79
+ "methods": [
80
+ "getLink"
81
+ ]
82
+ },
83
+ "GetExclusion": {
84
+ "methods": [
85
+ "getExclusion"
86
+ ]
87
+ },
88
+ "CreateExclusion": {
89
+ "methods": [
90
+ "createExclusion"
91
+ ]
92
+ },
93
+ "UpdateExclusion": {
94
+ "methods": [
95
+ "updateExclusion"
96
+ ]
97
+ },
98
+ "DeleteExclusion": {
99
+ "methods": [
100
+ "deleteExclusion"
101
+ ]
102
+ },
103
+ "GetCmekSettings": {
104
+ "methods": [
105
+ "getCmekSettings"
106
+ ]
107
+ },
108
+ "UpdateCmekSettings": {
109
+ "methods": [
110
+ "updateCmekSettings"
111
+ ]
112
+ },
113
+ "GetSettings": {
114
+ "methods": [
115
+ "getSettings"
116
+ ]
117
+ },
118
+ "UpdateSettings": {
119
+ "methods": [
120
+ "updateSettings"
121
+ ]
122
+ },
123
+ "CreateBucketAsync": {
124
+ "methods": [
125
+ "createBucketAsync"
126
+ ]
127
+ },
128
+ "UpdateBucketAsync": {
129
+ "methods": [
130
+ "updateBucketAsync"
131
+ ]
132
+ },
133
+ "CreateLink": {
134
+ "methods": [
135
+ "createLink"
136
+ ]
137
+ },
138
+ "DeleteLink": {
139
+ "methods": [
140
+ "deleteLink"
141
+ ]
142
+ },
143
+ "CopyLogEntries": {
144
+ "methods": [
145
+ "copyLogEntries"
146
+ ]
147
+ },
148
+ "ListBuckets": {
149
+ "methods": [
150
+ "listBuckets",
151
+ "listBucketsStream",
152
+ "listBucketsAsync"
153
+ ]
154
+ },
155
+ "ListViews": {
156
+ "methods": [
157
+ "listViews",
158
+ "listViewsStream",
159
+ "listViewsAsync"
160
+ ]
161
+ },
162
+ "ListSinks": {
163
+ "methods": [
164
+ "listSinks",
165
+ "listSinksStream",
166
+ "listSinksAsync"
167
+ ]
168
+ },
169
+ "ListLinks": {
170
+ "methods": [
171
+ "listLinks",
172
+ "listLinksStream",
173
+ "listLinksAsync"
174
+ ]
175
+ },
176
+ "ListExclusions": {
177
+ "methods": [
178
+ "listExclusions",
179
+ "listExclusionsStream",
180
+ "listExclusionsAsync"
181
+ ]
182
+ }
183
+ }
184
+ },
185
+ "grpc-fallback": {
186
+ "libraryClient": "ConfigServiceV2Client",
187
+ "rpcs": {
188
+ "GetBucket": {
189
+ "methods": [
190
+ "getBucket"
191
+ ]
192
+ },
193
+ "CreateBucket": {
194
+ "methods": [
195
+ "createBucket"
196
+ ]
197
+ },
198
+ "UpdateBucket": {
199
+ "methods": [
200
+ "updateBucket"
201
+ ]
202
+ },
203
+ "DeleteBucket": {
204
+ "methods": [
205
+ "deleteBucket"
206
+ ]
207
+ },
208
+ "UndeleteBucket": {
209
+ "methods": [
210
+ "undeleteBucket"
211
+ ]
212
+ },
213
+ "GetView": {
214
+ "methods": [
215
+ "getView"
216
+ ]
217
+ },
218
+ "CreateView": {
219
+ "methods": [
220
+ "createView"
221
+ ]
222
+ },
223
+ "UpdateView": {
224
+ "methods": [
225
+ "updateView"
226
+ ]
227
+ },
228
+ "DeleteView": {
229
+ "methods": [
230
+ "deleteView"
231
+ ]
232
+ },
233
+ "GetSink": {
234
+ "methods": [
235
+ "getSink"
236
+ ]
237
+ },
238
+ "CreateSink": {
239
+ "methods": [
240
+ "createSink"
241
+ ]
242
+ },
243
+ "UpdateSink": {
244
+ "methods": [
245
+ "updateSink"
246
+ ]
247
+ },
248
+ "DeleteSink": {
249
+ "methods": [
250
+ "deleteSink"
251
+ ]
252
+ },
253
+ "GetLink": {
254
+ "methods": [
255
+ "getLink"
256
+ ]
257
+ },
258
+ "GetExclusion": {
259
+ "methods": [
260
+ "getExclusion"
261
+ ]
262
+ },
263
+ "CreateExclusion": {
264
+ "methods": [
265
+ "createExclusion"
266
+ ]
267
+ },
268
+ "UpdateExclusion": {
269
+ "methods": [
270
+ "updateExclusion"
271
+ ]
272
+ },
273
+ "DeleteExclusion": {
274
+ "methods": [
275
+ "deleteExclusion"
276
+ ]
277
+ },
278
+ "GetCmekSettings": {
279
+ "methods": [
280
+ "getCmekSettings"
281
+ ]
282
+ },
283
+ "UpdateCmekSettings": {
284
+ "methods": [
285
+ "updateCmekSettings"
286
+ ]
287
+ },
288
+ "GetSettings": {
289
+ "methods": [
290
+ "getSettings"
291
+ ]
292
+ },
293
+ "UpdateSettings": {
294
+ "methods": [
295
+ "updateSettings"
296
+ ]
297
+ },
298
+ "CreateBucketAsync": {
299
+ "methods": [
300
+ "createBucketAsync"
301
+ ]
302
+ },
303
+ "UpdateBucketAsync": {
304
+ "methods": [
305
+ "updateBucketAsync"
306
+ ]
307
+ },
308
+ "CreateLink": {
309
+ "methods": [
310
+ "createLink"
311
+ ]
312
+ },
313
+ "DeleteLink": {
314
+ "methods": [
315
+ "deleteLink"
316
+ ]
317
+ },
318
+ "CopyLogEntries": {
319
+ "methods": [
320
+ "copyLogEntries"
321
+ ]
322
+ },
323
+ "ListBuckets": {
324
+ "methods": [
325
+ "listBuckets",
326
+ "listBucketsStream",
327
+ "listBucketsAsync"
328
+ ]
329
+ },
330
+ "ListViews": {
331
+ "methods": [
332
+ "listViews",
333
+ "listViewsStream",
334
+ "listViewsAsync"
335
+ ]
336
+ },
337
+ "ListSinks": {
338
+ "methods": [
339
+ "listSinks",
340
+ "listSinksStream",
341
+ "listSinksAsync"
342
+ ]
343
+ },
344
+ "ListLinks": {
345
+ "methods": [
346
+ "listLinks",
347
+ "listLinksStream",
348
+ "listLinksAsync"
349
+ ]
350
+ },
351
+ "ListExclusions": {
352
+ "methods": [
353
+ "listExclusions",
354
+ "listExclusionsStream",
355
+ "listExclusionsAsync"
356
+ ]
357
+ }
358
+ }
359
+ }
360
+ }
361
+ },
362
+ "LoggingServiceV2": {
363
+ "clients": {
364
+ "grpc": {
365
+ "libraryClient": "LoggingServiceV2Client",
366
+ "rpcs": {
367
+ "DeleteLog": {
368
+ "methods": [
369
+ "deleteLog"
370
+ ]
371
+ },
372
+ "WriteLogEntries": {
373
+ "methods": [
374
+ "writeLogEntries"
375
+ ]
376
+ },
377
+ "TailLogEntries": {
378
+ "methods": [
379
+ "tailLogEntries"
380
+ ]
381
+ },
382
+ "ListLogEntries": {
383
+ "methods": [
384
+ "listLogEntries",
385
+ "listLogEntriesStream",
386
+ "listLogEntriesAsync"
387
+ ]
388
+ },
389
+ "ListMonitoredResourceDescriptors": {
390
+ "methods": [
391
+ "listMonitoredResourceDescriptors",
392
+ "listMonitoredResourceDescriptorsStream",
393
+ "listMonitoredResourceDescriptorsAsync"
394
+ ]
395
+ },
396
+ "ListLogs": {
397
+ "methods": [
398
+ "listLogs",
399
+ "listLogsStream",
400
+ "listLogsAsync"
401
+ ]
402
+ }
403
+ }
404
+ },
405
+ "grpc-fallback": {
406
+ "libraryClient": "LoggingServiceV2Client",
407
+ "rpcs": {
408
+ "DeleteLog": {
409
+ "methods": [
410
+ "deleteLog"
411
+ ]
412
+ },
413
+ "WriteLogEntries": {
414
+ "methods": [
415
+ "writeLogEntries"
416
+ ]
417
+ },
418
+ "ListLogEntries": {
419
+ "methods": [
420
+ "listLogEntries",
421
+ "listLogEntriesStream",
422
+ "listLogEntriesAsync"
423
+ ]
424
+ },
425
+ "ListMonitoredResourceDescriptors": {
426
+ "methods": [
427
+ "listMonitoredResourceDescriptors",
428
+ "listMonitoredResourceDescriptorsStream",
429
+ "listMonitoredResourceDescriptorsAsync"
430
+ ]
431
+ },
432
+ "ListLogs": {
433
+ "methods": [
434
+ "listLogs",
435
+ "listLogsStream",
436
+ "listLogsAsync"
437
+ ]
438
+ }
439
+ }
440
+ }
441
+ }
442
+ },
443
+ "MetricsServiceV2": {
444
+ "clients": {
445
+ "grpc": {
446
+ "libraryClient": "MetricsServiceV2Client",
447
+ "rpcs": {
448
+ "GetLogMetric": {
449
+ "methods": [
450
+ "getLogMetric"
451
+ ]
452
+ },
453
+ "CreateLogMetric": {
454
+ "methods": [
455
+ "createLogMetric"
456
+ ]
457
+ },
458
+ "UpdateLogMetric": {
459
+ "methods": [
460
+ "updateLogMetric"
461
+ ]
462
+ },
463
+ "DeleteLogMetric": {
464
+ "methods": [
465
+ "deleteLogMetric"
466
+ ]
467
+ },
468
+ "ListLogMetrics": {
469
+ "methods": [
470
+ "listLogMetrics",
471
+ "listLogMetricsStream",
472
+ "listLogMetricsAsync"
473
+ ]
474
+ }
475
+ }
476
+ },
477
+ "grpc-fallback": {
478
+ "libraryClient": "MetricsServiceV2Client",
479
+ "rpcs": {
480
+ "GetLogMetric": {
481
+ "methods": [
482
+ "getLogMetric"
483
+ ]
484
+ },
485
+ "CreateLogMetric": {
486
+ "methods": [
487
+ "createLogMetric"
488
+ ]
489
+ },
490
+ "UpdateLogMetric": {
491
+ "methods": [
492
+ "updateLogMetric"
493
+ ]
494
+ },
495
+ "DeleteLogMetric": {
496
+ "methods": [
497
+ "deleteLogMetric"
498
+ ]
499
+ },
500
+ "ListLogMetrics": {
501
+ "methods": [
502
+ "listLogMetrics",
503
+ "listLogMetricsStream",
504
+ "listLogMetricsAsync"
505
+ ]
506
+ }
507
+ }
508
+ }
509
+ }
510
+ }
511
+ }
512
+ }
@@ -0,0 +1,3 @@
1
+ export { ConfigServiceV2Client } from './config_service_v2_client';
2
+ export { LoggingServiceV2Client } from './logging_service_v2_client';
3
+ export { MetricsServiceV2Client } from './metrics_service_v2_client';
@@ -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.MetricsServiceV2Client = exports.LoggingServiceV2Client = exports.ConfigServiceV2Client = void 0;
21
+ var config_service_v2_client_1 = require("./config_service_v2_client");
22
+ Object.defineProperty(exports, "ConfigServiceV2Client", { enumerable: true, get: function () { return config_service_v2_client_1.ConfigServiceV2Client; } });
23
+ var logging_service_v2_client_1 = require("./logging_service_v2_client");
24
+ Object.defineProperty(exports, "LoggingServiceV2Client", { enumerable: true, get: function () { return logging_service_v2_client_1.LoggingServiceV2Client; } });
25
+ var metrics_service_v2_client_1 = require("./metrics_service_v2_client");
26
+ Object.defineProperty(exports, "MetricsServiceV2Client", { enumerable: true, get: function () { return metrics_service_v2_client_1.MetricsServiceV2Client; } });
27
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/v2/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,uEAAmE;AAA1D,iIAAA,qBAAqB,OAAA;AAC9B,yEAAqE;AAA5D,mIAAA,sBAAsB,OAAA;AAC/B,yEAAqE;AAA5D,mIAAA,sBAAsB,OAAA"}