google-cloud-pubsub-v1 0.23.0 → 0.24.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.
- checksums.yaml +4 -4
- data/lib/google/cloud/pubsub/v1/publisher/client.rb +21 -9
- data/lib/google/cloud/pubsub/v1/schema_service/client.rb +23 -10
- data/lib/google/cloud/pubsub/v1/subscriber/client.rb +35 -16
- data/lib/google/cloud/pubsub/v1/version.rb +1 -1
- data/lib/google/pubsub/v1/pubsub_pb.rb +1 -1
- data/proto_docs/google/pubsub/v1/pubsub.rb +16 -0
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 20e6c194d09982348665f5516cf9dbf27c7eca572e5673ca74469b5bab976d77
|
4
|
+
data.tar.gz: 3eb3dc7514f95036ab4bd0f1649e72df301340860b2e45801a6c34516371d326
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3a02d4a772ee01d8a2c9393d0ff8e4278d1ddc0b4fc33a21b755e2d6226465acf2a997a54026329def46e7c920bd8fe423aa5fcb1a07c92b7f36bcbbf8224549
|
7
|
+
data.tar.gz: 85ccde22cc55fe5a15d1e1d5cc27f045906987c8da4390d6571804877c404cb849e2488bc8dd86d39b4230701fc0b9a4016054585a85f4c739477aa192bcd41a
|
@@ -32,6 +32,9 @@ module Google
|
|
32
32
|
# messages to a topic.
|
33
33
|
#
|
34
34
|
class Client
|
35
|
+
# @private
|
36
|
+
API_VERSION = ""
|
37
|
+
|
35
38
|
# @private
|
36
39
|
DEFAULT_ENDPOINT_TEMPLATE = "pubsub.$UNIVERSE_DOMAIN$"
|
37
40
|
|
@@ -311,10 +314,11 @@ module Google
|
|
311
314
|
# Customize the options with defaults
|
312
315
|
metadata = @config.rpcs.create_topic.metadata.to_h
|
313
316
|
|
314
|
-
# Set x-goog-api-client
|
317
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
315
318
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
316
319
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
317
320
|
gapic_version: ::Google::Cloud::PubSub::V1::VERSION
|
321
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
318
322
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
319
323
|
|
320
324
|
header_params = {}
|
@@ -403,10 +407,11 @@ module Google
|
|
403
407
|
# Customize the options with defaults
|
404
408
|
metadata = @config.rpcs.update_topic.metadata.to_h
|
405
409
|
|
406
|
-
# Set x-goog-api-client
|
410
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
407
411
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
408
412
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
409
413
|
gapic_version: ::Google::Cloud::PubSub::V1::VERSION
|
414
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
410
415
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
411
416
|
|
412
417
|
header_params = {}
|
@@ -492,10 +497,11 @@ module Google
|
|
492
497
|
# Customize the options with defaults
|
493
498
|
metadata = @config.rpcs.publish.metadata.to_h
|
494
499
|
|
495
|
-
# Set x-goog-api-client
|
500
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
496
501
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
497
502
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
498
503
|
gapic_version: ::Google::Cloud::PubSub::V1::VERSION
|
504
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
499
505
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
500
506
|
|
501
507
|
header_params = {}
|
@@ -578,10 +584,11 @@ module Google
|
|
578
584
|
# Customize the options with defaults
|
579
585
|
metadata = @config.rpcs.get_topic.metadata.to_h
|
580
586
|
|
581
|
-
# Set x-goog-api-client
|
587
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
582
588
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
583
589
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
584
590
|
gapic_version: ::Google::Cloud::PubSub::V1::VERSION
|
591
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
585
592
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
586
593
|
|
587
594
|
header_params = {}
|
@@ -674,10 +681,11 @@ module Google
|
|
674
681
|
# Customize the options with defaults
|
675
682
|
metadata = @config.rpcs.list_topics.metadata.to_h
|
676
683
|
|
677
|
-
# Set x-goog-api-client
|
684
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
678
685
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
679
686
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
680
687
|
gapic_version: ::Google::Cloud::PubSub::V1::VERSION
|
688
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
681
689
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
682
690
|
|
683
691
|
header_params = {}
|
@@ -767,10 +775,11 @@ module Google
|
|
767
775
|
# Customize the options with defaults
|
768
776
|
metadata = @config.rpcs.list_topic_subscriptions.metadata.to_h
|
769
777
|
|
770
|
-
# Set x-goog-api-client
|
778
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
771
779
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
772
780
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
773
781
|
gapic_version: ::Google::Cloud::PubSub::V1::VERSION
|
782
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
774
783
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
775
784
|
|
776
785
|
header_params = {}
|
@@ -863,10 +872,11 @@ module Google
|
|
863
872
|
# Customize the options with defaults
|
864
873
|
metadata = @config.rpcs.list_topic_snapshots.metadata.to_h
|
865
874
|
|
866
|
-
# Set x-goog-api-client
|
875
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
867
876
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
868
877
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
869
878
|
gapic_version: ::Google::Cloud::PubSub::V1::VERSION
|
879
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
870
880
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
871
881
|
|
872
882
|
header_params = {}
|
@@ -953,10 +963,11 @@ module Google
|
|
953
963
|
# Customize the options with defaults
|
954
964
|
metadata = @config.rpcs.delete_topic.metadata.to_h
|
955
965
|
|
956
|
-
# Set x-goog-api-client
|
966
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
957
967
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
958
968
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
959
969
|
gapic_version: ::Google::Cloud::PubSub::V1::VERSION
|
970
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
960
971
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
961
972
|
|
962
973
|
header_params = {}
|
@@ -1042,10 +1053,11 @@ module Google
|
|
1042
1053
|
# Customize the options with defaults
|
1043
1054
|
metadata = @config.rpcs.detach_subscription.metadata.to_h
|
1044
1055
|
|
1045
|
-
# Set x-goog-api-client
|
1056
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
1046
1057
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
1047
1058
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
1048
1059
|
gapic_version: ::Google::Cloud::PubSub::V1::VERSION
|
1060
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
1049
1061
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
1050
1062
|
|
1051
1063
|
header_params = {}
|
@@ -31,6 +31,9 @@ module Google
|
|
31
31
|
# Service for doing schema-related operations.
|
32
32
|
#
|
33
33
|
class Client
|
34
|
+
# @private
|
35
|
+
API_VERSION = ""
|
36
|
+
|
34
37
|
# @private
|
35
38
|
DEFAULT_ENDPOINT_TEMPLATE = "pubsub.$UNIVERSE_DOMAIN$"
|
36
39
|
|
@@ -293,10 +296,11 @@ module Google
|
|
293
296
|
# Customize the options with defaults
|
294
297
|
metadata = @config.rpcs.create_schema.metadata.to_h
|
295
298
|
|
296
|
-
# Set x-goog-api-client
|
299
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
297
300
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
298
301
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
299
302
|
gapic_version: ::Google::Cloud::PubSub::V1::VERSION
|
303
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
300
304
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
301
305
|
|
302
306
|
header_params = {}
|
@@ -382,10 +386,11 @@ module Google
|
|
382
386
|
# Customize the options with defaults
|
383
387
|
metadata = @config.rpcs.get_schema.metadata.to_h
|
384
388
|
|
385
|
-
# Set x-goog-api-client
|
389
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
386
390
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
387
391
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
388
392
|
gapic_version: ::Google::Cloud::PubSub::V1::VERSION
|
393
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
389
394
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
390
395
|
|
391
396
|
header_params = {}
|
@@ -482,10 +487,11 @@ module Google
|
|
482
487
|
# Customize the options with defaults
|
483
488
|
metadata = @config.rpcs.list_schemas.metadata.to_h
|
484
489
|
|
485
|
-
# Set x-goog-api-client
|
490
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
486
491
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
487
492
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
488
493
|
gapic_version: ::Google::Cloud::PubSub::V1::VERSION
|
494
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
489
495
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
490
496
|
|
491
497
|
header_params = {}
|
@@ -581,10 +587,11 @@ module Google
|
|
581
587
|
# Customize the options with defaults
|
582
588
|
metadata = @config.rpcs.list_schema_revisions.metadata.to_h
|
583
589
|
|
584
|
-
# Set x-goog-api-client
|
590
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
585
591
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
586
592
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
587
593
|
gapic_version: ::Google::Cloud::PubSub::V1::VERSION
|
594
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
588
595
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
589
596
|
|
590
597
|
header_params = {}
|
@@ -670,10 +677,11 @@ module Google
|
|
670
677
|
# Customize the options with defaults
|
671
678
|
metadata = @config.rpcs.commit_schema.metadata.to_h
|
672
679
|
|
673
|
-
# Set x-goog-api-client
|
680
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
674
681
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
675
682
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
676
683
|
gapic_version: ::Google::Cloud::PubSub::V1::VERSION
|
684
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
677
685
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
678
686
|
|
679
687
|
header_params = {}
|
@@ -760,10 +768,11 @@ module Google
|
|
760
768
|
# Customize the options with defaults
|
761
769
|
metadata = @config.rpcs.rollback_schema.metadata.to_h
|
762
770
|
|
763
|
-
# Set x-goog-api-client
|
771
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
764
772
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
765
773
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
766
774
|
gapic_version: ::Google::Cloud::PubSub::V1::VERSION
|
775
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
767
776
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
768
777
|
|
769
778
|
header_params = {}
|
@@ -852,10 +861,11 @@ module Google
|
|
852
861
|
# Customize the options with defaults
|
853
862
|
metadata = @config.rpcs.delete_schema_revision.metadata.to_h
|
854
863
|
|
855
|
-
# Set x-goog-api-client
|
864
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
856
865
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
857
866
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
858
867
|
gapic_version: ::Google::Cloud::PubSub::V1::VERSION
|
868
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
859
869
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
860
870
|
|
861
871
|
header_params = {}
|
@@ -938,10 +948,11 @@ module Google
|
|
938
948
|
# Customize the options with defaults
|
939
949
|
metadata = @config.rpcs.delete_schema.metadata.to_h
|
940
950
|
|
941
|
-
# Set x-goog-api-client
|
951
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
942
952
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
943
953
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
944
954
|
gapic_version: ::Google::Cloud::PubSub::V1::VERSION
|
955
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
945
956
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
946
957
|
|
947
958
|
header_params = {}
|
@@ -1026,10 +1037,11 @@ module Google
|
|
1026
1037
|
# Customize the options with defaults
|
1027
1038
|
metadata = @config.rpcs.validate_schema.metadata.to_h
|
1028
1039
|
|
1029
|
-
# Set x-goog-api-client
|
1040
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
1030
1041
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
1031
1042
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
1032
1043
|
gapic_version: ::Google::Cloud::PubSub::V1::VERSION
|
1044
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
1033
1045
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
1034
1046
|
|
1035
1047
|
header_params = {}
|
@@ -1122,10 +1134,11 @@ module Google
|
|
1122
1134
|
# Customize the options with defaults
|
1123
1135
|
metadata = @config.rpcs.validate_message.metadata.to_h
|
1124
1136
|
|
1125
|
-
# Set x-goog-api-client
|
1137
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
1126
1138
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
1127
1139
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
1128
1140
|
gapic_version: ::Google::Cloud::PubSub::V1::VERSION
|
1141
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
1129
1142
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
1130
1143
|
|
1131
1144
|
header_params = {}
|
@@ -33,6 +33,9 @@ module Google
|
|
33
33
|
# establishing a bi-directional stream using the `StreamingPull` method.
|
34
34
|
#
|
35
35
|
class Client
|
36
|
+
# @private
|
37
|
+
API_VERSION = ""
|
38
|
+
|
36
39
|
# @private
|
37
40
|
DEFAULT_ENDPOINT_TEMPLATE = "pubsub.$UNIVERSE_DOMAIN$"
|
38
41
|
|
@@ -432,10 +435,11 @@ module Google
|
|
432
435
|
# Customize the options with defaults
|
433
436
|
metadata = @config.rpcs.create_subscription.metadata.to_h
|
434
437
|
|
435
|
-
# Set x-goog-api-client
|
438
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
436
439
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
437
440
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
438
441
|
gapic_version: ::Google::Cloud::PubSub::V1::VERSION
|
442
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
439
443
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
440
444
|
|
441
445
|
header_params = {}
|
@@ -518,10 +522,11 @@ module Google
|
|
518
522
|
# Customize the options with defaults
|
519
523
|
metadata = @config.rpcs.get_subscription.metadata.to_h
|
520
524
|
|
521
|
-
# Set x-goog-api-client
|
525
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
522
526
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
523
527
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
524
528
|
gapic_version: ::Google::Cloud::PubSub::V1::VERSION
|
529
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
525
530
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
526
531
|
|
527
532
|
header_params = {}
|
@@ -608,10 +613,11 @@ module Google
|
|
608
613
|
# Customize the options with defaults
|
609
614
|
metadata = @config.rpcs.update_subscription.metadata.to_h
|
610
615
|
|
611
|
-
# Set x-goog-api-client
|
616
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
612
617
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
613
618
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
614
619
|
gapic_version: ::Google::Cloud::PubSub::V1::VERSION
|
620
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
615
621
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
616
622
|
|
617
623
|
header_params = {}
|
@@ -704,10 +710,11 @@ module Google
|
|
704
710
|
# Customize the options with defaults
|
705
711
|
metadata = @config.rpcs.list_subscriptions.metadata.to_h
|
706
712
|
|
707
|
-
# Set x-goog-api-client
|
713
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
708
714
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
709
715
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
710
716
|
gapic_version: ::Google::Cloud::PubSub::V1::VERSION
|
717
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
711
718
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
712
719
|
|
713
720
|
header_params = {}
|
@@ -795,10 +802,11 @@ module Google
|
|
795
802
|
# Customize the options with defaults
|
796
803
|
metadata = @config.rpcs.delete_subscription.metadata.to_h
|
797
804
|
|
798
|
-
# Set x-goog-api-client
|
805
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
799
806
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
800
807
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
801
808
|
gapic_version: ::Google::Cloud::PubSub::V1::VERSION
|
809
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
802
810
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
803
811
|
|
804
812
|
header_params = {}
|
@@ -897,10 +905,11 @@ module Google
|
|
897
905
|
# Customize the options with defaults
|
898
906
|
metadata = @config.rpcs.modify_ack_deadline.metadata.to_h
|
899
907
|
|
900
|
-
# Set x-goog-api-client
|
908
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
901
909
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
902
910
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
903
911
|
gapic_version: ::Google::Cloud::PubSub::V1::VERSION
|
912
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
904
913
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
905
914
|
|
906
915
|
header_params = {}
|
@@ -993,10 +1002,11 @@ module Google
|
|
993
1002
|
# Customize the options with defaults
|
994
1003
|
metadata = @config.rpcs.acknowledge.metadata.to_h
|
995
1004
|
|
996
|
-
# Set x-goog-api-client
|
1005
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
997
1006
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
998
1007
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
999
1008
|
gapic_version: ::Google::Cloud::PubSub::V1::VERSION
|
1009
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
1000
1010
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
1001
1011
|
|
1002
1012
|
header_params = {}
|
@@ -1091,10 +1101,11 @@ module Google
|
|
1091
1101
|
# Customize the options with defaults
|
1092
1102
|
metadata = @config.rpcs.pull.metadata.to_h
|
1093
1103
|
|
1094
|
-
# Set x-goog-api-client
|
1104
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
1095
1105
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
1096
1106
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
1097
1107
|
gapic_version: ::Google::Cloud::PubSub::V1::VERSION
|
1108
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
1098
1109
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
1099
1110
|
|
1100
1111
|
header_params = {}
|
@@ -1183,10 +1194,11 @@ module Google
|
|
1183
1194
|
# Customize the options with defaults
|
1184
1195
|
metadata = @config.rpcs.streaming_pull.metadata.to_h
|
1185
1196
|
|
1186
|
-
# Set x-goog-api-client
|
1197
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
1187
1198
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
1188
1199
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
1189
1200
|
gapic_version: ::Google::Cloud::PubSub::V1::VERSION
|
1201
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
1190
1202
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
1191
1203
|
|
1192
1204
|
options.apply_defaults timeout: @config.rpcs.streaming_pull.timeout,
|
@@ -1273,10 +1285,11 @@ module Google
|
|
1273
1285
|
# Customize the options with defaults
|
1274
1286
|
metadata = @config.rpcs.modify_push_config.metadata.to_h
|
1275
1287
|
|
1276
|
-
# Set x-goog-api-client
|
1288
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
1277
1289
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
1278
1290
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
1279
1291
|
gapic_version: ::Google::Cloud::PubSub::V1::VERSION
|
1292
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
1280
1293
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
1281
1294
|
|
1282
1295
|
header_params = {}
|
@@ -1363,10 +1376,11 @@ module Google
|
|
1363
1376
|
# Customize the options with defaults
|
1364
1377
|
metadata = @config.rpcs.get_snapshot.metadata.to_h
|
1365
1378
|
|
1366
|
-
# Set x-goog-api-client
|
1379
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
1367
1380
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
1368
1381
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
1369
1382
|
gapic_version: ::Google::Cloud::PubSub::V1::VERSION
|
1383
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
1370
1384
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
1371
1385
|
|
1372
1386
|
header_params = {}
|
@@ -1463,10 +1477,11 @@ module Google
|
|
1463
1477
|
# Customize the options with defaults
|
1464
1478
|
metadata = @config.rpcs.list_snapshots.metadata.to_h
|
1465
1479
|
|
1466
|
-
# Set x-goog-api-client
|
1480
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
1467
1481
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
1468
1482
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
1469
1483
|
gapic_version: ::Google::Cloud::PubSub::V1::VERSION
|
1484
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
1470
1485
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
1471
1486
|
|
1472
1487
|
header_params = {}
|
@@ -1582,10 +1597,11 @@ module Google
|
|
1582
1597
|
# Customize the options with defaults
|
1583
1598
|
metadata = @config.rpcs.create_snapshot.metadata.to_h
|
1584
1599
|
|
1585
|
-
# Set x-goog-api-client
|
1600
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
1586
1601
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
1587
1602
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
1588
1603
|
gapic_version: ::Google::Cloud::PubSub::V1::VERSION
|
1604
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
1589
1605
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
1590
1606
|
|
1591
1607
|
header_params = {}
|
@@ -1675,10 +1691,11 @@ module Google
|
|
1675
1691
|
# Customize the options with defaults
|
1676
1692
|
metadata = @config.rpcs.update_snapshot.metadata.to_h
|
1677
1693
|
|
1678
|
-
# Set x-goog-api-client
|
1694
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
1679
1695
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
1680
1696
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
1681
1697
|
gapic_version: ::Google::Cloud::PubSub::V1::VERSION
|
1698
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
1682
1699
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
1683
1700
|
|
1684
1701
|
header_params = {}
|
@@ -1769,10 +1786,11 @@ module Google
|
|
1769
1786
|
# Customize the options with defaults
|
1770
1787
|
metadata = @config.rpcs.delete_snapshot.metadata.to_h
|
1771
1788
|
|
1772
|
-
# Set x-goog-api-client
|
1789
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
1773
1790
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
1774
1791
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
1775
1792
|
gapic_version: ::Google::Cloud::PubSub::V1::VERSION
|
1793
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
1776
1794
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
1777
1795
|
|
1778
1796
|
header_params = {}
|
@@ -1876,10 +1894,11 @@ module Google
|
|
1876
1894
|
# Customize the options with defaults
|
1877
1895
|
metadata = @config.rpcs.seek.metadata.to_h
|
1878
1896
|
|
1879
|
-
# Set x-goog-api-client
|
1897
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
1880
1898
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
1881
1899
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
1882
1900
|
gapic_version: ::Google::Cloud::PubSub::V1::VERSION
|
1901
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
1883
1902
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
1884
1903
|
|
1885
1904
|
header_params = {}
|
@@ -15,7 +15,7 @@ require 'google/protobuf/timestamp_pb'
|
|
15
15
|
require 'google/pubsub/v1/schema_pb'
|
16
16
|
|
17
17
|
|
18
|
-
descriptor_data = "\n\x1dgoogle/pubsub/v1/pubsub.proto\x12\x10google.pubsub.v1\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/api/client.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a\x1egoogle/protobuf/duration.proto\x1a\x1bgoogle/protobuf/empty.proto\x1a google/protobuf/field_mask.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x1dgoogle/pubsub/v1/schema.proto\"a\n\x14MessageStoragePolicy\x12(\n\x1b\x61llowed_persistence_regions\x18\x01 \x03(\tB\x03\xe0\x41\x01\x12\x1f\n\x12\x65nforce_in_transit\x18\x02 \x01(\x08\x42\x03\xe0\x41\x01\"\xb8\x01\n\x0eSchemaSettings\x12\x34\n\x06schema\x18\x01 \x01(\tB$\xe0\x41\x02\xfa\x41\x1e\n\x1cpubsub.googleapis.com/Schema\x12\x31\n\x08\x65ncoding\x18\x02 \x01(\x0e\x32\x1a.google.pubsub.v1.EncodingB\x03\xe0\x41\x01\x12\x1e\n\x11\x66irst_revision_id\x18\x03 \x01(\tB\x03\xe0\x41\x01\x12\x1d\n\x10last_revision_id\x18\x04 \x01(\tB\x03\xe0\x41\x01\"\xea\x03\n\x1bIngestionDataSourceSettings\x12T\n\x0b\x61ws_kinesis\x18\x01 \x01(\x0b\x32\x38.google.pubsub.v1.IngestionDataSourceSettings.AwsKinesisB\x03\xe0\x41\x01H\x00\x1a\xea\x02\n\nAwsKinesis\x12R\n\x05state\x18\x01 \x01(\x0e\x32>.google.pubsub.v1.IngestionDataSourceSettings.AwsKinesis.StateB\x03\xe0\x41\x03\x12\x17\n\nstream_arn\x18\x02 \x01(\tB\x03\xe0\x41\x02\x12\x19\n\x0c\x63onsumer_arn\x18\x03 \x01(\tB\x03\xe0\x41\x02\x12\x19\n\x0c\x61ws_role_arn\x18\x04 \x01(\tB\x03\xe0\x41\x02\x12 \n\x13gcp_service_account\x18\x05 \x01(\tB\x03\xe0\x41\x02\"\x96\x01\n\x05State\x12\x15\n\x11STATE_UNSPECIFIED\x10\x00\x12\n\n\x06\x41\x43TIVE\x10\x01\x12\x1d\n\x19KINESIS_PERMISSION_DENIED\x10\x02\x12\x1d\n\x19PUBLISH_PERMISSION_DENIED\x10\x03\x12\x14\n\x10STREAM_NOT_FOUND\x10\x04\x12\x16\n\x12\x43ONSUMER_NOT_FOUND\x10\x05\x42\x08\n\x06source\"\xba\x05\n\x05Topic\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12\x38\n\x06labels\x18\x02 \x03(\x0b\x32#.google.pubsub.v1.Topic.LabelsEntryB\x03\xe0\x41\x01\x12K\n\x16message_storage_policy\x18\x03 \x01(\x0b\x32&.google.pubsub.v1.MessageStoragePolicyB\x03\xe0\x41\x01\x12\x19\n\x0ckms_key_name\x18\x05 \x01(\tB\x03\xe0\x41\x01\x12>\n\x0fschema_settings\x18\x06 \x01(\x0b\x32 .google.pubsub.v1.SchemaSettingsB\x03\xe0\x41\x01\x12\x1a\n\rsatisfies_pzs\x18\x07 \x01(\x08\x42\x03\xe0\x41\x01\x12\x42\n\x1amessage_retention_duration\x18\x08 \x01(\x0b\x32\x19.google.protobuf.DurationB\x03\xe0\x41\x01\x12\x31\n\x05state\x18\t \x01(\x0e\x32\x1d.google.pubsub.v1.Topic.StateB\x03\xe0\x41\x03\x12Z\n\x1eingestion_data_source_settings\x18\n \x01(\x0b\x32-.google.pubsub.v1.IngestionDataSourceSettingsB\x03\xe0\x41\x01\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"H\n\x05State\x12\x15\n\x11STATE_UNSPECIFIED\x10\x00\x12\n\n\x06\x41\x43TIVE\x10\x01\x12\x1c\n\x18INGESTION_RESOURCE_ERROR\x10\x02:T\xea\x41Q\n\x1bpubsub.googleapis.com/Topic\x12!projects/{project}/topics/{topic}\x12\x0f_deleted-topic_\"\x80\x02\n\rPubsubMessage\x12\x11\n\x04\x64\x61ta\x18\x01 \x01(\x0c\x42\x03\xe0\x41\x01\x12H\n\nattributes\x18\x02 \x03(\x0b\x32/.google.pubsub.v1.PubsubMessage.AttributesEntryB\x03\xe0\x41\x01\x12\x12\n\nmessage_id\x18\x03 \x01(\t\x12\x30\n\x0cpublish_time\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x19\n\x0cordering_key\x18\x05 \x01(\tB\x03\xe0\x41\x01\x1a\x31\n\x0f\x41ttributesEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"E\n\x0fGetTopicRequest\x12\x32\n\x05topic\x18\x01 \x01(\tB#\xe0\x41\x02\xfa\x41\x1d\n\x1bpubsub.googleapis.com/Topic\"w\n\x12UpdateTopicRequest\x12+\n\x05topic\x18\x01 \x01(\x0b\x32\x17.google.pubsub.v1.TopicB\x03\xe0\x41\x02\x12\x34\n\x0bupdate_mask\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.FieldMaskB\x03\xe0\x41\x02\"|\n\x0ePublishRequest\x12\x32\n\x05topic\x18\x01 \x01(\tB#\xe0\x41\x02\xfa\x41\x1d\n\x1bpubsub.googleapis.com/Topic\x12\x36\n\x08messages\x18\x02 \x03(\x0b\x32\x1f.google.pubsub.v1.PubsubMessageB\x03\xe0\x41\x02\"+\n\x0fPublishResponse\x12\x18\n\x0bmessage_ids\x18\x01 \x03(\tB\x03\xe0\x41\x01\"\x8a\x01\n\x11ListTopicsRequest\x12\x44\n\x07project\x18\x01 \x01(\tB3\xe0\x41\x02\xfa\x41-\n+cloudresourcemanager.googleapis.com/Project\x12\x16\n\tpage_size\x18\x02 \x01(\x05\x42\x03\xe0\x41\x01\x12\x17\n\npage_token\x18\x03 \x01(\tB\x03\xe0\x41\x01\"`\n\x12ListTopicsResponse\x12,\n\x06topics\x18\x01 \x03(\x0b\x32\x17.google.pubsub.v1.TopicB\x03\xe0\x41\x01\x12\x1c\n\x0fnext_page_token\x18\x02 \x01(\tB\x03\xe0\x41\x01\"\x84\x01\n\x1dListTopicSubscriptionsRequest\x12\x32\n\x05topic\x18\x01 \x01(\tB#\xe0\x41\x02\xfa\x41\x1d\n\x1bpubsub.googleapis.com/Topic\x12\x16\n\tpage_size\x18\x02 \x01(\x05\x42\x03\xe0\x41\x01\x12\x17\n\npage_token\x18\x03 \x01(\tB\x03\xe0\x41\x01\"\x81\x01\n\x1eListTopicSubscriptionsResponse\x12\x41\n\rsubscriptions\x18\x01 \x03(\tB*\xe0\x41\x01\xfa\x41$\n\"pubsub.googleapis.com/Subscription\x12\x1c\n\x0fnext_page_token\x18\x02 \x01(\tB\x03\xe0\x41\x01\"\x80\x01\n\x19ListTopicSnapshotsRequest\x12\x32\n\x05topic\x18\x01 \x01(\tB#\xe0\x41\x02\xfa\x41\x1d\n\x1bpubsub.googleapis.com/Topic\x12\x16\n\tpage_size\x18\x02 \x01(\x05\x42\x03\xe0\x41\x01\x12\x17\n\npage_token\x18\x03 \x01(\tB\x03\xe0\x41\x01\"R\n\x1aListTopicSnapshotsResponse\x12\x16\n\tsnapshots\x18\x01 \x03(\tB\x03\xe0\x41\x01\x12\x1c\n\x0fnext_page_token\x18\x02 \x01(\tB\x03\xe0\x41\x01\"H\n\x12\x44\x65leteTopicRequest\x12\x32\n\x05topic\x18\x01 \x01(\tB#\xe0\x41\x02\xfa\x41\x1d\n\x1bpubsub.googleapis.com/Topic\"]\n\x19\x44\x65tachSubscriptionRequest\x12@\n\x0csubscription\x18\x01 \x01(\tB*\xe0\x41\x02\xfa\x41$\n\"pubsub.googleapis.com/Subscription\"\x1c\n\x1a\x44\x65tachSubscriptionResponse\"\xef\x08\n\x0cSubscription\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12\x32\n\x05topic\x18\x02 \x01(\tB#\xe0\x41\x02\xfa\x41\x1d\n\x1bpubsub.googleapis.com/Topic\x12\x36\n\x0bpush_config\x18\x04 \x01(\x0b\x32\x1c.google.pubsub.v1.PushConfigB\x03\xe0\x41\x01\x12>\n\x0f\x62igquery_config\x18\x12 \x01(\x0b\x32 .google.pubsub.v1.BigQueryConfigB\x03\xe0\x41\x01\x12G\n\x14\x63loud_storage_config\x18\x16 \x01(\x0b\x32$.google.pubsub.v1.CloudStorageConfigB\x03\xe0\x41\x01\x12!\n\x14\x61\x63k_deadline_seconds\x18\x05 \x01(\x05\x42\x03\xe0\x41\x01\x12\"\n\x15retain_acked_messages\x18\x07 \x01(\x08\x42\x03\xe0\x41\x01\x12\x42\n\x1amessage_retention_duration\x18\x08 \x01(\x0b\x32\x19.google.protobuf.DurationB\x03\xe0\x41\x01\x12?\n\x06labels\x18\t \x03(\x0b\x32*.google.pubsub.v1.Subscription.LabelsEntryB\x03\xe0\x41\x01\x12$\n\x17\x65nable_message_ordering\x18\n \x01(\x08\x42\x03\xe0\x41\x01\x12\x42\n\x11\x65xpiration_policy\x18\x0b \x01(\x0b\x32\".google.pubsub.v1.ExpirationPolicyB\x03\xe0\x41\x01\x12\x13\n\x06\x66ilter\x18\x0c \x01(\tB\x03\xe0\x41\x01\x12\x43\n\x12\x64\x65\x61\x64_letter_policy\x18\r \x01(\x0b\x32\".google.pubsub.v1.DeadLetterPolicyB\x03\xe0\x41\x01\x12\x38\n\x0cretry_policy\x18\x0e \x01(\x0b\x32\x1d.google.pubsub.v1.RetryPolicyB\x03\xe0\x41\x01\x12\x15\n\x08\x64\x65tached\x18\x0f \x01(\x08\x42\x03\xe0\x41\x01\x12)\n\x1c\x65nable_exactly_once_delivery\x18\x10 \x01(\x08\x42\x03\xe0\x41\x01\x12H\n topic_message_retention_duration\x18\x11 \x01(\x0b\x32\x19.google.protobuf.DurationB\x03\xe0\x41\x03\x12\x38\n\x05state\x18\x13 \x01(\x0e\x32$.google.pubsub.v1.Subscription.StateB\x03\xe0\x41\x03\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\">\n\x05State\x12\x15\n\x11STATE_UNSPECIFIED\x10\x00\x12\n\n\x06\x41\x43TIVE\x10\x01\x12\x12\n\x0eRESOURCE_ERROR\x10\x02:X\xea\x41U\n\"pubsub.googleapis.com/Subscription\x12/projects/{project}/subscriptions/{subscription}\"\x7f\n\x0bRetryPolicy\x12\x37\n\x0fminimum_backoff\x18\x01 \x01(\x0b\x32\x19.google.protobuf.DurationB\x03\xe0\x41\x01\x12\x37\n\x0fmaximum_backoff\x18\x02 \x01(\x0b\x32\x19.google.protobuf.DurationB\x03\xe0\x41\x01\"V\n\x10\x44\x65\x61\x64LetterPolicy\x12\x1e\n\x11\x64\x65\x61\x64_letter_topic\x18\x01 \x01(\tB\x03\xe0\x41\x01\x12\"\n\x15max_delivery_attempts\x18\x02 \x01(\x05\x42\x03\xe0\x41\x01\"?\n\x10\x45xpirationPolicy\x12+\n\x03ttl\x18\x01 \x01(\x0b\x32\x19.google.protobuf.DurationB\x03\xe0\x41\x01\"\x9a\x04\n\nPushConfig\x12\x1a\n\rpush_endpoint\x18\x01 \x01(\tB\x03\xe0\x41\x01\x12\x45\n\nattributes\x18\x02 \x03(\x0b\x32,.google.pubsub.v1.PushConfig.AttributesEntryB\x03\xe0\x41\x01\x12\x41\n\noidc_token\x18\x03 \x01(\x0b\x32&.google.pubsub.v1.PushConfig.OidcTokenB\x03\xe0\x41\x01H\x00\x12I\n\x0epubsub_wrapper\x18\x04 \x01(\x0b\x32*.google.pubsub.v1.PushConfig.PubsubWrapperB\x03\xe0\x41\x01H\x01\x12\x41\n\nno_wrapper\x18\x05 \x01(\x0b\x32&.google.pubsub.v1.PushConfig.NoWrapperB\x03\xe0\x41\x01H\x01\x1a\x46\n\tOidcToken\x12\"\n\x15service_account_email\x18\x01 \x01(\tB\x03\xe0\x41\x01\x12\x15\n\x08\x61udience\x18\x02 \x01(\tB\x03\xe0\x41\x01\x1a\x0f\n\rPubsubWrapper\x1a(\n\tNoWrapper\x12\x1b\n\x0ewrite_metadata\x18\x01 \x01(\x08\x42\x03\xe0\x41\x01\x1a\x31\n\x0f\x41ttributesEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x42\x17\n\x15\x61uthentication_methodB\t\n\x07wrapper\"\xea\x02\n\x0e\x42igQueryConfig\x12\x12\n\x05table\x18\x01 \x01(\tB\x03\xe0\x41\x01\x12\x1d\n\x10use_topic_schema\x18\x02 \x01(\x08\x42\x03\xe0\x41\x01\x12\x1b\n\x0ewrite_metadata\x18\x03 \x01(\x08\x42\x03\xe0\x41\x01\x12 \n\x13\x64rop_unknown_fields\x18\x04 \x01(\x08\x42\x03\xe0\x41\x01\x12:\n\x05state\x18\x05 \x01(\x0e\x32&.google.pubsub.v1.BigQueryConfig.StateB\x03\xe0\x41\x03\x12\x1d\n\x10use_table_schema\x18\x06 \x01(\x08\x42\x03\xe0\x41\x01\"\x8a\x01\n\x05State\x12\x15\n\x11STATE_UNSPECIFIED\x10\x00\x12\n\n\x06\x41\x43TIVE\x10\x01\x12\x15\n\x11PERMISSION_DENIED\x10\x02\x12\r\n\tNOT_FOUND\x10\x03\x12\x13\n\x0fSCHEMA_MISMATCH\x10\x04\x12#\n\x1fIN_TRANSIT_LOCATION_RESTRICTION\x10\x05\"\xf5\x04\n\x12\x43loudStorageConfig\x12\x13\n\x06\x62ucket\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12\x1c\n\x0f\x66ilename_prefix\x18\x02 \x01(\tB\x03\xe0\x41\x01\x12\x1c\n\x0f\x66ilename_suffix\x18\x03 \x01(\tB\x03\xe0\x41\x01\x12%\n\x18\x66ilename_datetime_format\x18\n \x01(\tB\x03\xe0\x41\x01\x12K\n\x0btext_config\x18\x04 \x01(\x0b\x32/.google.pubsub.v1.CloudStorageConfig.TextConfigB\x03\xe0\x41\x01H\x00\x12K\n\x0b\x61vro_config\x18\x05 \x01(\x0b\x32/.google.pubsub.v1.CloudStorageConfig.AvroConfigB\x03\xe0\x41\x01H\x00\x12\x34\n\x0cmax_duration\x18\x06 \x01(\x0b\x32\x19.google.protobuf.DurationB\x03\xe0\x41\x01\x12\x16\n\tmax_bytes\x18\x07 \x01(\x03\x42\x03\xe0\x41\x01\x12>\n\x05state\x18\t \x01(\x0e\x32*.google.pubsub.v1.CloudStorageConfig.StateB\x03\xe0\x41\x03\x1a\x0c\n\nTextConfig\x1a)\n\nAvroConfig\x12\x1b\n\x0ewrite_metadata\x18\x01 \x01(\x08\x42\x03\xe0\x41\x01\"u\n\x05State\x12\x15\n\x11STATE_UNSPECIFIED\x10\x00\x12\n\n\x06\x41\x43TIVE\x10\x01\x12\x15\n\x11PERMISSION_DENIED\x10\x02\x12\r\n\tNOT_FOUND\x10\x03\x12#\n\x1fIN_TRANSIT_LOCATION_RESTRICTION\x10\x04\x42\x0f\n\routput_format\"|\n\x0fReceivedMessage\x12\x13\n\x06\x61\x63k_id\x18\x01 \x01(\tB\x03\xe0\x41\x01\x12\x35\n\x07message\x18\x02 \x01(\x0b\x32\x1f.google.pubsub.v1.PubsubMessageB\x03\xe0\x41\x01\x12\x1d\n\x10\x64\x65livery_attempt\x18\x03 \x01(\x05\x42\x03\xe0\x41\x01\"Z\n\x16GetSubscriptionRequest\x12@\n\x0csubscription\x18\x01 \x01(\tB*\xe0\x41\x02\xfa\x41$\n\"pubsub.googleapis.com/Subscription\"\x8c\x01\n\x19UpdateSubscriptionRequest\x12\x39\n\x0csubscription\x18\x01 \x01(\x0b\x32\x1e.google.pubsub.v1.SubscriptionB\x03\xe0\x41\x02\x12\x34\n\x0bupdate_mask\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.FieldMaskB\x03\xe0\x41\x02\"\x91\x01\n\x18ListSubscriptionsRequest\x12\x44\n\x07project\x18\x01 \x01(\tB3\xe0\x41\x02\xfa\x41-\n+cloudresourcemanager.googleapis.com/Project\x12\x16\n\tpage_size\x18\x02 \x01(\x05\x42\x03\xe0\x41\x01\x12\x17\n\npage_token\x18\x03 \x01(\tB\x03\xe0\x41\x01\"u\n\x19ListSubscriptionsResponse\x12:\n\rsubscriptions\x18\x01 \x03(\x0b\x32\x1e.google.pubsub.v1.SubscriptionB\x03\xe0\x41\x01\x12\x1c\n\x0fnext_page_token\x18\x02 \x01(\tB\x03\xe0\x41\x01\"]\n\x19\x44\x65leteSubscriptionRequest\x12@\n\x0csubscription\x18\x01 \x01(\tB*\xe0\x41\x02\xfa\x41$\n\"pubsub.googleapis.com/Subscription\"\x93\x01\n\x17ModifyPushConfigRequest\x12@\n\x0csubscription\x18\x01 \x01(\tB*\xe0\x41\x02\xfa\x41$\n\"pubsub.googleapis.com/Subscription\x12\x36\n\x0bpush_config\x18\x02 \x01(\x0b\x32\x1c.google.pubsub.v1.PushConfigB\x03\xe0\x41\x02\"\x8d\x01\n\x0bPullRequest\x12@\n\x0csubscription\x18\x01 \x01(\tB*\xe0\x41\x02\xfa\x41$\n\"pubsub.googleapis.com/Subscription\x12!\n\x12return_immediately\x18\x02 \x01(\x08\x42\x05\x18\x01\xe0\x41\x01\x12\x19\n\x0cmax_messages\x18\x03 \x01(\x05\x42\x03\xe0\x41\x02\"Q\n\x0cPullResponse\x12\x41\n\x11received_messages\x18\x01 \x03(\x0b\x32!.google.pubsub.v1.ReceivedMessageB\x03\xe0\x41\x01\"\x95\x01\n\x18ModifyAckDeadlineRequest\x12@\n\x0csubscription\x18\x01 \x01(\tB*\xe0\x41\x02\xfa\x41$\n\"pubsub.googleapis.com/Subscription\x12\x14\n\x07\x61\x63k_ids\x18\x04 \x03(\tB\x03\xe0\x41\x02\x12!\n\x14\x61\x63k_deadline_seconds\x18\x03 \x01(\x05\x42\x03\xe0\x41\x02\"l\n\x12\x41\x63knowledgeRequest\x12@\n\x0csubscription\x18\x01 \x01(\tB*\xe0\x41\x02\xfa\x41$\n\"pubsub.googleapis.com/Subscription\x12\x14\n\x07\x61\x63k_ids\x18\x02 \x03(\tB\x03\xe0\x41\x02\"\xc7\x02\n\x14StreamingPullRequest\x12@\n\x0csubscription\x18\x01 \x01(\tB*\xe0\x41\x02\xfa\x41$\n\"pubsub.googleapis.com/Subscription\x12\x14\n\x07\x61\x63k_ids\x18\x02 \x03(\tB\x03\xe0\x41\x01\x12$\n\x17modify_deadline_seconds\x18\x03 \x03(\x05\x42\x03\xe0\x41\x01\x12$\n\x17modify_deadline_ack_ids\x18\x04 \x03(\tB\x03\xe0\x41\x01\x12(\n\x1bstream_ack_deadline_seconds\x18\x05 \x01(\x05\x42\x03\xe0\x41\x02\x12\x16\n\tclient_id\x18\x06 \x01(\tB\x03\xe0\x41\x01\x12%\n\x18max_outstanding_messages\x18\x07 \x01(\x03\x42\x03\xe0\x41\x01\x12\"\n\x15max_outstanding_bytes\x18\x08 \x01(\x03\x42\x03\xe0\x41\x01\"\x9e\x06\n\x15StreamingPullResponse\x12\x41\n\x11received_messages\x18\x01 \x03(\x0b\x32!.google.pubsub.v1.ReceivedMessageB\x03\xe0\x41\x01\x12\x66\n\x18\x61\x63knowledge_confirmation\x18\x05 \x01(\x0b\x32?.google.pubsub.v1.StreamingPullResponse.AcknowledgeConfirmationB\x03\xe0\x41\x01\x12t\n modify_ack_deadline_confirmation\x18\x03 \x01(\x0b\x32\x45.google.pubsub.v1.StreamingPullResponse.ModifyAckDeadlineConfirmationB\x03\xe0\x41\x01\x12\x64\n\x17subscription_properties\x18\x04 \x01(\x0b\x32>.google.pubsub.v1.StreamingPullResponse.SubscriptionPropertiesB\x03\xe0\x41\x01\x1a\x94\x01\n\x17\x41\x63knowledgeConfirmation\x12\x14\n\x07\x61\x63k_ids\x18\x01 \x03(\tB\x03\xe0\x41\x01\x12\x1c\n\x0finvalid_ack_ids\x18\x02 \x03(\tB\x03\xe0\x41\x01\x12\x1e\n\x11unordered_ack_ids\x18\x03 \x03(\tB\x03\xe0\x41\x01\x12%\n\x18temporary_failed_ack_ids\x18\x04 \x03(\tB\x03\xe0\x41\x01\x1az\n\x1dModifyAckDeadlineConfirmation\x12\x14\n\x07\x61\x63k_ids\x18\x01 \x03(\tB\x03\xe0\x41\x01\x12\x1c\n\x0finvalid_ack_ids\x18\x02 \x03(\tB\x03\xe0\x41\x01\x12%\n\x18temporary_failed_ack_ids\x18\x03 \x03(\tB\x03\xe0\x41\x01\x1ak\n\x16SubscriptionProperties\x12*\n\x1d\x65xactly_once_delivery_enabled\x18\x01 \x01(\x08\x42\x03\xe0\x41\x01\x12%\n\x18message_ordering_enabled\x18\x02 \x01(\x08\x42\x03\xe0\x41\x01\"\x88\x02\n\x15\x43reateSnapshotRequest\x12\x34\n\x04name\x18\x01 \x01(\tB&\xe0\x41\x02\xfa\x41 \n\x1epubsub.googleapis.com/Snapshot\x12@\n\x0csubscription\x18\x02 \x01(\tB*\xe0\x41\x02\xfa\x41$\n\"pubsub.googleapis.com/Subscription\x12H\n\x06labels\x18\x03 \x03(\x0b\x32\x33.google.pubsub.v1.CreateSnapshotRequest.LabelsEntryB\x03\xe0\x41\x01\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"\x80\x01\n\x15UpdateSnapshotRequest\x12\x31\n\x08snapshot\x18\x01 \x01(\x0b\x32\x1a.google.pubsub.v1.SnapshotB\x03\xe0\x41\x02\x12\x34\n\x0bupdate_mask\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.FieldMaskB\x03\xe0\x41\x02\"\xc1\x02\n\x08Snapshot\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x01\x12\x32\n\x05topic\x18\x02 \x01(\tB#\xe0\x41\x01\xfa\x41\x1d\n\x1bpubsub.googleapis.com/Topic\x12\x34\n\x0b\x65xpire_time\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x01\x12;\n\x06labels\x18\x04 \x03(\x0b\x32&.google.pubsub.v1.Snapshot.LabelsEntryB\x03\xe0\x41\x01\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01:L\xea\x41I\n\x1epubsub.googleapis.com/Snapshot\x12\'projects/{project}/snapshots/{snapshot}\"N\n\x12GetSnapshotRequest\x12\x38\n\x08snapshot\x18\x01 \x01(\tB&\xe0\x41\x02\xfa\x41 \n\x1epubsub.googleapis.com/Snapshot\"\x8d\x01\n\x14ListSnapshotsRequest\x12\x44\n\x07project\x18\x01 \x01(\tB3\xe0\x41\x02\xfa\x41-\n+cloudresourcemanager.googleapis.com/Project\x12\x16\n\tpage_size\x18\x02 \x01(\x05\x42\x03\xe0\x41\x01\x12\x17\n\npage_token\x18\x03 \x01(\tB\x03\xe0\x41\x01\"i\n\x15ListSnapshotsResponse\x12\x32\n\tsnapshots\x18\x01 \x03(\x0b\x32\x1a.google.pubsub.v1.SnapshotB\x03\xe0\x41\x01\x12\x1c\n\x0fnext_page_token\x18\x02 \x01(\tB\x03\xe0\x41\x01\"Q\n\x15\x44\x65leteSnapshotRequest\x12\x38\n\x08snapshot\x18\x01 \x01(\tB&\xe0\x41\x02\xfa\x41 \n\x1epubsub.googleapis.com/Snapshot\"\xc6\x01\n\x0bSeekRequest\x12@\n\x0csubscription\x18\x01 \x01(\tB*\xe0\x41\x02\xfa\x41$\n\"pubsub.googleapis.com/Subscription\x12/\n\x04time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x01H\x00\x12:\n\x08snapshot\x18\x03 \x01(\tB&\xe0\x41\x01\xfa\x41 \n\x1epubsub.googleapis.com/SnapshotH\x00\x42\x08\n\x06target\"\x0e\n\x0cSeekResponse2\xb8\x0b\n\tPublisher\x12q\n\x0b\x43reateTopic\x12\x17.google.pubsub.v1.Topic\x1a\x17.google.pubsub.v1.Topic\"0\xda\x41\x04name\x82\xd3\xe4\x93\x02#\x1a\x1e/v1/{name=projects/*/topics/*}:\x01*\x12\x91\x01\n\x0bUpdateTopic\x12$.google.pubsub.v1.UpdateTopicRequest\x1a\x17.google.pubsub.v1.Topic\"C\xda\x41\x11topic,update_mask\x82\xd3\xe4\x93\x02)2$/v1/{topic.name=projects/*/topics/*}:\x01*\x12\x93\x01\n\x07Publish\x12 .google.pubsub.v1.PublishRequest\x1a!.google.pubsub.v1.PublishResponse\"C\xda\x41\x0etopic,messages\x82\xd3\xe4\x93\x02,\"\'/v1/{topic=projects/*/topics/*}:publish:\x01*\x12w\n\x08GetTopic\x12!.google.pubsub.v1.GetTopicRequest\x1a\x17.google.pubsub.v1.Topic\"/\xda\x41\x05topic\x82\xd3\xe4\x93\x02!\x12\x1f/v1/{topic=projects/*/topics/*}\x12\x8a\x01\n\nListTopics\x12#.google.pubsub.v1.ListTopicsRequest\x1a$.google.pubsub.v1.ListTopicsResponse\"1\xda\x41\x07project\x82\xd3\xe4\x93\x02!\x12\x1f/v1/{project=projects/*}/topics\x12\xba\x01\n\x16ListTopicSubscriptions\x12/.google.pubsub.v1.ListTopicSubscriptionsRequest\x1a\x30.google.pubsub.v1.ListTopicSubscriptionsResponse\"=\xda\x41\x05topic\x82\xd3\xe4\x93\x02/\x12-/v1/{topic=projects/*/topics/*}/subscriptions\x12\xaa\x01\n\x12ListTopicSnapshots\x12+.google.pubsub.v1.ListTopicSnapshotsRequest\x1a,.google.pubsub.v1.ListTopicSnapshotsResponse\"9\xda\x41\x05topic\x82\xd3\xe4\x93\x02+\x12)/v1/{topic=projects/*/topics/*}/snapshots\x12|\n\x0b\x44\x65leteTopic\x12$.google.pubsub.v1.DeleteTopicRequest\x1a\x16.google.protobuf.Empty\"/\xda\x41\x05topic\x82\xd3\xe4\x93\x02!*\x1f/v1/{topic=projects/*/topics/*}\x12\xad\x01\n\x12\x44\x65tachSubscription\x12+.google.pubsub.v1.DetachSubscriptionRequest\x1a,.google.pubsub.v1.DetachSubscriptionResponse\"<\x82\xd3\xe4\x93\x02\x36\"4/v1/{subscription=projects/*/subscriptions/*}:detach\x1ap\xca\x41\x15pubsub.googleapis.com\xd2\x41Uhttps://www.googleapis.com/auth/cloud-platform,https://www.googleapis.com/auth/pubsub2\xd2\x15\n\nSubscriber\x12\xb4\x01\n\x12\x43reateSubscription\x12\x1e.google.pubsub.v1.Subscription\x1a\x1e.google.pubsub.v1.Subscription\"^\xda\x41+name,topic,push_config,ack_deadline_seconds\x82\xd3\xe4\x93\x02*\x1a%/v1/{name=projects/*/subscriptions/*}:\x01*\x12\xa1\x01\n\x0fGetSubscription\x12(.google.pubsub.v1.GetSubscriptionRequest\x1a\x1e.google.pubsub.v1.Subscription\"D\xda\x41\x0csubscription\x82\xd3\xe4\x93\x02/\x12-/v1/{subscription=projects/*/subscriptions/*}\x12\xbb\x01\n\x12UpdateSubscription\x12+.google.pubsub.v1.UpdateSubscriptionRequest\x1a\x1e.google.pubsub.v1.Subscription\"X\xda\x41\x18subscription,update_mask\x82\xd3\xe4\x93\x02\x37\x32\x32/v1/{subscription.name=projects/*/subscriptions/*}:\x01*\x12\xa6\x01\n\x11ListSubscriptions\x12*.google.pubsub.v1.ListSubscriptionsRequest\x1a+.google.pubsub.v1.ListSubscriptionsResponse\"8\xda\x41\x07project\x82\xd3\xe4\x93\x02(\x12&/v1/{project=projects/*}/subscriptions\x12\x9f\x01\n\x12\x44\x65leteSubscription\x12+.google.pubsub.v1.DeleteSubscriptionRequest\x1a\x16.google.protobuf.Empty\"D\xda\x41\x0csubscription\x82\xd3\xe4\x93\x02/*-/v1/{subscription=projects/*/subscriptions/*}\x12\xcf\x01\n\x11ModifyAckDeadline\x12*.google.pubsub.v1.ModifyAckDeadlineRequest\x1a\x16.google.protobuf.Empty\"v\xda\x41)subscription,ack_ids,ack_deadline_seconds\x82\xd3\xe4\x93\x02\x44\"?/v1/{subscription=projects/*/subscriptions/*}:modifyAckDeadline:\x01*\x12\xa8\x01\n\x0b\x41\x63knowledge\x12$.google.pubsub.v1.AcknowledgeRequest\x1a\x16.google.protobuf.Empty\"[\xda\x41\x14subscription,ack_ids\x82\xd3\xe4\x93\x02>\"9/v1/{subscription=projects/*/subscriptions/*}:acknowledge:\x01*\x12\xd0\x01\n\x04Pull\x12\x1d.google.pubsub.v1.PullRequest\x1a\x1e.google.pubsub.v1.PullResponse\"\x88\x01\xda\x41,subscription,return_immediately,max_messages\xda\x41\x19subscription,max_messages\x82\xd3\xe4\x93\x02\x37\"2/v1/{subscription=projects/*/subscriptions/*}:pull:\x01*\x12\x66\n\rStreamingPull\x12&.google.pubsub.v1.StreamingPullRequest\x1a\'.google.pubsub.v1.StreamingPullResponse\"\x00(\x01\x30\x01\x12\xbb\x01\n\x10ModifyPushConfig\x12).google.pubsub.v1.ModifyPushConfigRequest\x1a\x16.google.protobuf.Empty\"d\xda\x41\x18subscription,push_config\x82\xd3\xe4\x93\x02\x43\">/v1/{subscription=projects/*/subscriptions/*}:modifyPushConfig:\x01*\x12\x89\x01\n\x0bGetSnapshot\x12$.google.pubsub.v1.GetSnapshotRequest\x1a\x1a.google.pubsub.v1.Snapshot\"8\xda\x41\x08snapshot\x82\xd3\xe4\x93\x02\'\x12%/v1/{snapshot=projects/*/snapshots/*}\x12\x96\x01\n\rListSnapshots\x12&.google.pubsub.v1.ListSnapshotsRequest\x1a\'.google.pubsub.v1.ListSnapshotsResponse\"4\xda\x41\x07project\x82\xd3\xe4\x93\x02$\x12\"/v1/{project=projects/*}/snapshots\x12\x97\x01\n\x0e\x43reateSnapshot\x12\'.google.pubsub.v1.CreateSnapshotRequest\x1a\x1a.google.pubsub.v1.Snapshot\"@\xda\x41\x11name,subscription\x82\xd3\xe4\x93\x02&\x1a!/v1/{name=projects/*/snapshots/*}:\x01*\x12\xa3\x01\n\x0eUpdateSnapshot\x12\'.google.pubsub.v1.UpdateSnapshotRequest\x1a\x1a.google.pubsub.v1.Snapshot\"L\xda\x41\x14snapshot,update_mask\x82\xd3\xe4\x93\x02/2*/v1/{snapshot.name=projects/*/snapshots/*}:\x01*\x12\x8b\x01\n\x0e\x44\x65leteSnapshot\x12\'.google.pubsub.v1.DeleteSnapshotRequest\x1a\x16.google.protobuf.Empty\"8\xda\x41\x08snapshot\x82\xd3\xe4\x93\x02\'*%/v1/{snapshot=projects/*/snapshots/*}\x12\x84\x01\n\x04Seek\x12\x1d.google.pubsub.v1.SeekRequest\x1a\x1e.google.pubsub.v1.SeekResponse\"=\x82\xd3\xe4\x93\x02\x37\"2/v1/{subscription=projects/*/subscriptions/*}:seek:\x01*\x1ap\xca\x41\x15pubsub.googleapis.com\xd2\x41Uhttps://www.googleapis.com/auth/cloud-platform,https://www.googleapis.com/auth/pubsubB\xaa\x01\n\x14\x63om.google.pubsub.v1B\x0bPubsubProtoP\x01Z2cloud.google.com/go/pubsub/apiv1/pubsubpb;pubsubpb\xf8\x01\x01\xaa\x02\x16Google.Cloud.PubSub.V1\xca\x02\x16Google\\Cloud\\PubSub\\V1\xea\x02\x19Google::Cloud::PubSub::V1b\x06proto3"
|
18
|
+
descriptor_data = "\n\x1dgoogle/pubsub/v1/pubsub.proto\x12\x10google.pubsub.v1\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/api/client.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a\x1egoogle/protobuf/duration.proto\x1a\x1bgoogle/protobuf/empty.proto\x1a google/protobuf/field_mask.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x1dgoogle/pubsub/v1/schema.proto\"a\n\x14MessageStoragePolicy\x12(\n\x1b\x61llowed_persistence_regions\x18\x01 \x03(\tB\x03\xe0\x41\x01\x12\x1f\n\x12\x65nforce_in_transit\x18\x02 \x01(\x08\x42\x03\xe0\x41\x01\"\xb8\x01\n\x0eSchemaSettings\x12\x34\n\x06schema\x18\x01 \x01(\tB$\xe0\x41\x02\xfa\x41\x1e\n\x1cpubsub.googleapis.com/Schema\x12\x31\n\x08\x65ncoding\x18\x02 \x01(\x0e\x32\x1a.google.pubsub.v1.EncodingB\x03\xe0\x41\x01\x12\x1e\n\x11\x66irst_revision_id\x18\x03 \x01(\tB\x03\xe0\x41\x01\x12\x1d\n\x10last_revision_id\x18\x04 \x01(\tB\x03\xe0\x41\x01\"\xea\x03\n\x1bIngestionDataSourceSettings\x12T\n\x0b\x61ws_kinesis\x18\x01 \x01(\x0b\x32\x38.google.pubsub.v1.IngestionDataSourceSettings.AwsKinesisB\x03\xe0\x41\x01H\x00\x1a\xea\x02\n\nAwsKinesis\x12R\n\x05state\x18\x01 \x01(\x0e\x32>.google.pubsub.v1.IngestionDataSourceSettings.AwsKinesis.StateB\x03\xe0\x41\x03\x12\x17\n\nstream_arn\x18\x02 \x01(\tB\x03\xe0\x41\x02\x12\x19\n\x0c\x63onsumer_arn\x18\x03 \x01(\tB\x03\xe0\x41\x02\x12\x19\n\x0c\x61ws_role_arn\x18\x04 \x01(\tB\x03\xe0\x41\x02\x12 \n\x13gcp_service_account\x18\x05 \x01(\tB\x03\xe0\x41\x02\"\x96\x01\n\x05State\x12\x15\n\x11STATE_UNSPECIFIED\x10\x00\x12\n\n\x06\x41\x43TIVE\x10\x01\x12\x1d\n\x19KINESIS_PERMISSION_DENIED\x10\x02\x12\x1d\n\x19PUBLISH_PERMISSION_DENIED\x10\x03\x12\x14\n\x10STREAM_NOT_FOUND\x10\x04\x12\x16\n\x12\x43ONSUMER_NOT_FOUND\x10\x05\x42\x08\n\x06source\"\xba\x05\n\x05Topic\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12\x38\n\x06labels\x18\x02 \x03(\x0b\x32#.google.pubsub.v1.Topic.LabelsEntryB\x03\xe0\x41\x01\x12K\n\x16message_storage_policy\x18\x03 \x01(\x0b\x32&.google.pubsub.v1.MessageStoragePolicyB\x03\xe0\x41\x01\x12\x19\n\x0ckms_key_name\x18\x05 \x01(\tB\x03\xe0\x41\x01\x12>\n\x0fschema_settings\x18\x06 \x01(\x0b\x32 .google.pubsub.v1.SchemaSettingsB\x03\xe0\x41\x01\x12\x1a\n\rsatisfies_pzs\x18\x07 \x01(\x08\x42\x03\xe0\x41\x01\x12\x42\n\x1amessage_retention_duration\x18\x08 \x01(\x0b\x32\x19.google.protobuf.DurationB\x03\xe0\x41\x01\x12\x31\n\x05state\x18\t \x01(\x0e\x32\x1d.google.pubsub.v1.Topic.StateB\x03\xe0\x41\x03\x12Z\n\x1eingestion_data_source_settings\x18\n \x01(\x0b\x32-.google.pubsub.v1.IngestionDataSourceSettingsB\x03\xe0\x41\x01\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"H\n\x05State\x12\x15\n\x11STATE_UNSPECIFIED\x10\x00\x12\n\n\x06\x41\x43TIVE\x10\x01\x12\x1c\n\x18INGESTION_RESOURCE_ERROR\x10\x02:T\xea\x41Q\n\x1bpubsub.googleapis.com/Topic\x12!projects/{project}/topics/{topic}\x12\x0f_deleted-topic_\"\x80\x02\n\rPubsubMessage\x12\x11\n\x04\x64\x61ta\x18\x01 \x01(\x0c\x42\x03\xe0\x41\x01\x12H\n\nattributes\x18\x02 \x03(\x0b\x32/.google.pubsub.v1.PubsubMessage.AttributesEntryB\x03\xe0\x41\x01\x12\x12\n\nmessage_id\x18\x03 \x01(\t\x12\x30\n\x0cpublish_time\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x19\n\x0cordering_key\x18\x05 \x01(\tB\x03\xe0\x41\x01\x1a\x31\n\x0f\x41ttributesEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"E\n\x0fGetTopicRequest\x12\x32\n\x05topic\x18\x01 \x01(\tB#\xe0\x41\x02\xfa\x41\x1d\n\x1bpubsub.googleapis.com/Topic\"w\n\x12UpdateTopicRequest\x12+\n\x05topic\x18\x01 \x01(\x0b\x32\x17.google.pubsub.v1.TopicB\x03\xe0\x41\x02\x12\x34\n\x0bupdate_mask\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.FieldMaskB\x03\xe0\x41\x02\"|\n\x0ePublishRequest\x12\x32\n\x05topic\x18\x01 \x01(\tB#\xe0\x41\x02\xfa\x41\x1d\n\x1bpubsub.googleapis.com/Topic\x12\x36\n\x08messages\x18\x02 \x03(\x0b\x32\x1f.google.pubsub.v1.PubsubMessageB\x03\xe0\x41\x02\"+\n\x0fPublishResponse\x12\x18\n\x0bmessage_ids\x18\x01 \x03(\tB\x03\xe0\x41\x01\"\x8a\x01\n\x11ListTopicsRequest\x12\x44\n\x07project\x18\x01 \x01(\tB3\xe0\x41\x02\xfa\x41-\n+cloudresourcemanager.googleapis.com/Project\x12\x16\n\tpage_size\x18\x02 \x01(\x05\x42\x03\xe0\x41\x01\x12\x17\n\npage_token\x18\x03 \x01(\tB\x03\xe0\x41\x01\"`\n\x12ListTopicsResponse\x12,\n\x06topics\x18\x01 \x03(\x0b\x32\x17.google.pubsub.v1.TopicB\x03\xe0\x41\x01\x12\x1c\n\x0fnext_page_token\x18\x02 \x01(\tB\x03\xe0\x41\x01\"\x84\x01\n\x1dListTopicSubscriptionsRequest\x12\x32\n\x05topic\x18\x01 \x01(\tB#\xe0\x41\x02\xfa\x41\x1d\n\x1bpubsub.googleapis.com/Topic\x12\x16\n\tpage_size\x18\x02 \x01(\x05\x42\x03\xe0\x41\x01\x12\x17\n\npage_token\x18\x03 \x01(\tB\x03\xe0\x41\x01\"\x81\x01\n\x1eListTopicSubscriptionsResponse\x12\x41\n\rsubscriptions\x18\x01 \x03(\tB*\xe0\x41\x01\xfa\x41$\n\"pubsub.googleapis.com/Subscription\x12\x1c\n\x0fnext_page_token\x18\x02 \x01(\tB\x03\xe0\x41\x01\"\x80\x01\n\x19ListTopicSnapshotsRequest\x12\x32\n\x05topic\x18\x01 \x01(\tB#\xe0\x41\x02\xfa\x41\x1d\n\x1bpubsub.googleapis.com/Topic\x12\x16\n\tpage_size\x18\x02 \x01(\x05\x42\x03\xe0\x41\x01\x12\x17\n\npage_token\x18\x03 \x01(\tB\x03\xe0\x41\x01\"R\n\x1aListTopicSnapshotsResponse\x12\x16\n\tsnapshots\x18\x01 \x03(\tB\x03\xe0\x41\x01\x12\x1c\n\x0fnext_page_token\x18\x02 \x01(\tB\x03\xe0\x41\x01\"H\n\x12\x44\x65leteTopicRequest\x12\x32\n\x05topic\x18\x01 \x01(\tB#\xe0\x41\x02\xfa\x41\x1d\n\x1bpubsub.googleapis.com/Topic\"]\n\x19\x44\x65tachSubscriptionRequest\x12@\n\x0csubscription\x18\x01 \x01(\tB*\xe0\x41\x02\xfa\x41$\n\"pubsub.googleapis.com/Subscription\"\x1c\n\x1a\x44\x65tachSubscriptionResponse\"\xef\x08\n\x0cSubscription\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12\x32\n\x05topic\x18\x02 \x01(\tB#\xe0\x41\x02\xfa\x41\x1d\n\x1bpubsub.googleapis.com/Topic\x12\x36\n\x0bpush_config\x18\x04 \x01(\x0b\x32\x1c.google.pubsub.v1.PushConfigB\x03\xe0\x41\x01\x12>\n\x0f\x62igquery_config\x18\x12 \x01(\x0b\x32 .google.pubsub.v1.BigQueryConfigB\x03\xe0\x41\x01\x12G\n\x14\x63loud_storage_config\x18\x16 \x01(\x0b\x32$.google.pubsub.v1.CloudStorageConfigB\x03\xe0\x41\x01\x12!\n\x14\x61\x63k_deadline_seconds\x18\x05 \x01(\x05\x42\x03\xe0\x41\x01\x12\"\n\x15retain_acked_messages\x18\x07 \x01(\x08\x42\x03\xe0\x41\x01\x12\x42\n\x1amessage_retention_duration\x18\x08 \x01(\x0b\x32\x19.google.protobuf.DurationB\x03\xe0\x41\x01\x12?\n\x06labels\x18\t \x03(\x0b\x32*.google.pubsub.v1.Subscription.LabelsEntryB\x03\xe0\x41\x01\x12$\n\x17\x65nable_message_ordering\x18\n \x01(\x08\x42\x03\xe0\x41\x01\x12\x42\n\x11\x65xpiration_policy\x18\x0b \x01(\x0b\x32\".google.pubsub.v1.ExpirationPolicyB\x03\xe0\x41\x01\x12\x13\n\x06\x66ilter\x18\x0c \x01(\tB\x03\xe0\x41\x01\x12\x43\n\x12\x64\x65\x61\x64_letter_policy\x18\r \x01(\x0b\x32\".google.pubsub.v1.DeadLetterPolicyB\x03\xe0\x41\x01\x12\x38\n\x0cretry_policy\x18\x0e \x01(\x0b\x32\x1d.google.pubsub.v1.RetryPolicyB\x03\xe0\x41\x01\x12\x15\n\x08\x64\x65tached\x18\x0f \x01(\x08\x42\x03\xe0\x41\x01\x12)\n\x1c\x65nable_exactly_once_delivery\x18\x10 \x01(\x08\x42\x03\xe0\x41\x01\x12H\n topic_message_retention_duration\x18\x11 \x01(\x0b\x32\x19.google.protobuf.DurationB\x03\xe0\x41\x03\x12\x38\n\x05state\x18\x13 \x01(\x0e\x32$.google.pubsub.v1.Subscription.StateB\x03\xe0\x41\x03\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\">\n\x05State\x12\x15\n\x11STATE_UNSPECIFIED\x10\x00\x12\n\n\x06\x41\x43TIVE\x10\x01\x12\x12\n\x0eRESOURCE_ERROR\x10\x02:X\xea\x41U\n\"pubsub.googleapis.com/Subscription\x12/projects/{project}/subscriptions/{subscription}\"\x7f\n\x0bRetryPolicy\x12\x37\n\x0fminimum_backoff\x18\x01 \x01(\x0b\x32\x19.google.protobuf.DurationB\x03\xe0\x41\x01\x12\x37\n\x0fmaximum_backoff\x18\x02 \x01(\x0b\x32\x19.google.protobuf.DurationB\x03\xe0\x41\x01\"V\n\x10\x44\x65\x61\x64LetterPolicy\x12\x1e\n\x11\x64\x65\x61\x64_letter_topic\x18\x01 \x01(\tB\x03\xe0\x41\x01\x12\"\n\x15max_delivery_attempts\x18\x02 \x01(\x05\x42\x03\xe0\x41\x01\"?\n\x10\x45xpirationPolicy\x12+\n\x03ttl\x18\x01 \x01(\x0b\x32\x19.google.protobuf.DurationB\x03\xe0\x41\x01\"\x9a\x04\n\nPushConfig\x12\x1a\n\rpush_endpoint\x18\x01 \x01(\tB\x03\xe0\x41\x01\x12\x45\n\nattributes\x18\x02 \x03(\x0b\x32,.google.pubsub.v1.PushConfig.AttributesEntryB\x03\xe0\x41\x01\x12\x41\n\noidc_token\x18\x03 \x01(\x0b\x32&.google.pubsub.v1.PushConfig.OidcTokenB\x03\xe0\x41\x01H\x00\x12I\n\x0epubsub_wrapper\x18\x04 \x01(\x0b\x32*.google.pubsub.v1.PushConfig.PubsubWrapperB\x03\xe0\x41\x01H\x01\x12\x41\n\nno_wrapper\x18\x05 \x01(\x0b\x32&.google.pubsub.v1.PushConfig.NoWrapperB\x03\xe0\x41\x01H\x01\x1a\x46\n\tOidcToken\x12\"\n\x15service_account_email\x18\x01 \x01(\tB\x03\xe0\x41\x01\x12\x15\n\x08\x61udience\x18\x02 \x01(\tB\x03\xe0\x41\x01\x1a\x0f\n\rPubsubWrapper\x1a(\n\tNoWrapper\x12\x1b\n\x0ewrite_metadata\x18\x01 \x01(\x08\x42\x03\xe0\x41\x01\x1a\x31\n\x0f\x41ttributesEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x42\x17\n\x15\x61uthentication_methodB\t\n\x07wrapper\"\x8e\x03\n\x0e\x42igQueryConfig\x12\x12\n\x05table\x18\x01 \x01(\tB\x03\xe0\x41\x01\x12\x1d\n\x10use_topic_schema\x18\x02 \x01(\x08\x42\x03\xe0\x41\x01\x12\x1b\n\x0ewrite_metadata\x18\x03 \x01(\x08\x42\x03\xe0\x41\x01\x12 \n\x13\x64rop_unknown_fields\x18\x04 \x01(\x08\x42\x03\xe0\x41\x01\x12:\n\x05state\x18\x05 \x01(\x0e\x32&.google.pubsub.v1.BigQueryConfig.StateB\x03\xe0\x41\x03\x12\x1d\n\x10use_table_schema\x18\x06 \x01(\x08\x42\x03\xe0\x41\x01\x12\"\n\x15service_account_email\x18\x07 \x01(\tB\x03\xe0\x41\x01\"\x8a\x01\n\x05State\x12\x15\n\x11STATE_UNSPECIFIED\x10\x00\x12\n\n\x06\x41\x43TIVE\x10\x01\x12\x15\n\x11PERMISSION_DENIED\x10\x02\x12\r\n\tNOT_FOUND\x10\x03\x12\x13\n\x0fSCHEMA_MISMATCH\x10\x04\x12#\n\x1fIN_TRANSIT_LOCATION_RESTRICTION\x10\x05\"\x99\x05\n\x12\x43loudStorageConfig\x12\x13\n\x06\x62ucket\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12\x1c\n\x0f\x66ilename_prefix\x18\x02 \x01(\tB\x03\xe0\x41\x01\x12\x1c\n\x0f\x66ilename_suffix\x18\x03 \x01(\tB\x03\xe0\x41\x01\x12%\n\x18\x66ilename_datetime_format\x18\n \x01(\tB\x03\xe0\x41\x01\x12K\n\x0btext_config\x18\x04 \x01(\x0b\x32/.google.pubsub.v1.CloudStorageConfig.TextConfigB\x03\xe0\x41\x01H\x00\x12K\n\x0b\x61vro_config\x18\x05 \x01(\x0b\x32/.google.pubsub.v1.CloudStorageConfig.AvroConfigB\x03\xe0\x41\x01H\x00\x12\x34\n\x0cmax_duration\x18\x06 \x01(\x0b\x32\x19.google.protobuf.DurationB\x03\xe0\x41\x01\x12\x16\n\tmax_bytes\x18\x07 \x01(\x03\x42\x03\xe0\x41\x01\x12>\n\x05state\x18\t \x01(\x0e\x32*.google.pubsub.v1.CloudStorageConfig.StateB\x03\xe0\x41\x03\x12\"\n\x15service_account_email\x18\x0b \x01(\tB\x03\xe0\x41\x01\x1a\x0c\n\nTextConfig\x1a)\n\nAvroConfig\x12\x1b\n\x0ewrite_metadata\x18\x01 \x01(\x08\x42\x03\xe0\x41\x01\"u\n\x05State\x12\x15\n\x11STATE_UNSPECIFIED\x10\x00\x12\n\n\x06\x41\x43TIVE\x10\x01\x12\x15\n\x11PERMISSION_DENIED\x10\x02\x12\r\n\tNOT_FOUND\x10\x03\x12#\n\x1fIN_TRANSIT_LOCATION_RESTRICTION\x10\x04\x42\x0f\n\routput_format\"|\n\x0fReceivedMessage\x12\x13\n\x06\x61\x63k_id\x18\x01 \x01(\tB\x03\xe0\x41\x01\x12\x35\n\x07message\x18\x02 \x01(\x0b\x32\x1f.google.pubsub.v1.PubsubMessageB\x03\xe0\x41\x01\x12\x1d\n\x10\x64\x65livery_attempt\x18\x03 \x01(\x05\x42\x03\xe0\x41\x01\"Z\n\x16GetSubscriptionRequest\x12@\n\x0csubscription\x18\x01 \x01(\tB*\xe0\x41\x02\xfa\x41$\n\"pubsub.googleapis.com/Subscription\"\x8c\x01\n\x19UpdateSubscriptionRequest\x12\x39\n\x0csubscription\x18\x01 \x01(\x0b\x32\x1e.google.pubsub.v1.SubscriptionB\x03\xe0\x41\x02\x12\x34\n\x0bupdate_mask\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.FieldMaskB\x03\xe0\x41\x02\"\x91\x01\n\x18ListSubscriptionsRequest\x12\x44\n\x07project\x18\x01 \x01(\tB3\xe0\x41\x02\xfa\x41-\n+cloudresourcemanager.googleapis.com/Project\x12\x16\n\tpage_size\x18\x02 \x01(\x05\x42\x03\xe0\x41\x01\x12\x17\n\npage_token\x18\x03 \x01(\tB\x03\xe0\x41\x01\"u\n\x19ListSubscriptionsResponse\x12:\n\rsubscriptions\x18\x01 \x03(\x0b\x32\x1e.google.pubsub.v1.SubscriptionB\x03\xe0\x41\x01\x12\x1c\n\x0fnext_page_token\x18\x02 \x01(\tB\x03\xe0\x41\x01\"]\n\x19\x44\x65leteSubscriptionRequest\x12@\n\x0csubscription\x18\x01 \x01(\tB*\xe0\x41\x02\xfa\x41$\n\"pubsub.googleapis.com/Subscription\"\x93\x01\n\x17ModifyPushConfigRequest\x12@\n\x0csubscription\x18\x01 \x01(\tB*\xe0\x41\x02\xfa\x41$\n\"pubsub.googleapis.com/Subscription\x12\x36\n\x0bpush_config\x18\x02 \x01(\x0b\x32\x1c.google.pubsub.v1.PushConfigB\x03\xe0\x41\x02\"\x8d\x01\n\x0bPullRequest\x12@\n\x0csubscription\x18\x01 \x01(\tB*\xe0\x41\x02\xfa\x41$\n\"pubsub.googleapis.com/Subscription\x12!\n\x12return_immediately\x18\x02 \x01(\x08\x42\x05\x18\x01\xe0\x41\x01\x12\x19\n\x0cmax_messages\x18\x03 \x01(\x05\x42\x03\xe0\x41\x02\"Q\n\x0cPullResponse\x12\x41\n\x11received_messages\x18\x01 \x03(\x0b\x32!.google.pubsub.v1.ReceivedMessageB\x03\xe0\x41\x01\"\x95\x01\n\x18ModifyAckDeadlineRequest\x12@\n\x0csubscription\x18\x01 \x01(\tB*\xe0\x41\x02\xfa\x41$\n\"pubsub.googleapis.com/Subscription\x12\x14\n\x07\x61\x63k_ids\x18\x04 \x03(\tB\x03\xe0\x41\x02\x12!\n\x14\x61\x63k_deadline_seconds\x18\x03 \x01(\x05\x42\x03\xe0\x41\x02\"l\n\x12\x41\x63knowledgeRequest\x12@\n\x0csubscription\x18\x01 \x01(\tB*\xe0\x41\x02\xfa\x41$\n\"pubsub.googleapis.com/Subscription\x12\x14\n\x07\x61\x63k_ids\x18\x02 \x03(\tB\x03\xe0\x41\x02\"\xc7\x02\n\x14StreamingPullRequest\x12@\n\x0csubscription\x18\x01 \x01(\tB*\xe0\x41\x02\xfa\x41$\n\"pubsub.googleapis.com/Subscription\x12\x14\n\x07\x61\x63k_ids\x18\x02 \x03(\tB\x03\xe0\x41\x01\x12$\n\x17modify_deadline_seconds\x18\x03 \x03(\x05\x42\x03\xe0\x41\x01\x12$\n\x17modify_deadline_ack_ids\x18\x04 \x03(\tB\x03\xe0\x41\x01\x12(\n\x1bstream_ack_deadline_seconds\x18\x05 \x01(\x05\x42\x03\xe0\x41\x02\x12\x16\n\tclient_id\x18\x06 \x01(\tB\x03\xe0\x41\x01\x12%\n\x18max_outstanding_messages\x18\x07 \x01(\x03\x42\x03\xe0\x41\x01\x12\"\n\x15max_outstanding_bytes\x18\x08 \x01(\x03\x42\x03\xe0\x41\x01\"\x9e\x06\n\x15StreamingPullResponse\x12\x41\n\x11received_messages\x18\x01 \x03(\x0b\x32!.google.pubsub.v1.ReceivedMessageB\x03\xe0\x41\x01\x12\x66\n\x18\x61\x63knowledge_confirmation\x18\x05 \x01(\x0b\x32?.google.pubsub.v1.StreamingPullResponse.AcknowledgeConfirmationB\x03\xe0\x41\x01\x12t\n modify_ack_deadline_confirmation\x18\x03 \x01(\x0b\x32\x45.google.pubsub.v1.StreamingPullResponse.ModifyAckDeadlineConfirmationB\x03\xe0\x41\x01\x12\x64\n\x17subscription_properties\x18\x04 \x01(\x0b\x32>.google.pubsub.v1.StreamingPullResponse.SubscriptionPropertiesB\x03\xe0\x41\x01\x1a\x94\x01\n\x17\x41\x63knowledgeConfirmation\x12\x14\n\x07\x61\x63k_ids\x18\x01 \x03(\tB\x03\xe0\x41\x01\x12\x1c\n\x0finvalid_ack_ids\x18\x02 \x03(\tB\x03\xe0\x41\x01\x12\x1e\n\x11unordered_ack_ids\x18\x03 \x03(\tB\x03\xe0\x41\x01\x12%\n\x18temporary_failed_ack_ids\x18\x04 \x03(\tB\x03\xe0\x41\x01\x1az\n\x1dModifyAckDeadlineConfirmation\x12\x14\n\x07\x61\x63k_ids\x18\x01 \x03(\tB\x03\xe0\x41\x01\x12\x1c\n\x0finvalid_ack_ids\x18\x02 \x03(\tB\x03\xe0\x41\x01\x12%\n\x18temporary_failed_ack_ids\x18\x03 \x03(\tB\x03\xe0\x41\x01\x1ak\n\x16SubscriptionProperties\x12*\n\x1d\x65xactly_once_delivery_enabled\x18\x01 \x01(\x08\x42\x03\xe0\x41\x01\x12%\n\x18message_ordering_enabled\x18\x02 \x01(\x08\x42\x03\xe0\x41\x01\"\x88\x02\n\x15\x43reateSnapshotRequest\x12\x34\n\x04name\x18\x01 \x01(\tB&\xe0\x41\x02\xfa\x41 \n\x1epubsub.googleapis.com/Snapshot\x12@\n\x0csubscription\x18\x02 \x01(\tB*\xe0\x41\x02\xfa\x41$\n\"pubsub.googleapis.com/Subscription\x12H\n\x06labels\x18\x03 \x03(\x0b\x32\x33.google.pubsub.v1.CreateSnapshotRequest.LabelsEntryB\x03\xe0\x41\x01\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"\x80\x01\n\x15UpdateSnapshotRequest\x12\x31\n\x08snapshot\x18\x01 \x01(\x0b\x32\x1a.google.pubsub.v1.SnapshotB\x03\xe0\x41\x02\x12\x34\n\x0bupdate_mask\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.FieldMaskB\x03\xe0\x41\x02\"\xc1\x02\n\x08Snapshot\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x01\x12\x32\n\x05topic\x18\x02 \x01(\tB#\xe0\x41\x01\xfa\x41\x1d\n\x1bpubsub.googleapis.com/Topic\x12\x34\n\x0b\x65xpire_time\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x01\x12;\n\x06labels\x18\x04 \x03(\x0b\x32&.google.pubsub.v1.Snapshot.LabelsEntryB\x03\xe0\x41\x01\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01:L\xea\x41I\n\x1epubsub.googleapis.com/Snapshot\x12\'projects/{project}/snapshots/{snapshot}\"N\n\x12GetSnapshotRequest\x12\x38\n\x08snapshot\x18\x01 \x01(\tB&\xe0\x41\x02\xfa\x41 \n\x1epubsub.googleapis.com/Snapshot\"\x8d\x01\n\x14ListSnapshotsRequest\x12\x44\n\x07project\x18\x01 \x01(\tB3\xe0\x41\x02\xfa\x41-\n+cloudresourcemanager.googleapis.com/Project\x12\x16\n\tpage_size\x18\x02 \x01(\x05\x42\x03\xe0\x41\x01\x12\x17\n\npage_token\x18\x03 \x01(\tB\x03\xe0\x41\x01\"i\n\x15ListSnapshotsResponse\x12\x32\n\tsnapshots\x18\x01 \x03(\x0b\x32\x1a.google.pubsub.v1.SnapshotB\x03\xe0\x41\x01\x12\x1c\n\x0fnext_page_token\x18\x02 \x01(\tB\x03\xe0\x41\x01\"Q\n\x15\x44\x65leteSnapshotRequest\x12\x38\n\x08snapshot\x18\x01 \x01(\tB&\xe0\x41\x02\xfa\x41 \n\x1epubsub.googleapis.com/Snapshot\"\xc6\x01\n\x0bSeekRequest\x12@\n\x0csubscription\x18\x01 \x01(\tB*\xe0\x41\x02\xfa\x41$\n\"pubsub.googleapis.com/Subscription\x12/\n\x04time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x01H\x00\x12:\n\x08snapshot\x18\x03 \x01(\tB&\xe0\x41\x01\xfa\x41 \n\x1epubsub.googleapis.com/SnapshotH\x00\x42\x08\n\x06target\"\x0e\n\x0cSeekResponse2\xb8\x0b\n\tPublisher\x12q\n\x0b\x43reateTopic\x12\x17.google.pubsub.v1.Topic\x1a\x17.google.pubsub.v1.Topic\"0\xda\x41\x04name\x82\xd3\xe4\x93\x02#\x1a\x1e/v1/{name=projects/*/topics/*}:\x01*\x12\x91\x01\n\x0bUpdateTopic\x12$.google.pubsub.v1.UpdateTopicRequest\x1a\x17.google.pubsub.v1.Topic\"C\xda\x41\x11topic,update_mask\x82\xd3\xe4\x93\x02)2$/v1/{topic.name=projects/*/topics/*}:\x01*\x12\x93\x01\n\x07Publish\x12 .google.pubsub.v1.PublishRequest\x1a!.google.pubsub.v1.PublishResponse\"C\xda\x41\x0etopic,messages\x82\xd3\xe4\x93\x02,\"\'/v1/{topic=projects/*/topics/*}:publish:\x01*\x12w\n\x08GetTopic\x12!.google.pubsub.v1.GetTopicRequest\x1a\x17.google.pubsub.v1.Topic\"/\xda\x41\x05topic\x82\xd3\xe4\x93\x02!\x12\x1f/v1/{topic=projects/*/topics/*}\x12\x8a\x01\n\nListTopics\x12#.google.pubsub.v1.ListTopicsRequest\x1a$.google.pubsub.v1.ListTopicsResponse\"1\xda\x41\x07project\x82\xd3\xe4\x93\x02!\x12\x1f/v1/{project=projects/*}/topics\x12\xba\x01\n\x16ListTopicSubscriptions\x12/.google.pubsub.v1.ListTopicSubscriptionsRequest\x1a\x30.google.pubsub.v1.ListTopicSubscriptionsResponse\"=\xda\x41\x05topic\x82\xd3\xe4\x93\x02/\x12-/v1/{topic=projects/*/topics/*}/subscriptions\x12\xaa\x01\n\x12ListTopicSnapshots\x12+.google.pubsub.v1.ListTopicSnapshotsRequest\x1a,.google.pubsub.v1.ListTopicSnapshotsResponse\"9\xda\x41\x05topic\x82\xd3\xe4\x93\x02+\x12)/v1/{topic=projects/*/topics/*}/snapshots\x12|\n\x0b\x44\x65leteTopic\x12$.google.pubsub.v1.DeleteTopicRequest\x1a\x16.google.protobuf.Empty\"/\xda\x41\x05topic\x82\xd3\xe4\x93\x02!*\x1f/v1/{topic=projects/*/topics/*}\x12\xad\x01\n\x12\x44\x65tachSubscription\x12+.google.pubsub.v1.DetachSubscriptionRequest\x1a,.google.pubsub.v1.DetachSubscriptionResponse\"<\x82\xd3\xe4\x93\x02\x36\"4/v1/{subscription=projects/*/subscriptions/*}:detach\x1ap\xca\x41\x15pubsub.googleapis.com\xd2\x41Uhttps://www.googleapis.com/auth/cloud-platform,https://www.googleapis.com/auth/pubsub2\xd2\x15\n\nSubscriber\x12\xb4\x01\n\x12\x43reateSubscription\x12\x1e.google.pubsub.v1.Subscription\x1a\x1e.google.pubsub.v1.Subscription\"^\xda\x41+name,topic,push_config,ack_deadline_seconds\x82\xd3\xe4\x93\x02*\x1a%/v1/{name=projects/*/subscriptions/*}:\x01*\x12\xa1\x01\n\x0fGetSubscription\x12(.google.pubsub.v1.GetSubscriptionRequest\x1a\x1e.google.pubsub.v1.Subscription\"D\xda\x41\x0csubscription\x82\xd3\xe4\x93\x02/\x12-/v1/{subscription=projects/*/subscriptions/*}\x12\xbb\x01\n\x12UpdateSubscription\x12+.google.pubsub.v1.UpdateSubscriptionRequest\x1a\x1e.google.pubsub.v1.Subscription\"X\xda\x41\x18subscription,update_mask\x82\xd3\xe4\x93\x02\x37\x32\x32/v1/{subscription.name=projects/*/subscriptions/*}:\x01*\x12\xa6\x01\n\x11ListSubscriptions\x12*.google.pubsub.v1.ListSubscriptionsRequest\x1a+.google.pubsub.v1.ListSubscriptionsResponse\"8\xda\x41\x07project\x82\xd3\xe4\x93\x02(\x12&/v1/{project=projects/*}/subscriptions\x12\x9f\x01\n\x12\x44\x65leteSubscription\x12+.google.pubsub.v1.DeleteSubscriptionRequest\x1a\x16.google.protobuf.Empty\"D\xda\x41\x0csubscription\x82\xd3\xe4\x93\x02/*-/v1/{subscription=projects/*/subscriptions/*}\x12\xcf\x01\n\x11ModifyAckDeadline\x12*.google.pubsub.v1.ModifyAckDeadlineRequest\x1a\x16.google.protobuf.Empty\"v\xda\x41)subscription,ack_ids,ack_deadline_seconds\x82\xd3\xe4\x93\x02\x44\"?/v1/{subscription=projects/*/subscriptions/*}:modifyAckDeadline:\x01*\x12\xa8\x01\n\x0b\x41\x63knowledge\x12$.google.pubsub.v1.AcknowledgeRequest\x1a\x16.google.protobuf.Empty\"[\xda\x41\x14subscription,ack_ids\x82\xd3\xe4\x93\x02>\"9/v1/{subscription=projects/*/subscriptions/*}:acknowledge:\x01*\x12\xd0\x01\n\x04Pull\x12\x1d.google.pubsub.v1.PullRequest\x1a\x1e.google.pubsub.v1.PullResponse\"\x88\x01\xda\x41,subscription,return_immediately,max_messages\xda\x41\x19subscription,max_messages\x82\xd3\xe4\x93\x02\x37\"2/v1/{subscription=projects/*/subscriptions/*}:pull:\x01*\x12\x66\n\rStreamingPull\x12&.google.pubsub.v1.StreamingPullRequest\x1a\'.google.pubsub.v1.StreamingPullResponse\"\x00(\x01\x30\x01\x12\xbb\x01\n\x10ModifyPushConfig\x12).google.pubsub.v1.ModifyPushConfigRequest\x1a\x16.google.protobuf.Empty\"d\xda\x41\x18subscription,push_config\x82\xd3\xe4\x93\x02\x43\">/v1/{subscription=projects/*/subscriptions/*}:modifyPushConfig:\x01*\x12\x89\x01\n\x0bGetSnapshot\x12$.google.pubsub.v1.GetSnapshotRequest\x1a\x1a.google.pubsub.v1.Snapshot\"8\xda\x41\x08snapshot\x82\xd3\xe4\x93\x02\'\x12%/v1/{snapshot=projects/*/snapshots/*}\x12\x96\x01\n\rListSnapshots\x12&.google.pubsub.v1.ListSnapshotsRequest\x1a\'.google.pubsub.v1.ListSnapshotsResponse\"4\xda\x41\x07project\x82\xd3\xe4\x93\x02$\x12\"/v1/{project=projects/*}/snapshots\x12\x97\x01\n\x0e\x43reateSnapshot\x12\'.google.pubsub.v1.CreateSnapshotRequest\x1a\x1a.google.pubsub.v1.Snapshot\"@\xda\x41\x11name,subscription\x82\xd3\xe4\x93\x02&\x1a!/v1/{name=projects/*/snapshots/*}:\x01*\x12\xa3\x01\n\x0eUpdateSnapshot\x12\'.google.pubsub.v1.UpdateSnapshotRequest\x1a\x1a.google.pubsub.v1.Snapshot\"L\xda\x41\x14snapshot,update_mask\x82\xd3\xe4\x93\x02/2*/v1/{snapshot.name=projects/*/snapshots/*}:\x01*\x12\x8b\x01\n\x0e\x44\x65leteSnapshot\x12\'.google.pubsub.v1.DeleteSnapshotRequest\x1a\x16.google.protobuf.Empty\"8\xda\x41\x08snapshot\x82\xd3\xe4\x93\x02\'*%/v1/{snapshot=projects/*/snapshots/*}\x12\x84\x01\n\x04Seek\x12\x1d.google.pubsub.v1.SeekRequest\x1a\x1e.google.pubsub.v1.SeekResponse\"=\x82\xd3\xe4\x93\x02\x37\"2/v1/{subscription=projects/*/subscriptions/*}:seek:\x01*\x1ap\xca\x41\x15pubsub.googleapis.com\xd2\x41Uhttps://www.googleapis.com/auth/cloud-platform,https://www.googleapis.com/auth/pubsubB\xaa\x01\n\x14\x63om.google.pubsub.v1B\x0bPubsubProtoP\x01Z2cloud.google.com/go/pubsub/apiv1/pubsubpb;pubsubpb\xf8\x01\x01\xaa\x02\x16Google.Cloud.PubSub.V1\xca\x02\x16Google\\Cloud\\PubSub\\V1\xea\x02\x19Google::Cloud::PubSub::V1b\x06proto3"
|
19
19
|
|
20
20
|
pool = Google::Protobuf::DescriptorPool.generated_pool
|
21
21
|
|
@@ -814,6 +814,14 @@ module Google
|
|
814
814
|
# Optional. When true, use the BigQuery table's schema as the columns to
|
815
815
|
# write to in BigQuery. `use_table_schema` and `use_topic_schema` cannot be
|
816
816
|
# enabled at the same time.
|
817
|
+
# @!attribute [rw] service_account_email
|
818
|
+
# @return [::String]
|
819
|
+
# Optional. The service account to use to write to BigQuery. The subscription
|
820
|
+
# creator or updater that specifies this field must have
|
821
|
+
# `iam.serviceAccounts.actAs` permission on the service account. If not
|
822
|
+
# specified, the Pub/Sub [service
|
823
|
+
# agent](https://cloud.google.com/iam/docs/service-agents),
|
824
|
+
# service-\\{project_number}@gcp-sa-pubsub.iam.gserviceaccount.com, is used.
|
817
825
|
class BigQueryConfig
|
818
826
|
include ::Google::Protobuf::MessageExts
|
819
827
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -889,6 +897,14 @@ module Google
|
|
889
897
|
# @return [::Google::Cloud::PubSub::V1::CloudStorageConfig::State]
|
890
898
|
# Output only. An output-only field that indicates whether or not the
|
891
899
|
# subscription can receive messages.
|
900
|
+
# @!attribute [rw] service_account_email
|
901
|
+
# @return [::String]
|
902
|
+
# Optional. The service account to use to write to Cloud Storage. The
|
903
|
+
# subscription creator or updater that specifies this field must have
|
904
|
+
# `iam.serviceAccounts.actAs` permission on the service account. If not
|
905
|
+
# specified, the Pub/Sub
|
906
|
+
# [service agent](https://cloud.google.com/iam/docs/service-agents),
|
907
|
+
# service-\\{project_number}@gcp-sa-pubsub.iam.gserviceaccount.com, is used.
|
892
908
|
class CloudStorageConfig
|
893
909
|
include ::Google::Protobuf::MessageExts
|
894
910
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-cloud-pubsub-v1
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.24.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Google LLC
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-
|
11
|
+
date: 2024-05-31 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: gapic-common
|