@google-cloud/pubsub 4.9.0 → 4.10.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/CHANGELOG.md +12 -0
- package/build/protos/google/pubsub/v1/pubsub.proto +252 -0
- package/build/protos/protos.d.ts +840 -3
- package/build/protos/protos.js +3179 -738
- package/build/protos/protos.json +372 -2
- package/build/src/v1/index.js +1 -1
- package/build/src/v1/publisher_client.js +1 -1
- package/build/src/v1/schema_service_client.js +1 -1
- package/build/src/v1/subscriber_client.js +1 -1
- package/package.json +2 -2
package/build/protos/protos.json
CHANGED
|
@@ -248,7 +248,10 @@
|
|
|
248
248
|
"source": {
|
|
249
249
|
"oneof": [
|
|
250
250
|
"awsKinesis",
|
|
251
|
-
"cloudStorage"
|
|
251
|
+
"cloudStorage",
|
|
252
|
+
"azureEventHubs",
|
|
253
|
+
"awsMsk",
|
|
254
|
+
"confluentCloud"
|
|
252
255
|
]
|
|
253
256
|
}
|
|
254
257
|
},
|
|
@@ -267,6 +270,27 @@
|
|
|
267
270
|
"(google.api.field_behavior)": "OPTIONAL"
|
|
268
271
|
}
|
|
269
272
|
},
|
|
273
|
+
"azureEventHubs": {
|
|
274
|
+
"type": "AzureEventHubs",
|
|
275
|
+
"id": 3,
|
|
276
|
+
"options": {
|
|
277
|
+
"(google.api.field_behavior)": "OPTIONAL"
|
|
278
|
+
}
|
|
279
|
+
},
|
|
280
|
+
"awsMsk": {
|
|
281
|
+
"type": "AwsMsk",
|
|
282
|
+
"id": 5,
|
|
283
|
+
"options": {
|
|
284
|
+
"(google.api.field_behavior)": "OPTIONAL"
|
|
285
|
+
}
|
|
286
|
+
},
|
|
287
|
+
"confluentCloud": {
|
|
288
|
+
"type": "ConfluentCloud",
|
|
289
|
+
"id": 6,
|
|
290
|
+
"options": {
|
|
291
|
+
"(google.api.field_behavior)": "OPTIONAL"
|
|
292
|
+
}
|
|
293
|
+
},
|
|
270
294
|
"platformLogsSettings": {
|
|
271
295
|
"type": "PlatformLogsSettings",
|
|
272
296
|
"id": 4,
|
|
@@ -425,6 +449,190 @@
|
|
|
425
449
|
"fields": {}
|
|
426
450
|
}
|
|
427
451
|
}
|
|
452
|
+
},
|
|
453
|
+
"AzureEventHubs": {
|
|
454
|
+
"fields": {
|
|
455
|
+
"state": {
|
|
456
|
+
"type": "State",
|
|
457
|
+
"id": 1,
|
|
458
|
+
"options": {
|
|
459
|
+
"(google.api.field_behavior)": "OUTPUT_ONLY"
|
|
460
|
+
}
|
|
461
|
+
},
|
|
462
|
+
"resourceGroup": {
|
|
463
|
+
"type": "string",
|
|
464
|
+
"id": 2,
|
|
465
|
+
"options": {
|
|
466
|
+
"(google.api.field_behavior)": "OPTIONAL"
|
|
467
|
+
}
|
|
468
|
+
},
|
|
469
|
+
"namespace": {
|
|
470
|
+
"type": "string",
|
|
471
|
+
"id": 3,
|
|
472
|
+
"options": {
|
|
473
|
+
"(google.api.field_behavior)": "OPTIONAL"
|
|
474
|
+
}
|
|
475
|
+
},
|
|
476
|
+
"eventHub": {
|
|
477
|
+
"type": "string",
|
|
478
|
+
"id": 4,
|
|
479
|
+
"options": {
|
|
480
|
+
"(google.api.field_behavior)": "OPTIONAL"
|
|
481
|
+
}
|
|
482
|
+
},
|
|
483
|
+
"clientId": {
|
|
484
|
+
"type": "string",
|
|
485
|
+
"id": 5,
|
|
486
|
+
"options": {
|
|
487
|
+
"(google.api.field_behavior)": "OPTIONAL"
|
|
488
|
+
}
|
|
489
|
+
},
|
|
490
|
+
"tenantId": {
|
|
491
|
+
"type": "string",
|
|
492
|
+
"id": 6,
|
|
493
|
+
"options": {
|
|
494
|
+
"(google.api.field_behavior)": "OPTIONAL"
|
|
495
|
+
}
|
|
496
|
+
},
|
|
497
|
+
"subscriptionId": {
|
|
498
|
+
"type": "string",
|
|
499
|
+
"id": 7,
|
|
500
|
+
"options": {
|
|
501
|
+
"(google.api.field_behavior)": "OPTIONAL"
|
|
502
|
+
}
|
|
503
|
+
},
|
|
504
|
+
"gcpServiceAccount": {
|
|
505
|
+
"type": "string",
|
|
506
|
+
"id": 8,
|
|
507
|
+
"options": {
|
|
508
|
+
"(google.api.field_behavior)": "OPTIONAL"
|
|
509
|
+
}
|
|
510
|
+
}
|
|
511
|
+
},
|
|
512
|
+
"nested": {
|
|
513
|
+
"State": {
|
|
514
|
+
"values": {
|
|
515
|
+
"STATE_UNSPECIFIED": 0,
|
|
516
|
+
"ACTIVE": 1,
|
|
517
|
+
"EVENT_HUBS_PERMISSION_DENIED": 2,
|
|
518
|
+
"PUBLISH_PERMISSION_DENIED": 3,
|
|
519
|
+
"NAMESPACE_NOT_FOUND": 4,
|
|
520
|
+
"EVENT_HUB_NOT_FOUND": 5,
|
|
521
|
+
"SUBSCRIPTION_NOT_FOUND": 6,
|
|
522
|
+
"RESOURCE_GROUP_NOT_FOUND": 7
|
|
523
|
+
}
|
|
524
|
+
}
|
|
525
|
+
}
|
|
526
|
+
},
|
|
527
|
+
"AwsMsk": {
|
|
528
|
+
"fields": {
|
|
529
|
+
"state": {
|
|
530
|
+
"type": "State",
|
|
531
|
+
"id": 1,
|
|
532
|
+
"options": {
|
|
533
|
+
"(google.api.field_behavior)": "OUTPUT_ONLY"
|
|
534
|
+
}
|
|
535
|
+
},
|
|
536
|
+
"clusterArn": {
|
|
537
|
+
"type": "string",
|
|
538
|
+
"id": 2,
|
|
539
|
+
"options": {
|
|
540
|
+
"(google.api.field_behavior)": "REQUIRED"
|
|
541
|
+
}
|
|
542
|
+
},
|
|
543
|
+
"topic": {
|
|
544
|
+
"type": "string",
|
|
545
|
+
"id": 3,
|
|
546
|
+
"options": {
|
|
547
|
+
"(google.api.field_behavior)": "REQUIRED"
|
|
548
|
+
}
|
|
549
|
+
},
|
|
550
|
+
"awsRoleArn": {
|
|
551
|
+
"type": "string",
|
|
552
|
+
"id": 4,
|
|
553
|
+
"options": {
|
|
554
|
+
"(google.api.field_behavior)": "REQUIRED"
|
|
555
|
+
}
|
|
556
|
+
},
|
|
557
|
+
"gcpServiceAccount": {
|
|
558
|
+
"type": "string",
|
|
559
|
+
"id": 5,
|
|
560
|
+
"options": {
|
|
561
|
+
"(google.api.field_behavior)": "REQUIRED"
|
|
562
|
+
}
|
|
563
|
+
}
|
|
564
|
+
},
|
|
565
|
+
"nested": {
|
|
566
|
+
"State": {
|
|
567
|
+
"values": {
|
|
568
|
+
"STATE_UNSPECIFIED": 0,
|
|
569
|
+
"ACTIVE": 1,
|
|
570
|
+
"MSK_PERMISSION_DENIED": 2,
|
|
571
|
+
"PUBLISH_PERMISSION_DENIED": 3,
|
|
572
|
+
"CLUSTER_NOT_FOUND": 4,
|
|
573
|
+
"TOPIC_NOT_FOUND": 5
|
|
574
|
+
}
|
|
575
|
+
}
|
|
576
|
+
}
|
|
577
|
+
},
|
|
578
|
+
"ConfluentCloud": {
|
|
579
|
+
"fields": {
|
|
580
|
+
"state": {
|
|
581
|
+
"type": "State",
|
|
582
|
+
"id": 1,
|
|
583
|
+
"options": {
|
|
584
|
+
"(google.api.field_behavior)": "OUTPUT_ONLY"
|
|
585
|
+
}
|
|
586
|
+
},
|
|
587
|
+
"bootstrapServer": {
|
|
588
|
+
"type": "string",
|
|
589
|
+
"id": 2,
|
|
590
|
+
"options": {
|
|
591
|
+
"(google.api.field_behavior)": "REQUIRED"
|
|
592
|
+
}
|
|
593
|
+
},
|
|
594
|
+
"clusterId": {
|
|
595
|
+
"type": "string",
|
|
596
|
+
"id": 3,
|
|
597
|
+
"options": {
|
|
598
|
+
"(google.api.field_behavior)": "REQUIRED"
|
|
599
|
+
}
|
|
600
|
+
},
|
|
601
|
+
"topic": {
|
|
602
|
+
"type": "string",
|
|
603
|
+
"id": 4,
|
|
604
|
+
"options": {
|
|
605
|
+
"(google.api.field_behavior)": "REQUIRED"
|
|
606
|
+
}
|
|
607
|
+
},
|
|
608
|
+
"identityPoolId": {
|
|
609
|
+
"type": "string",
|
|
610
|
+
"id": 5,
|
|
611
|
+
"options": {
|
|
612
|
+
"(google.api.field_behavior)": "REQUIRED"
|
|
613
|
+
}
|
|
614
|
+
},
|
|
615
|
+
"gcpServiceAccount": {
|
|
616
|
+
"type": "string",
|
|
617
|
+
"id": 6,
|
|
618
|
+
"options": {
|
|
619
|
+
"(google.api.field_behavior)": "REQUIRED"
|
|
620
|
+
}
|
|
621
|
+
}
|
|
622
|
+
},
|
|
623
|
+
"nested": {
|
|
624
|
+
"State": {
|
|
625
|
+
"values": {
|
|
626
|
+
"STATE_UNSPECIFIED": 0,
|
|
627
|
+
"ACTIVE": 1,
|
|
628
|
+
"CONFLUENT_CLOUD_PERMISSION_DENIED": 2,
|
|
629
|
+
"PUBLISH_PERMISSION_DENIED": 3,
|
|
630
|
+
"UNREACHABLE_BOOTSTRAP_SERVER": 4,
|
|
631
|
+
"CLUSTER_NOT_FOUND": 5,
|
|
632
|
+
"TOPIC_NOT_FOUND": 6
|
|
633
|
+
}
|
|
634
|
+
}
|
|
635
|
+
}
|
|
428
636
|
}
|
|
429
637
|
}
|
|
430
638
|
},
|
|
@@ -455,7 +663,10 @@
|
|
|
455
663
|
"oneofs": {
|
|
456
664
|
"failure": {
|
|
457
665
|
"oneof": [
|
|
458
|
-
"cloudStorageFailure"
|
|
666
|
+
"cloudStorageFailure",
|
|
667
|
+
"awsMskFailure",
|
|
668
|
+
"azureEventHubsFailure",
|
|
669
|
+
"confluentCloudFailure"
|
|
459
670
|
]
|
|
460
671
|
}
|
|
461
672
|
},
|
|
@@ -480,6 +691,27 @@
|
|
|
480
691
|
"options": {
|
|
481
692
|
"(google.api.field_behavior)": "OPTIONAL"
|
|
482
693
|
}
|
|
694
|
+
},
|
|
695
|
+
"awsMskFailure": {
|
|
696
|
+
"type": "AwsMskFailureReason",
|
|
697
|
+
"id": 4,
|
|
698
|
+
"options": {
|
|
699
|
+
"(google.api.field_behavior)": "OPTIONAL"
|
|
700
|
+
}
|
|
701
|
+
},
|
|
702
|
+
"azureEventHubsFailure": {
|
|
703
|
+
"type": "AzureEventHubsFailureReason",
|
|
704
|
+
"id": 5,
|
|
705
|
+
"options": {
|
|
706
|
+
"(google.api.field_behavior)": "OPTIONAL"
|
|
707
|
+
}
|
|
708
|
+
},
|
|
709
|
+
"confluentCloudFailure": {
|
|
710
|
+
"type": "ConfluentCloudFailureReason",
|
|
711
|
+
"id": 6,
|
|
712
|
+
"options": {
|
|
713
|
+
"(google.api.field_behavior)": "OPTIONAL"
|
|
714
|
+
}
|
|
483
715
|
}
|
|
484
716
|
},
|
|
485
717
|
"nested": {
|
|
@@ -535,6 +767,144 @@
|
|
|
535
767
|
}
|
|
536
768
|
}
|
|
537
769
|
}
|
|
770
|
+
},
|
|
771
|
+
"AwsMskFailureReason": {
|
|
772
|
+
"oneofs": {
|
|
773
|
+
"reason": {
|
|
774
|
+
"oneof": [
|
|
775
|
+
"apiViolationReason"
|
|
776
|
+
]
|
|
777
|
+
}
|
|
778
|
+
},
|
|
779
|
+
"fields": {
|
|
780
|
+
"clusterArn": {
|
|
781
|
+
"type": "string",
|
|
782
|
+
"id": 1,
|
|
783
|
+
"options": {
|
|
784
|
+
"(google.api.field_behavior)": "OPTIONAL"
|
|
785
|
+
}
|
|
786
|
+
},
|
|
787
|
+
"kafkaTopic": {
|
|
788
|
+
"type": "string",
|
|
789
|
+
"id": 2,
|
|
790
|
+
"options": {
|
|
791
|
+
"(google.api.field_behavior)": "OPTIONAL"
|
|
792
|
+
}
|
|
793
|
+
},
|
|
794
|
+
"partitionId": {
|
|
795
|
+
"type": "int64",
|
|
796
|
+
"id": 3,
|
|
797
|
+
"options": {
|
|
798
|
+
"(google.api.field_behavior)": "OPTIONAL"
|
|
799
|
+
}
|
|
800
|
+
},
|
|
801
|
+
"offset": {
|
|
802
|
+
"type": "int64",
|
|
803
|
+
"id": 4,
|
|
804
|
+
"options": {
|
|
805
|
+
"(google.api.field_behavior)": "OPTIONAL"
|
|
806
|
+
}
|
|
807
|
+
},
|
|
808
|
+
"apiViolationReason": {
|
|
809
|
+
"type": "ApiViolationReason",
|
|
810
|
+
"id": 5,
|
|
811
|
+
"options": {
|
|
812
|
+
"(google.api.field_behavior)": "OPTIONAL"
|
|
813
|
+
}
|
|
814
|
+
}
|
|
815
|
+
}
|
|
816
|
+
},
|
|
817
|
+
"AzureEventHubsFailureReason": {
|
|
818
|
+
"oneofs": {
|
|
819
|
+
"reason": {
|
|
820
|
+
"oneof": [
|
|
821
|
+
"apiViolationReason"
|
|
822
|
+
]
|
|
823
|
+
}
|
|
824
|
+
},
|
|
825
|
+
"fields": {
|
|
826
|
+
"namespace": {
|
|
827
|
+
"type": "string",
|
|
828
|
+
"id": 1,
|
|
829
|
+
"options": {
|
|
830
|
+
"(google.api.field_behavior)": "OPTIONAL"
|
|
831
|
+
}
|
|
832
|
+
},
|
|
833
|
+
"eventHub": {
|
|
834
|
+
"type": "string",
|
|
835
|
+
"id": 2,
|
|
836
|
+
"options": {
|
|
837
|
+
"(google.api.field_behavior)": "OPTIONAL"
|
|
838
|
+
}
|
|
839
|
+
},
|
|
840
|
+
"partitionId": {
|
|
841
|
+
"type": "int64",
|
|
842
|
+
"id": 3,
|
|
843
|
+
"options": {
|
|
844
|
+
"(google.api.field_behavior)": "OPTIONAL"
|
|
845
|
+
}
|
|
846
|
+
},
|
|
847
|
+
"offset": {
|
|
848
|
+
"type": "int64",
|
|
849
|
+
"id": 4,
|
|
850
|
+
"options": {
|
|
851
|
+
"(google.api.field_behavior)": "OPTIONAL"
|
|
852
|
+
}
|
|
853
|
+
},
|
|
854
|
+
"apiViolationReason": {
|
|
855
|
+
"type": "ApiViolationReason",
|
|
856
|
+
"id": 5,
|
|
857
|
+
"options": {
|
|
858
|
+
"(google.api.field_behavior)": "OPTIONAL"
|
|
859
|
+
}
|
|
860
|
+
}
|
|
861
|
+
}
|
|
862
|
+
},
|
|
863
|
+
"ConfluentCloudFailureReason": {
|
|
864
|
+
"oneofs": {
|
|
865
|
+
"reason": {
|
|
866
|
+
"oneof": [
|
|
867
|
+
"apiViolationReason"
|
|
868
|
+
]
|
|
869
|
+
}
|
|
870
|
+
},
|
|
871
|
+
"fields": {
|
|
872
|
+
"clusterId": {
|
|
873
|
+
"type": "string",
|
|
874
|
+
"id": 1,
|
|
875
|
+
"options": {
|
|
876
|
+
"(google.api.field_behavior)": "OPTIONAL"
|
|
877
|
+
}
|
|
878
|
+
},
|
|
879
|
+
"kafkaTopic": {
|
|
880
|
+
"type": "string",
|
|
881
|
+
"id": 2,
|
|
882
|
+
"options": {
|
|
883
|
+
"(google.api.field_behavior)": "OPTIONAL"
|
|
884
|
+
}
|
|
885
|
+
},
|
|
886
|
+
"partitionId": {
|
|
887
|
+
"type": "int64",
|
|
888
|
+
"id": 3,
|
|
889
|
+
"options": {
|
|
890
|
+
"(google.api.field_behavior)": "OPTIONAL"
|
|
891
|
+
}
|
|
892
|
+
},
|
|
893
|
+
"offset": {
|
|
894
|
+
"type": "int64",
|
|
895
|
+
"id": 4,
|
|
896
|
+
"options": {
|
|
897
|
+
"(google.api.field_behavior)": "OPTIONAL"
|
|
898
|
+
}
|
|
899
|
+
},
|
|
900
|
+
"apiViolationReason": {
|
|
901
|
+
"type": "ApiViolationReason",
|
|
902
|
+
"id": 5,
|
|
903
|
+
"options": {
|
|
904
|
+
"(google.api.field_behavior)": "OPTIONAL"
|
|
905
|
+
}
|
|
906
|
+
}
|
|
907
|
+
}
|
|
538
908
|
}
|
|
539
909
|
}
|
|
540
910
|
},
|
package/build/src/v1/index.js
CHANGED
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@google-cloud/pubsub",
|
|
3
3
|
"description": "Cloud Pub/Sub Client Library for Node.js",
|
|
4
|
-
"version": "4.
|
|
4
|
+
"version": "4.10.0",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"author": "Google Inc.",
|
|
7
7
|
"engines": {
|
|
@@ -55,7 +55,7 @@
|
|
|
55
55
|
"@google-cloud/projectify": "^4.0.0",
|
|
56
56
|
"@google-cloud/promisify": "^4.0.0",
|
|
57
57
|
"@opentelemetry/api": "~1.9.0",
|
|
58
|
-
"@opentelemetry/semantic-conventions": "~1.
|
|
58
|
+
"@opentelemetry/semantic-conventions": "~1.28.0",
|
|
59
59
|
"arrify": "^2.0.0",
|
|
60
60
|
"extend": "^3.0.2",
|
|
61
61
|
"google-auth-library": "^9.3.0",
|