google-cloud-pubsub-v1 1.3.0 → 1.5.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/README.md +30 -20
- data/lib/google/cloud/pubsub/v1/publisher/client.rb +29 -10
- data/lib/google/cloud/pubsub/v1/schema_service/client.rb +30 -11
- data/lib/google/cloud/pubsub/v1/subscriber/client.rb +30 -17
- data/lib/google/cloud/pubsub/v1/version.rb +1 -1
- data/lib/google/pubsub/v1/pubsub_pb.rb +10 -1
- data/proto_docs/google/api/client.rb +39 -0
- data/proto_docs/google/pubsub/v1/pubsub.rb +254 -0
- metadata +5 -8
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 363cd6d6ac070b74a745a773528b9e2b2a5d2aa3cc88fca1e0a9bc65a5f46611
|
4
|
+
data.tar.gz: 0744f391b9a7029f0203af323be23ad57f2019b8acb566fde0ccc2bf4e67fa02
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 31fe93c9229e1107457d34c8259f17ea0f1f3e645df4329b3d98d874d7ab86289106a935b45b4bc3b68a68a0174371b632beb53143e0a95f9554883b471b67c1
|
7
|
+
data.tar.gz: 1fd44511807ecf8d54a8e42a94fdd9ece5eadc3b6c1eb714e70f7e7e8ee24523dd013c86bc9223330ce563413dc611dc7f9a6fcb252abfece2d161fa5abac7c9
|
data/README.md
CHANGED
@@ -43,33 +43,43 @@ for class and method documentation.
|
|
43
43
|
See also the [Product Documentation](https://cloud.google.com/pubsub)
|
44
44
|
for general usage information.
|
45
45
|
|
46
|
-
##
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
|
52
|
-
|
53
|
-
|
54
|
-
|
46
|
+
## Debug Logging
|
47
|
+
|
48
|
+
This library comes with opt-in Debug Logging that can help you troubleshoot
|
49
|
+
your application's integration with the API. When logging is activated, key
|
50
|
+
events such as requests and responses, along with data payloads and metadata
|
51
|
+
such as headers and client configuration, are logged to the standard error
|
52
|
+
stream.
|
53
|
+
|
54
|
+
**WARNING:** Client Library Debug Logging includes your data payloads in
|
55
|
+
plaintext, which could include sensitive data such as PII for yourself or your
|
56
|
+
customers, private keys, or other security data that could be compromising if
|
57
|
+
leaked. Always practice good data hygiene with your application logs, and follow
|
58
|
+
the principle of least access. Google also recommends that Client Library Debug
|
59
|
+
Logging be enabled only temporarily during active debugging, and not used
|
60
|
+
permanently in production.
|
61
|
+
|
62
|
+
To enable logging, set the environment variable `GOOGLE_SDK_RUBY_LOGGING_GEMS`
|
63
|
+
to the value `all`. Alternatively, you can set the value to a comma-delimited
|
64
|
+
list of client library gem names. This will select the default logging behavior,
|
65
|
+
which writes logs to the standard error stream. On a local workstation, this may
|
66
|
+
result in logs appearing on the console. When running on a Google Cloud hosting
|
67
|
+
service such as [Google Cloud Run](https://cloud.google.com/run), this generally
|
68
|
+
results in logs appearing alongside your application logs in the
|
69
|
+
[Google Cloud Logging](https://cloud.google.com/logging/) service.
|
70
|
+
|
71
|
+
You can customize logging by modifying the `logger` configuration when
|
72
|
+
constructing a client object. For example:
|
55
73
|
|
56
74
|
```ruby
|
75
|
+
require "google/cloud/pubsub/v1"
|
57
76
|
require "logger"
|
58
77
|
|
59
|
-
|
60
|
-
|
61
|
-
def logger
|
62
|
-
LOGGER
|
63
|
-
end
|
64
|
-
end
|
65
|
-
|
66
|
-
# Define a gRPC module-level logger method before grpc/logconfig.rb loads.
|
67
|
-
module GRPC
|
68
|
-
extend MyLogger
|
78
|
+
client = ::Google::Cloud::PubSub::V1::SchemaService::Client.new do |config|
|
79
|
+
config.logger = Logger.new "my-app.log"
|
69
80
|
end
|
70
81
|
```
|
71
82
|
|
72
|
-
|
73
83
|
## Google Cloud Samples
|
74
84
|
|
75
85
|
To browse ready to use code samples check [Google Cloud Samples](https://cloud.google.com/docs/samples).
|
@@ -204,14 +204,26 @@ module Google
|
|
204
204
|
universe_domain: @config.universe_domain,
|
205
205
|
channel_args: @config.channel_args,
|
206
206
|
interceptors: @config.interceptors,
|
207
|
-
channel_pool_config: @config.channel_pool
|
207
|
+
channel_pool_config: @config.channel_pool,
|
208
|
+
logger: @config.logger
|
208
209
|
)
|
209
210
|
|
211
|
+
@publisher_stub.stub_logger&.info do |entry|
|
212
|
+
entry.set_system_name
|
213
|
+
entry.set_service
|
214
|
+
entry.message = "Created client for #{entry.service}"
|
215
|
+
entry.set_credentials_fields credentials
|
216
|
+
entry.set "customEndpoint", @config.endpoint if @config.endpoint
|
217
|
+
entry.set "defaultTimeout", @config.timeout if @config.timeout
|
218
|
+
entry.set "quotaProject", @quota_project_id if @quota_project_id
|
219
|
+
end
|
220
|
+
|
210
221
|
@iam_policy_client = Google::Iam::V1::IAMPolicy::Client.new do |config|
|
211
222
|
config.credentials = credentials
|
212
223
|
config.quota_project = @quota_project_id
|
213
224
|
config.endpoint = @publisher_stub.endpoint
|
214
225
|
config.universe_domain = @publisher_stub.universe_domain
|
226
|
+
config.logger = @publisher_stub.logger if config.respond_to? :logger=
|
215
227
|
end
|
216
228
|
end
|
217
229
|
|
@@ -222,6 +234,15 @@ module Google
|
|
222
234
|
#
|
223
235
|
attr_reader :iam_policy_client
|
224
236
|
|
237
|
+
##
|
238
|
+
# The logger used for request/response debug logging.
|
239
|
+
#
|
240
|
+
# @return [Logger]
|
241
|
+
#
|
242
|
+
def logger
|
243
|
+
@publisher_stub.logger
|
244
|
+
end
|
245
|
+
|
225
246
|
# Service calls
|
226
247
|
|
227
248
|
##
|
@@ -339,7 +360,6 @@ module Google
|
|
339
360
|
|
340
361
|
@publisher_stub.call_rpc :create_topic, request, options: options do |response, operation|
|
341
362
|
yield response, operation if block_given?
|
342
|
-
return response
|
343
363
|
end
|
344
364
|
rescue ::GRPC::BadStatus => e
|
345
365
|
raise ::Google::Cloud::Error.from_error(e)
|
@@ -432,7 +452,6 @@ module Google
|
|
432
452
|
|
433
453
|
@publisher_stub.call_rpc :update_topic, request, options: options do |response, operation|
|
434
454
|
yield response, operation if block_given?
|
435
|
-
return response
|
436
455
|
end
|
437
456
|
rescue ::GRPC::BadStatus => e
|
438
457
|
raise ::Google::Cloud::Error.from_error(e)
|
@@ -522,7 +541,6 @@ module Google
|
|
522
541
|
|
523
542
|
@publisher_stub.call_rpc :publish, request, options: options do |response, operation|
|
524
543
|
yield response, operation if block_given?
|
525
|
-
return response
|
526
544
|
end
|
527
545
|
rescue ::GRPC::BadStatus => e
|
528
546
|
raise ::Google::Cloud::Error.from_error(e)
|
@@ -609,7 +627,6 @@ module Google
|
|
609
627
|
|
610
628
|
@publisher_stub.call_rpc :get_topic, request, options: options do |response, operation|
|
611
629
|
yield response, operation if block_given?
|
612
|
-
return response
|
613
630
|
end
|
614
631
|
rescue ::GRPC::BadStatus => e
|
615
632
|
raise ::Google::Cloud::Error.from_error(e)
|
@@ -707,7 +724,7 @@ module Google
|
|
707
724
|
@publisher_stub.call_rpc :list_topics, request, options: options do |response, operation|
|
708
725
|
response = ::Gapic::PagedEnumerable.new @publisher_stub, :list_topics, request, response, operation, options
|
709
726
|
yield response, operation if block_given?
|
710
|
-
|
727
|
+
throw :response, response
|
711
728
|
end
|
712
729
|
rescue ::GRPC::BadStatus => e
|
713
730
|
raise ::Google::Cloud::Error.from_error(e)
|
@@ -800,7 +817,6 @@ module Google
|
|
800
817
|
|
801
818
|
@publisher_stub.call_rpc :list_topic_subscriptions, request, options: options do |response, operation|
|
802
819
|
yield response, operation if block_given?
|
803
|
-
return response
|
804
820
|
end
|
805
821
|
rescue ::GRPC::BadStatus => e
|
806
822
|
raise ::Google::Cloud::Error.from_error(e)
|
@@ -897,7 +913,6 @@ module Google
|
|
897
913
|
|
898
914
|
@publisher_stub.call_rpc :list_topic_snapshots, request, options: options do |response, operation|
|
899
915
|
yield response, operation if block_given?
|
900
|
-
return response
|
901
916
|
end
|
902
917
|
rescue ::GRPC::BadStatus => e
|
903
918
|
raise ::Google::Cloud::Error.from_error(e)
|
@@ -988,7 +1003,6 @@ module Google
|
|
988
1003
|
|
989
1004
|
@publisher_stub.call_rpc :delete_topic, request, options: options do |response, operation|
|
990
1005
|
yield response, operation if block_given?
|
991
|
-
return response
|
992
1006
|
end
|
993
1007
|
rescue ::GRPC::BadStatus => e
|
994
1008
|
raise ::Google::Cloud::Error.from_error(e)
|
@@ -1078,7 +1092,6 @@ module Google
|
|
1078
1092
|
|
1079
1093
|
@publisher_stub.call_rpc :detach_subscription, request, options: options do |response, operation|
|
1080
1094
|
yield response, operation if block_given?
|
1081
|
-
return response
|
1082
1095
|
end
|
1083
1096
|
rescue ::GRPC::BadStatus => e
|
1084
1097
|
raise ::Google::Cloud::Error.from_error(e)
|
@@ -1167,6 +1180,11 @@ module Google
|
|
1167
1180
|
# default endpoint URL. The default value of nil uses the environment
|
1168
1181
|
# universe (usually the default "googleapis.com" universe).
|
1169
1182
|
# @return [::String,nil]
|
1183
|
+
# @!attribute [rw] logger
|
1184
|
+
# A custom logger to use for request/response debug logging, or the value
|
1185
|
+
# `:default` (the default) to construct a default logger, or `nil` to
|
1186
|
+
# explicitly disable logging.
|
1187
|
+
# @return [::Logger,:default,nil]
|
1170
1188
|
#
|
1171
1189
|
class Configuration
|
1172
1190
|
extend ::Gapic::Config
|
@@ -1191,6 +1209,7 @@ module Google
|
|
1191
1209
|
config_attr :retry_policy, nil, ::Hash, ::Proc, nil
|
1192
1210
|
config_attr :quota_project, nil, ::String, nil
|
1193
1211
|
config_attr :universe_domain, nil, ::String, nil
|
1212
|
+
config_attr :logger, :default, ::Logger, nil, :default
|
1194
1213
|
|
1195
1214
|
# @private
|
1196
1215
|
def initialize parent_config = nil
|
@@ -208,14 +208,26 @@ module Google
|
|
208
208
|
universe_domain: @config.universe_domain,
|
209
209
|
channel_args: @config.channel_args,
|
210
210
|
interceptors: @config.interceptors,
|
211
|
-
channel_pool_config: @config.channel_pool
|
211
|
+
channel_pool_config: @config.channel_pool,
|
212
|
+
logger: @config.logger
|
212
213
|
)
|
213
214
|
|
215
|
+
@schema_service_stub.stub_logger&.info do |entry|
|
216
|
+
entry.set_system_name
|
217
|
+
entry.set_service
|
218
|
+
entry.message = "Created client for #{entry.service}"
|
219
|
+
entry.set_credentials_fields credentials
|
220
|
+
entry.set "customEndpoint", @config.endpoint if @config.endpoint
|
221
|
+
entry.set "defaultTimeout", @config.timeout if @config.timeout
|
222
|
+
entry.set "quotaProject", @quota_project_id if @quota_project_id
|
223
|
+
end
|
224
|
+
|
214
225
|
@iam_policy_client = Google::Iam::V1::IAMPolicy::Client.new do |config|
|
215
226
|
config.credentials = credentials
|
216
227
|
config.quota_project = @quota_project_id
|
217
228
|
config.endpoint = @schema_service_stub.endpoint
|
218
229
|
config.universe_domain = @schema_service_stub.universe_domain
|
230
|
+
config.logger = @schema_service_stub.logger if config.respond_to? :logger=
|
219
231
|
end
|
220
232
|
end
|
221
233
|
|
@@ -226,6 +238,15 @@ module Google
|
|
226
238
|
#
|
227
239
|
attr_reader :iam_policy_client
|
228
240
|
|
241
|
+
##
|
242
|
+
# The logger used for request/response debug logging.
|
243
|
+
#
|
244
|
+
# @return [Logger]
|
245
|
+
#
|
246
|
+
def logger
|
247
|
+
@schema_service_stub.logger
|
248
|
+
end
|
249
|
+
|
229
250
|
# Service calls
|
230
251
|
|
231
252
|
##
|
@@ -321,7 +342,6 @@ module Google
|
|
321
342
|
|
322
343
|
@schema_service_stub.call_rpc :create_schema, request, options: options do |response, operation|
|
323
344
|
yield response, operation if block_given?
|
324
|
-
return response
|
325
345
|
end
|
326
346
|
rescue ::GRPC::BadStatus => e
|
327
347
|
raise ::Google::Cloud::Error.from_error(e)
|
@@ -411,7 +431,6 @@ module Google
|
|
411
431
|
|
412
432
|
@schema_service_stub.call_rpc :get_schema, request, options: options do |response, operation|
|
413
433
|
yield response, operation if block_given?
|
414
|
-
return response
|
415
434
|
end
|
416
435
|
rescue ::GRPC::BadStatus => e
|
417
436
|
raise ::Google::Cloud::Error.from_error(e)
|
@@ -513,7 +532,7 @@ module Google
|
|
513
532
|
@schema_service_stub.call_rpc :list_schemas, request, options: options do |response, operation|
|
514
533
|
response = ::Gapic::PagedEnumerable.new @schema_service_stub, :list_schemas, request, response, operation, options
|
515
534
|
yield response, operation if block_given?
|
516
|
-
|
535
|
+
throw :response, response
|
517
536
|
end
|
518
537
|
rescue ::GRPC::BadStatus => e
|
519
538
|
raise ::Google::Cloud::Error.from_error(e)
|
@@ -613,7 +632,7 @@ module Google
|
|
613
632
|
@schema_service_stub.call_rpc :list_schema_revisions, request, options: options do |response, operation|
|
614
633
|
response = ::Gapic::PagedEnumerable.new @schema_service_stub, :list_schema_revisions, request, response, operation, options
|
615
634
|
yield response, operation if block_given?
|
616
|
-
|
635
|
+
throw :response, response
|
617
636
|
end
|
618
637
|
rescue ::GRPC::BadStatus => e
|
619
638
|
raise ::Google::Cloud::Error.from_error(e)
|
@@ -702,7 +721,6 @@ module Google
|
|
702
721
|
|
703
722
|
@schema_service_stub.call_rpc :commit_schema, request, options: options do |response, operation|
|
704
723
|
yield response, operation if block_given?
|
705
|
-
return response
|
706
724
|
end
|
707
725
|
rescue ::GRPC::BadStatus => e
|
708
726
|
raise ::Google::Cloud::Error.from_error(e)
|
@@ -793,7 +811,6 @@ module Google
|
|
793
811
|
|
794
812
|
@schema_service_stub.call_rpc :rollback_schema, request, options: options do |response, operation|
|
795
813
|
yield response, operation if block_given?
|
796
|
-
return response
|
797
814
|
end
|
798
815
|
rescue ::GRPC::BadStatus => e
|
799
816
|
raise ::Google::Cloud::Error.from_error(e)
|
@@ -886,7 +903,6 @@ module Google
|
|
886
903
|
|
887
904
|
@schema_service_stub.call_rpc :delete_schema_revision, request, options: options do |response, operation|
|
888
905
|
yield response, operation if block_given?
|
889
|
-
return response
|
890
906
|
end
|
891
907
|
rescue ::GRPC::BadStatus => e
|
892
908
|
raise ::Google::Cloud::Error.from_error(e)
|
@@ -973,7 +989,6 @@ module Google
|
|
973
989
|
|
974
990
|
@schema_service_stub.call_rpc :delete_schema, request, options: options do |response, operation|
|
975
991
|
yield response, operation if block_given?
|
976
|
-
return response
|
977
992
|
end
|
978
993
|
rescue ::GRPC::BadStatus => e
|
979
994
|
raise ::Google::Cloud::Error.from_error(e)
|
@@ -1062,7 +1077,6 @@ module Google
|
|
1062
1077
|
|
1063
1078
|
@schema_service_stub.call_rpc :validate_schema, request, options: options do |response, operation|
|
1064
1079
|
yield response, operation if block_given?
|
1065
|
-
return response
|
1066
1080
|
end
|
1067
1081
|
rescue ::GRPC::BadStatus => e
|
1068
1082
|
raise ::Google::Cloud::Error.from_error(e)
|
@@ -1159,7 +1173,6 @@ module Google
|
|
1159
1173
|
|
1160
1174
|
@schema_service_stub.call_rpc :validate_message, request, options: options do |response, operation|
|
1161
1175
|
yield response, operation if block_given?
|
1162
|
-
return response
|
1163
1176
|
end
|
1164
1177
|
rescue ::GRPC::BadStatus => e
|
1165
1178
|
raise ::Google::Cloud::Error.from_error(e)
|
@@ -1248,6 +1261,11 @@ module Google
|
|
1248
1261
|
# default endpoint URL. The default value of nil uses the environment
|
1249
1262
|
# universe (usually the default "googleapis.com" universe).
|
1250
1263
|
# @return [::String,nil]
|
1264
|
+
# @!attribute [rw] logger
|
1265
|
+
# A custom logger to use for request/response debug logging, or the value
|
1266
|
+
# `:default` (the default) to construct a default logger, or `nil` to
|
1267
|
+
# explicitly disable logging.
|
1268
|
+
# @return [::Logger,:default,nil]
|
1251
1269
|
#
|
1252
1270
|
class Configuration
|
1253
1271
|
extend ::Gapic::Config
|
@@ -1272,6 +1290,7 @@ module Google
|
|
1272
1290
|
config_attr :retry_policy, nil, ::Hash, ::Proc, nil
|
1273
1291
|
config_attr :quota_project, nil, ::String, nil
|
1274
1292
|
config_attr :universe_domain, nil, ::String, nil
|
1293
|
+
config_attr :logger, :default, ::Logger, nil, :default
|
1275
1294
|
|
1276
1295
|
# @private
|
1277
1296
|
def initialize parent_config = nil
|
@@ -240,14 +240,26 @@ module Google
|
|
240
240
|
universe_domain: @config.universe_domain,
|
241
241
|
channel_args: @config.channel_args,
|
242
242
|
interceptors: @config.interceptors,
|
243
|
-
channel_pool_config: @config.channel_pool
|
243
|
+
channel_pool_config: @config.channel_pool,
|
244
|
+
logger: @config.logger
|
244
245
|
)
|
245
246
|
|
247
|
+
@subscriber_stub.stub_logger&.info do |entry|
|
248
|
+
entry.set_system_name
|
249
|
+
entry.set_service
|
250
|
+
entry.message = "Created client for #{entry.service}"
|
251
|
+
entry.set_credentials_fields credentials
|
252
|
+
entry.set "customEndpoint", @config.endpoint if @config.endpoint
|
253
|
+
entry.set "defaultTimeout", @config.timeout if @config.timeout
|
254
|
+
entry.set "quotaProject", @quota_project_id if @quota_project_id
|
255
|
+
end
|
256
|
+
|
246
257
|
@iam_policy_client = Google::Iam::V1::IAMPolicy::Client.new do |config|
|
247
258
|
config.credentials = credentials
|
248
259
|
config.quota_project = @quota_project_id
|
249
260
|
config.endpoint = @subscriber_stub.endpoint
|
250
261
|
config.universe_domain = @subscriber_stub.universe_domain
|
262
|
+
config.logger = @subscriber_stub.logger if config.respond_to? :logger=
|
251
263
|
end
|
252
264
|
end
|
253
265
|
|
@@ -258,6 +270,15 @@ module Google
|
|
258
270
|
#
|
259
271
|
attr_reader :iam_policy_client
|
260
272
|
|
273
|
+
##
|
274
|
+
# The logger used for request/response debug logging.
|
275
|
+
#
|
276
|
+
# @return [Logger]
|
277
|
+
#
|
278
|
+
def logger
|
279
|
+
@subscriber_stub.logger
|
280
|
+
end
|
281
|
+
|
261
282
|
# Service calls
|
262
283
|
|
263
284
|
##
|
@@ -460,7 +481,6 @@ module Google
|
|
460
481
|
|
461
482
|
@subscriber_stub.call_rpc :create_subscription, request, options: options do |response, operation|
|
462
483
|
yield response, operation if block_given?
|
463
|
-
return response
|
464
484
|
end
|
465
485
|
rescue ::GRPC::BadStatus => e
|
466
486
|
raise ::Google::Cloud::Error.from_error(e)
|
@@ -547,7 +567,6 @@ module Google
|
|
547
567
|
|
548
568
|
@subscriber_stub.call_rpc :get_subscription, request, options: options do |response, operation|
|
549
569
|
yield response, operation if block_given?
|
550
|
-
return response
|
551
570
|
end
|
552
571
|
rescue ::GRPC::BadStatus => e
|
553
572
|
raise ::Google::Cloud::Error.from_error(e)
|
@@ -638,7 +657,6 @@ module Google
|
|
638
657
|
|
639
658
|
@subscriber_stub.call_rpc :update_subscription, request, options: options do |response, operation|
|
640
659
|
yield response, operation if block_given?
|
641
|
-
return response
|
642
660
|
end
|
643
661
|
rescue ::GRPC::BadStatus => e
|
644
662
|
raise ::Google::Cloud::Error.from_error(e)
|
@@ -736,7 +754,7 @@ module Google
|
|
736
754
|
@subscriber_stub.call_rpc :list_subscriptions, request, options: options do |response, operation|
|
737
755
|
response = ::Gapic::PagedEnumerable.new @subscriber_stub, :list_subscriptions, request, response, operation, options
|
738
756
|
yield response, operation if block_given?
|
739
|
-
|
757
|
+
throw :response, response
|
740
758
|
end
|
741
759
|
rescue ::GRPC::BadStatus => e
|
742
760
|
raise ::Google::Cloud::Error.from_error(e)
|
@@ -827,7 +845,6 @@ module Google
|
|
827
845
|
|
828
846
|
@subscriber_stub.call_rpc :delete_subscription, request, options: options do |response, operation|
|
829
847
|
yield response, operation if block_given?
|
830
|
-
return response
|
831
848
|
end
|
832
849
|
rescue ::GRPC::BadStatus => e
|
833
850
|
raise ::Google::Cloud::Error.from_error(e)
|
@@ -930,7 +947,6 @@ module Google
|
|
930
947
|
|
931
948
|
@subscriber_stub.call_rpc :modify_ack_deadline, request, options: options do |response, operation|
|
932
949
|
yield response, operation if block_given?
|
933
|
-
return response
|
934
950
|
end
|
935
951
|
rescue ::GRPC::BadStatus => e
|
936
952
|
raise ::Google::Cloud::Error.from_error(e)
|
@@ -1027,7 +1043,6 @@ module Google
|
|
1027
1043
|
|
1028
1044
|
@subscriber_stub.call_rpc :acknowledge, request, options: options do |response, operation|
|
1029
1045
|
yield response, operation if block_given?
|
1030
|
-
return response
|
1031
1046
|
end
|
1032
1047
|
rescue ::GRPC::BadStatus => e
|
1033
1048
|
raise ::Google::Cloud::Error.from_error(e)
|
@@ -1126,7 +1141,6 @@ module Google
|
|
1126
1141
|
|
1127
1142
|
@subscriber_stub.call_rpc :pull, request, options: options do |response, operation|
|
1128
1143
|
yield response, operation if block_given?
|
1129
|
-
return response
|
1130
1144
|
end
|
1131
1145
|
rescue ::GRPC::BadStatus => e
|
1132
1146
|
raise ::Google::Cloud::Error.from_error(e)
|
@@ -1211,7 +1225,6 @@ module Google
|
|
1211
1225
|
|
1212
1226
|
@subscriber_stub.call_rpc :streaming_pull, request, options: options do |response, operation|
|
1213
1227
|
yield response, operation if block_given?
|
1214
|
-
return response
|
1215
1228
|
end
|
1216
1229
|
rescue ::GRPC::BadStatus => e
|
1217
1230
|
raise ::Google::Cloud::Error.from_error(e)
|
@@ -1310,7 +1323,6 @@ module Google
|
|
1310
1323
|
|
1311
1324
|
@subscriber_stub.call_rpc :modify_push_config, request, options: options do |response, operation|
|
1312
1325
|
yield response, operation if block_given?
|
1313
|
-
return response
|
1314
1326
|
end
|
1315
1327
|
rescue ::GRPC::BadStatus => e
|
1316
1328
|
raise ::Google::Cloud::Error.from_error(e)
|
@@ -1401,7 +1413,6 @@ module Google
|
|
1401
1413
|
|
1402
1414
|
@subscriber_stub.call_rpc :get_snapshot, request, options: options do |response, operation|
|
1403
1415
|
yield response, operation if block_given?
|
1404
|
-
return response
|
1405
1416
|
end
|
1406
1417
|
rescue ::GRPC::BadStatus => e
|
1407
1418
|
raise ::Google::Cloud::Error.from_error(e)
|
@@ -1503,7 +1514,7 @@ module Google
|
|
1503
1514
|
@subscriber_stub.call_rpc :list_snapshots, request, options: options do |response, operation|
|
1504
1515
|
response = ::Gapic::PagedEnumerable.new @subscriber_stub, :list_snapshots, request, response, operation, options
|
1505
1516
|
yield response, operation if block_given?
|
1506
|
-
|
1517
|
+
throw :response, response
|
1507
1518
|
end
|
1508
1519
|
rescue ::GRPC::BadStatus => e
|
1509
1520
|
raise ::Google::Cloud::Error.from_error(e)
|
@@ -1622,7 +1633,6 @@ module Google
|
|
1622
1633
|
|
1623
1634
|
@subscriber_stub.call_rpc :create_snapshot, request, options: options do |response, operation|
|
1624
1635
|
yield response, operation if block_given?
|
1625
|
-
return response
|
1626
1636
|
end
|
1627
1637
|
rescue ::GRPC::BadStatus => e
|
1628
1638
|
raise ::Google::Cloud::Error.from_error(e)
|
@@ -1716,7 +1726,6 @@ module Google
|
|
1716
1726
|
|
1717
1727
|
@subscriber_stub.call_rpc :update_snapshot, request, options: options do |response, operation|
|
1718
1728
|
yield response, operation if block_given?
|
1719
|
-
return response
|
1720
1729
|
end
|
1721
1730
|
rescue ::GRPC::BadStatus => e
|
1722
1731
|
raise ::Google::Cloud::Error.from_error(e)
|
@@ -1811,7 +1820,6 @@ module Google
|
|
1811
1820
|
|
1812
1821
|
@subscriber_stub.call_rpc :delete_snapshot, request, options: options do |response, operation|
|
1813
1822
|
yield response, operation if block_given?
|
1814
|
-
return response
|
1815
1823
|
end
|
1816
1824
|
rescue ::GRPC::BadStatus => e
|
1817
1825
|
raise ::Google::Cloud::Error.from_error(e)
|
@@ -1919,7 +1927,6 @@ module Google
|
|
1919
1927
|
|
1920
1928
|
@subscriber_stub.call_rpc :seek, request, options: options do |response, operation|
|
1921
1929
|
yield response, operation if block_given?
|
1922
|
-
return response
|
1923
1930
|
end
|
1924
1931
|
rescue ::GRPC::BadStatus => e
|
1925
1932
|
raise ::Google::Cloud::Error.from_error(e)
|
@@ -2008,6 +2015,11 @@ module Google
|
|
2008
2015
|
# default endpoint URL. The default value of nil uses the environment
|
2009
2016
|
# universe (usually the default "googleapis.com" universe).
|
2010
2017
|
# @return [::String,nil]
|
2018
|
+
# @!attribute [rw] logger
|
2019
|
+
# A custom logger to use for request/response debug logging, or the value
|
2020
|
+
# `:default` (the default) to construct a default logger, or `nil` to
|
2021
|
+
# explicitly disable logging.
|
2022
|
+
# @return [::Logger,:default,nil]
|
2011
2023
|
#
|
2012
2024
|
class Configuration
|
2013
2025
|
extend ::Gapic::Config
|
@@ -2032,6 +2044,7 @@ module Google
|
|
2032
2044
|
config_attr :retry_policy, nil, ::Hash, ::Proc, nil
|
2033
2045
|
config_attr :quota_project, nil, ::String, nil
|
2034
2046
|
config_attr :universe_domain, nil, ::String, nil
|
2047
|
+
config_attr :logger, :default, ::Logger, nil, :default
|
2035
2048
|
|
2036
2049
|
# @private
|
2037
2050
|
def initialize parent_config = nil
|
@@ -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\"\xa9\x0b\n\x1bIngestionDataSourceSettings\x12T\n\x0b\x61ws_kinesis\x18\x01 \x01(\x0b\x32\x38.google.pubsub.v1.IngestionDataSourceSettings.AwsKinesisB\x03\xe0\x41\x01H\x00\x12X\n\rcloud_storage\x18\x02 \x01(\x0b\x32:.google.pubsub.v1.IngestionDataSourceSettings.CloudStorageB\x03\xe0\x41\x01H\x00\x12K\n\x16platform_logs_settings\x18\x04 \x01(\x0b\x32&.google.pubsub.v1.PlatformLogsSettingsB\x03\xe0\x41\x01\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\x1a\x95\x06\n\x0c\x43loudStorage\x12T\n\x05state\x18\x01 \x01(\x0e\x32@.google.pubsub.v1.IngestionDataSourceSettings.CloudStorage.StateB\x03\xe0\x41\x03\x12\x13\n\x06\x62ucket\x18\x02 \x01(\tB\x03\xe0\x41\x01\x12\x61\n\x0btext_format\x18\x03 \x01(\x0b\x32\x45.google.pubsub.v1.IngestionDataSourceSettings.CloudStorage.TextFormatB\x03\xe0\x41\x01H\x00\x12\x61\n\x0b\x61vro_format\x18\x04 \x01(\x0b\x32\x45.google.pubsub.v1.IngestionDataSourceSettings.CloudStorage.AvroFormatB\x03\xe0\x41\x01H\x00\x12n\n\x12pubsub_avro_format\x18\x05 \x01(\x0b\x32K.google.pubsub.v1.IngestionDataSourceSettings.CloudStorage.PubSubAvroFormatB\x03\xe0\x41\x01H\x00\x12\x43\n\x1aminimum_object_create_time\x18\x06 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x01\x12\x17\n\nmatch_glob\x18\t \x01(\tB\x03\xe0\x41\x01\x1a\x37\n\nTextFormat\x12\x1b\n\tdelimiter\x18\x01 \x01(\tB\x03\xe0\x41\x01H\x00\x88\x01\x01\x42\x0c\n\n_delimiter\x1a\x0c\n\nAvroFormat\x1a\x12\n\x10PubSubAvroFormat\"\x9a\x01\n\x05State\x12\x15\n\x11STATE_UNSPECIFIED\x10\x00\x12\n\n\x06\x41\x43TIVE\x10\x01\x12#\n\x1f\x43LOUD_STORAGE_PERMISSION_DENIED\x10\x02\x12\x1d\n\x19PUBLISH_PERMISSION_DENIED\x10\x03\x12\x14\n\x10\x42UCKET_NOT_FOUND\x10\x04\x12\x14\n\x10TOO_MANY_OBJECTS\x10\x05\x42\x0e\n\x0cinput_formatB\x08\n\x06source\"\xbf\x01\n\x14PlatformLogsSettings\x12\x46\n\x08severity\x18\x01 \x01(\x0e\x32/.google.pubsub.v1.PlatformLogsSettings.SeverityB\x03\xe0\x41\x01\"_\n\x08Severity\x12\x18\n\x14SEVERITY_UNSPECIFIED\x10\x00\x12\x0c\n\x08\x44ISABLED\x10\x01\x12\t\n\x05\x44\x45\x42UG\x10\x02\x12\x08\n\x04INFO\x10\x03\x12\x0b\n\x07WARNING\x10\x04\x12\t\n\x05\x45RROR\x10\x05\"\x91\x04\n\x15IngestionFailureEvent\x12\x12\n\x05topic\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12\x1a\n\rerror_message\x18\x02 \x01(\tB\x03\xe0\x41\x02\x12\x61\n\x15\x63loud_storage_failure\x18\x03 \x01(\x0b\x32;.google.pubsub.v1.IngestionFailureEvent.CloudStorageFailureB\x03\xe0\x41\x01H\x00\x1a\x14\n\x12\x41piViolationReason\x1a\x13\n\x11\x41vroFailureReason\x1a\xae\x02\n\x13\x43loudStorageFailure\x12\x13\n\x06\x62ucket\x18\x01 \x01(\tB\x03\xe0\x41\x01\x12\x18\n\x0bobject_name\x18\x02 \x01(\tB\x03\xe0\x41\x01\x12\x1e\n\x11object_generation\x18\x03 \x01(\x03\x42\x03\xe0\x41\x01\x12]\n\x13\x61vro_failure_reason\x18\x05 \x01(\x0b\x32\x39.google.pubsub.v1.IngestionFailureEvent.AvroFailureReasonB\x03\xe0\x41\x01H\x00\x12_\n\x14\x61pi_violation_reason\x18\x06 \x01(\x0b\x32:.google.pubsub.v1.IngestionFailureEvent.ApiViolationReasonB\x03\xe0\x41\x01H\x00\x42\x08\n\x06reasonB\t\n\x07\x66\x61ilure\"\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\"\xab\n\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\x12i\n\x1f\x61nalytics_hub_subscription_info\x18\x17 \x01(\x0b\x32;.google.pubsub.v1.Subscription.AnalyticsHubSubscriptionInfoB\x03\xe0\x41\x03\x1aO\n\x1c\x41nalyticsHubSubscriptionInfo\x12\x14\n\x07listing\x18\x01 \x01(\tB\x03\xe0\x41\x01\x12\x19\n\x0csubscription\x18\x02 \x01(\tB\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\">\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\"\xe9\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\x19\n\x0cmax_messages\x18\x08 \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\x1aH\n\nAvroConfig\x12\x1b\n\x0ewrite_metadata\x18\x01 \x01(\x08\x42\x03\xe0\x41\x01\x12\x1d\n\x10use_topic_schema\x18\x02 \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#\n\x1fIN_TRANSIT_LOCATION_RESTRICTION\x10\x04\x12\x13\n\x0fSCHEMA_MISMATCH\x10\x05\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\"\xc8\x17\n\x1bIngestionDataSourceSettings\x12T\n\x0b\x61ws_kinesis\x18\x01 \x01(\x0b\x32\x38.google.pubsub.v1.IngestionDataSourceSettings.AwsKinesisB\x03\xe0\x41\x01H\x00\x12X\n\rcloud_storage\x18\x02 \x01(\x0b\x32:.google.pubsub.v1.IngestionDataSourceSettings.CloudStorageB\x03\xe0\x41\x01H\x00\x12]\n\x10\x61zure_event_hubs\x18\x03 \x01(\x0b\x32<.google.pubsub.v1.IngestionDataSourceSettings.AzureEventHubsB\x03\xe0\x41\x01H\x00\x12L\n\x07\x61ws_msk\x18\x05 \x01(\x0b\x32\x34.google.pubsub.v1.IngestionDataSourceSettings.AwsMskB\x03\xe0\x41\x01H\x00\x12\\\n\x0f\x63onfluent_cloud\x18\x06 \x01(\x0b\x32<.google.pubsub.v1.IngestionDataSourceSettings.ConfluentCloudB\x03\xe0\x41\x01H\x00\x12K\n\x16platform_logs_settings\x18\x04 \x01(\x0b\x32&.google.pubsub.v1.PlatformLogsSettingsB\x03\xe0\x41\x01\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\x1a\x95\x06\n\x0c\x43loudStorage\x12T\n\x05state\x18\x01 \x01(\x0e\x32@.google.pubsub.v1.IngestionDataSourceSettings.CloudStorage.StateB\x03\xe0\x41\x03\x12\x13\n\x06\x62ucket\x18\x02 \x01(\tB\x03\xe0\x41\x01\x12\x61\n\x0btext_format\x18\x03 \x01(\x0b\x32\x45.google.pubsub.v1.IngestionDataSourceSettings.CloudStorage.TextFormatB\x03\xe0\x41\x01H\x00\x12\x61\n\x0b\x61vro_format\x18\x04 \x01(\x0b\x32\x45.google.pubsub.v1.IngestionDataSourceSettings.CloudStorage.AvroFormatB\x03\xe0\x41\x01H\x00\x12n\n\x12pubsub_avro_format\x18\x05 \x01(\x0b\x32K.google.pubsub.v1.IngestionDataSourceSettings.CloudStorage.PubSubAvroFormatB\x03\xe0\x41\x01H\x00\x12\x43\n\x1aminimum_object_create_time\x18\x06 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x01\x12\x17\n\nmatch_glob\x18\t \x01(\tB\x03\xe0\x41\x01\x1a\x37\n\nTextFormat\x12\x1b\n\tdelimiter\x18\x01 \x01(\tB\x03\xe0\x41\x01H\x00\x88\x01\x01\x42\x0c\n\n_delimiter\x1a\x0c\n\nAvroFormat\x1a\x12\n\x10PubSubAvroFormat\"\x9a\x01\n\x05State\x12\x15\n\x11STATE_UNSPECIFIED\x10\x00\x12\n\n\x06\x41\x43TIVE\x10\x01\x12#\n\x1f\x43LOUD_STORAGE_PERMISSION_DENIED\x10\x02\x12\x1d\n\x19PUBLISH_PERMISSION_DENIED\x10\x03\x12\x14\n\x10\x42UCKET_NOT_FOUND\x10\x04\x12\x14\n\x10TOO_MANY_OBJECTS\x10\x05\x42\x0e\n\x0cinput_format\x1a\xff\x03\n\x0e\x41zureEventHubs\x12V\n\x05state\x18\x01 \x01(\x0e\x32\x42.google.pubsub.v1.IngestionDataSourceSettings.AzureEventHubs.StateB\x03\xe0\x41\x03\x12\x1b\n\x0eresource_group\x18\x02 \x01(\tB\x03\xe0\x41\x01\x12\x16\n\tnamespace\x18\x03 \x01(\tB\x03\xe0\x41\x01\x12\x16\n\tevent_hub\x18\x04 \x01(\tB\x03\xe0\x41\x01\x12\x16\n\tclient_id\x18\x05 \x01(\tB\x03\xe0\x41\x01\x12\x16\n\ttenant_id\x18\x06 \x01(\tB\x03\xe0\x41\x01\x12\x1c\n\x0fsubscription_id\x18\x07 \x01(\tB\x03\xe0\x41\x01\x12 \n\x13gcp_service_account\x18\x08 \x01(\tB\x03\xe0\x41\x01\"\xd7\x01\n\x05State\x12\x15\n\x11STATE_UNSPECIFIED\x10\x00\x12\n\n\x06\x41\x43TIVE\x10\x01\x12 \n\x1c\x45VENT_HUBS_PERMISSION_DENIED\x10\x02\x12\x1d\n\x19PUBLISH_PERMISSION_DENIED\x10\x03\x12\x17\n\x13NAMESPACE_NOT_FOUND\x10\x04\x12\x17\n\x13\x45VENT_HUB_NOT_FOUND\x10\x05\x12\x1a\n\x16SUBSCRIPTION_NOT_FOUND\x10\x06\x12\x1c\n\x18RESOURCE_GROUP_NOT_FOUND\x10\x07\x1a\xd6\x02\n\x06\x41wsMsk\x12N\n\x05state\x18\x01 \x01(\x0e\x32:.google.pubsub.v1.IngestionDataSourceSettings.AwsMsk.StateB\x03\xe0\x41\x03\x12\x18\n\x0b\x63luster_arn\x18\x02 \x01(\tB\x03\xe0\x41\x02\x12\x12\n\x05topic\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\"\x90\x01\n\x05State\x12\x15\n\x11STATE_UNSPECIFIED\x10\x00\x12\n\n\x06\x41\x43TIVE\x10\x01\x12\x19\n\x15MSK_PERMISSION_DENIED\x10\x02\x12\x1d\n\x19PUBLISH_PERMISSION_DENIED\x10\x03\x12\x15\n\x11\x43LUSTER_NOT_FOUND\x10\x04\x12\x13\n\x0fTOPIC_NOT_FOUND\x10\x05\x1a\xb6\x03\n\x0e\x43onfluentCloud\x12V\n\x05state\x18\x01 \x01(\x0e\x32\x42.google.pubsub.v1.IngestionDataSourceSettings.ConfluentCloud.StateB\x03\xe0\x41\x03\x12\x1d\n\x10\x62ootstrap_server\x18\x02 \x01(\tB\x03\xe0\x41\x02\x12\x17\n\ncluster_id\x18\x03 \x01(\tB\x03\xe0\x41\x02\x12\x12\n\x05topic\x18\x04 \x01(\tB\x03\xe0\x41\x02\x12\x1d\n\x10identity_pool_id\x18\x05 \x01(\tB\x03\xe0\x41\x02\x12 \n\x13gcp_service_account\x18\x06 \x01(\tB\x03\xe0\x41\x02\"\xbe\x01\n\x05State\x12\x15\n\x11STATE_UNSPECIFIED\x10\x00\x12\n\n\x06\x41\x43TIVE\x10\x01\x12%\n!CONFLUENT_CLOUD_PERMISSION_DENIED\x10\x02\x12\x1d\n\x19PUBLISH_PERMISSION_DENIED\x10\x03\x12 \n\x1cUNREACHABLE_BOOTSTRAP_SERVER\x10\x04\x12\x15\n\x11\x43LUSTER_NOT_FOUND\x10\x05\x12\x13\n\x0fTOPIC_NOT_FOUND\x10\x06\x42\x08\n\x06source\"\xbf\x01\n\x14PlatformLogsSettings\x12\x46\n\x08severity\x18\x01 \x01(\x0e\x32/.google.pubsub.v1.PlatformLogsSettings.SeverityB\x03\xe0\x41\x01\"_\n\x08Severity\x12\x18\n\x14SEVERITY_UNSPECIFIED\x10\x00\x12\x0c\n\x08\x44ISABLED\x10\x01\x12\t\n\x05\x44\x45\x42UG\x10\x02\x12\x08\n\x04INFO\x10\x03\x12\x0b\n\x07WARNING\x10\x04\x12\t\n\x05\x45RROR\x10\x05\"\x89\x0c\n\x15IngestionFailureEvent\x12\x12\n\x05topic\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12\x1a\n\rerror_message\x18\x02 \x01(\tB\x03\xe0\x41\x02\x12\x61\n\x15\x63loud_storage_failure\x18\x03 \x01(\x0b\x32;.google.pubsub.v1.IngestionFailureEvent.CloudStorageFailureB\x03\xe0\x41\x01H\x00\x12[\n\x0f\x61ws_msk_failure\x18\x04 \x01(\x0b\x32;.google.pubsub.v1.IngestionFailureEvent.AwsMskFailureReasonB\x03\xe0\x41\x01H\x00\x12l\n\x18\x61zure_event_hubs_failure\x18\x05 \x01(\x0b\x32\x43.google.pubsub.v1.IngestionFailureEvent.AzureEventHubsFailureReasonB\x03\xe0\x41\x01H\x00\x12k\n\x17\x63onfluent_cloud_failure\x18\x06 \x01(\x0b\x32\x43.google.pubsub.v1.IngestionFailureEvent.ConfluentCloudFailureReasonB\x03\xe0\x41\x01H\x00\x1a\x14\n\x12\x41piViolationReason\x1a\x13\n\x11\x41vroFailureReason\x1a\xae\x02\n\x13\x43loudStorageFailure\x12\x13\n\x06\x62ucket\x18\x01 \x01(\tB\x03\xe0\x41\x01\x12\x18\n\x0bobject_name\x18\x02 \x01(\tB\x03\xe0\x41\x01\x12\x1e\n\x11object_generation\x18\x03 \x01(\x03\x42\x03\xe0\x41\x01\x12]\n\x13\x61vro_failure_reason\x18\x05 \x01(\x0b\x32\x39.google.pubsub.v1.IngestionFailureEvent.AvroFailureReasonB\x03\xe0\x41\x01H\x00\x12_\n\x14\x61pi_violation_reason\x18\x06 \x01(\x0b\x32:.google.pubsub.v1.IngestionFailureEvent.ApiViolationReasonB\x03\xe0\x41\x01H\x00\x42\x08\n\x06reason\x1a\xe4\x01\n\x13\x41wsMskFailureReason\x12\x18\n\x0b\x63luster_arn\x18\x01 \x01(\tB\x03\xe0\x41\x01\x12\x18\n\x0bkafka_topic\x18\x02 \x01(\tB\x03\xe0\x41\x01\x12\x19\n\x0cpartition_id\x18\x03 \x01(\x03\x42\x03\xe0\x41\x01\x12\x13\n\x06offset\x18\x04 \x01(\x03\x42\x03\xe0\x41\x01\x12_\n\x14\x61pi_violation_reason\x18\x05 \x01(\x0b\x32:.google.pubsub.v1.IngestionFailureEvent.ApiViolationReasonB\x03\xe0\x41\x01H\x00\x42\x08\n\x06reason\x1a\xe8\x01\n\x1b\x41zureEventHubsFailureReason\x12\x16\n\tnamespace\x18\x01 \x01(\tB\x03\xe0\x41\x01\x12\x16\n\tevent_hub\x18\x02 \x01(\tB\x03\xe0\x41\x01\x12\x19\n\x0cpartition_id\x18\x03 \x01(\x03\x42\x03\xe0\x41\x01\x12\x13\n\x06offset\x18\x04 \x01(\x03\x42\x03\xe0\x41\x01\x12_\n\x14\x61pi_violation_reason\x18\x05 \x01(\x0b\x32:.google.pubsub.v1.IngestionFailureEvent.ApiViolationReasonB\x03\xe0\x41\x01H\x00\x42\x08\n\x06reason\x1a\xeb\x01\n\x1b\x43onfluentCloudFailureReason\x12\x17\n\ncluster_id\x18\x01 \x01(\tB\x03\xe0\x41\x01\x12\x18\n\x0bkafka_topic\x18\x02 \x01(\tB\x03\xe0\x41\x01\x12\x19\n\x0cpartition_id\x18\x03 \x01(\x03\x42\x03\xe0\x41\x01\x12\x13\n\x06offset\x18\x04 \x01(\x03\x42\x03\xe0\x41\x01\x12_\n\x14\x61pi_violation_reason\x18\x05 \x01(\x0b\x32:.google.pubsub.v1.IngestionFailureEvent.ApiViolationReasonB\x03\xe0\x41\x01H\x00\x42\x08\n\x06reasonB\t\n\x07\x66\x61ilure\"\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\"\xab\n\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\x12i\n\x1f\x61nalytics_hub_subscription_info\x18\x17 \x01(\x0b\x32;.google.pubsub.v1.Subscription.AnalyticsHubSubscriptionInfoB\x03\xe0\x41\x03\x1aO\n\x1c\x41nalyticsHubSubscriptionInfo\x12\x14\n\x07listing\x18\x01 \x01(\tB\x03\xe0\x41\x01\x12\x19\n\x0csubscription\x18\x02 \x01(\tB\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\">\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\"\xe9\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\x19\n\x0cmax_messages\x18\x08 \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\x1aH\n\nAvroConfig\x12\x1b\n\x0ewrite_metadata\x18\x01 \x01(\x08\x42\x03\xe0\x41\x01\x12\x1d\n\x10use_topic_schema\x18\x02 \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#\n\x1fIN_TRANSIT_LOCATION_RESTRICTION\x10\x04\x12\x13\n\x0fSCHEMA_MISMATCH\x10\x05\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
|
|
@@ -58,12 +58,21 @@ module Google
|
|
58
58
|
IngestionDataSourceSettings::CloudStorage::AvroFormat = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.pubsub.v1.IngestionDataSourceSettings.CloudStorage.AvroFormat").msgclass
|
59
59
|
IngestionDataSourceSettings::CloudStorage::PubSubAvroFormat = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.pubsub.v1.IngestionDataSourceSettings.CloudStorage.PubSubAvroFormat").msgclass
|
60
60
|
IngestionDataSourceSettings::CloudStorage::State = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.pubsub.v1.IngestionDataSourceSettings.CloudStorage.State").enummodule
|
61
|
+
IngestionDataSourceSettings::AzureEventHubs = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.pubsub.v1.IngestionDataSourceSettings.AzureEventHubs").msgclass
|
62
|
+
IngestionDataSourceSettings::AzureEventHubs::State = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.pubsub.v1.IngestionDataSourceSettings.AzureEventHubs.State").enummodule
|
63
|
+
IngestionDataSourceSettings::AwsMsk = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.pubsub.v1.IngestionDataSourceSettings.AwsMsk").msgclass
|
64
|
+
IngestionDataSourceSettings::AwsMsk::State = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.pubsub.v1.IngestionDataSourceSettings.AwsMsk.State").enummodule
|
65
|
+
IngestionDataSourceSettings::ConfluentCloud = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.pubsub.v1.IngestionDataSourceSettings.ConfluentCloud").msgclass
|
66
|
+
IngestionDataSourceSettings::ConfluentCloud::State = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.pubsub.v1.IngestionDataSourceSettings.ConfluentCloud.State").enummodule
|
61
67
|
PlatformLogsSettings = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.pubsub.v1.PlatformLogsSettings").msgclass
|
62
68
|
PlatformLogsSettings::Severity = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.pubsub.v1.PlatformLogsSettings.Severity").enummodule
|
63
69
|
IngestionFailureEvent = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.pubsub.v1.IngestionFailureEvent").msgclass
|
64
70
|
IngestionFailureEvent::ApiViolationReason = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.pubsub.v1.IngestionFailureEvent.ApiViolationReason").msgclass
|
65
71
|
IngestionFailureEvent::AvroFailureReason = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.pubsub.v1.IngestionFailureEvent.AvroFailureReason").msgclass
|
66
72
|
IngestionFailureEvent::CloudStorageFailure = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.pubsub.v1.IngestionFailureEvent.CloudStorageFailure").msgclass
|
73
|
+
IngestionFailureEvent::AwsMskFailureReason = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.pubsub.v1.IngestionFailureEvent.AwsMskFailureReason").msgclass
|
74
|
+
IngestionFailureEvent::AzureEventHubsFailureReason = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.pubsub.v1.IngestionFailureEvent.AzureEventHubsFailureReason").msgclass
|
75
|
+
IngestionFailureEvent::ConfluentCloudFailureReason = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.pubsub.v1.IngestionFailureEvent.ConfluentCloudFailureReason").msgclass
|
67
76
|
Topic = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.pubsub.v1.Topic").msgclass
|
68
77
|
Topic::State = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.pubsub.v1.Topic.State").enummodule
|
69
78
|
PubsubMessage = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.pubsub.v1.PubsubMessage").msgclass
|
@@ -28,6 +28,9 @@ module Google
|
|
28
28
|
# @!attribute [rw] destinations
|
29
29
|
# @return [::Array<::Google::Api::ClientLibraryDestination>]
|
30
30
|
# The destination where API teams want this client library to be published.
|
31
|
+
# @!attribute [rw] selective_gapic_generation
|
32
|
+
# @return [::Google::Api::SelectiveGapicGeneration]
|
33
|
+
# Configuration for which RPCs should be generated in the GAPIC client.
|
31
34
|
class CommonLanguageSettings
|
32
35
|
include ::Google::Protobuf::MessageExts
|
33
36
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -212,6 +215,12 @@ module Google
|
|
212
215
|
# enabled. By default, asynchronous REST clients will not be generated.
|
213
216
|
# This feature will be enabled by default 1 month after launching the
|
214
217
|
# feature in preview packages.
|
218
|
+
# @!attribute [rw] protobuf_pythonic_types_enabled
|
219
|
+
# @return [::Boolean]
|
220
|
+
# Enables generation of protobuf code using new types that are more
|
221
|
+
# Pythonic which are included in `protobuf>=5.29.x`. This feature will be
|
222
|
+
# enabled by default 1 month after launching the feature in preview
|
223
|
+
# packages.
|
215
224
|
class ExperimentalFeatures
|
216
225
|
include ::Google::Protobuf::MessageExts
|
217
226
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -297,9 +306,28 @@ module Google
|
|
297
306
|
# @!attribute [rw] common
|
298
307
|
# @return [::Google::Api::CommonLanguageSettings]
|
299
308
|
# Some settings.
|
309
|
+
# @!attribute [rw] renamed_services
|
310
|
+
# @return [::Google::Protobuf::Map{::String => ::String}]
|
311
|
+
# Map of service names to renamed services. Keys are the package relative
|
312
|
+
# service names and values are the name to be used for the service client
|
313
|
+
# and call options.
|
314
|
+
#
|
315
|
+
# publishing:
|
316
|
+
# go_settings:
|
317
|
+
# renamed_services:
|
318
|
+
# Publisher: TopicAdmin
|
300
319
|
class GoSettings
|
301
320
|
include ::Google::Protobuf::MessageExts
|
302
321
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
322
|
+
|
323
|
+
# @!attribute [rw] key
|
324
|
+
# @return [::String]
|
325
|
+
# @!attribute [rw] value
|
326
|
+
# @return [::String]
|
327
|
+
class RenamedServicesEntry
|
328
|
+
include ::Google::Protobuf::MessageExts
|
329
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
330
|
+
end
|
303
331
|
end
|
304
332
|
|
305
333
|
# Describes the generator configuration for a method.
|
@@ -375,6 +403,17 @@ module Google
|
|
375
403
|
end
|
376
404
|
end
|
377
405
|
|
406
|
+
# This message is used to configure the generation of a subset of the RPCs in
|
407
|
+
# a service for client libraries.
|
408
|
+
# @!attribute [rw] methods
|
409
|
+
# @return [::Array<::String>]
|
410
|
+
# An allowlist of the fully qualified names of RPCs that should be included
|
411
|
+
# on public client surfaces.
|
412
|
+
class SelectiveGapicGeneration
|
413
|
+
include ::Google::Protobuf::MessageExts
|
414
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
415
|
+
end
|
416
|
+
|
378
417
|
# The organization for which the client libraries are being published.
|
379
418
|
# Affects the url where generated docs are published, etc.
|
380
419
|
module ClientLibraryOrganization
|
@@ -74,6 +74,15 @@ module Google
|
|
74
74
|
# @!attribute [rw] cloud_storage
|
75
75
|
# @return [::Google::Cloud::PubSub::V1::IngestionDataSourceSettings::CloudStorage]
|
76
76
|
# Optional. Cloud Storage.
|
77
|
+
# @!attribute [rw] azure_event_hubs
|
78
|
+
# @return [::Google::Cloud::PubSub::V1::IngestionDataSourceSettings::AzureEventHubs]
|
79
|
+
# Optional. Azure Event Hubs.
|
80
|
+
# @!attribute [rw] aws_msk
|
81
|
+
# @return [::Google::Cloud::PubSub::V1::IngestionDataSourceSettings::AwsMsk]
|
82
|
+
# Optional. Amazon MSK.
|
83
|
+
# @!attribute [rw] confluent_cloud
|
84
|
+
# @return [::Google::Cloud::PubSub::V1::IngestionDataSourceSettings::ConfluentCloud]
|
85
|
+
# Optional. Confluent Cloud.
|
77
86
|
# @!attribute [rw] platform_logs_settings
|
78
87
|
# @return [::Google::Cloud::PubSub::V1::PlatformLogsSettings]
|
79
88
|
# Optional. Platform Logs settings. If unset, no Platform Logs will be
|
@@ -233,6 +242,173 @@ module Google
|
|
233
242
|
TOO_MANY_OBJECTS = 5
|
234
243
|
end
|
235
244
|
end
|
245
|
+
|
246
|
+
# Ingestion settings for Azure Event Hubs.
|
247
|
+
# @!attribute [r] state
|
248
|
+
# @return [::Google::Cloud::PubSub::V1::IngestionDataSourceSettings::AzureEventHubs::State]
|
249
|
+
# Output only. An output-only field that indicates the state of the Event
|
250
|
+
# Hubs ingestion source.
|
251
|
+
# @!attribute [rw] resource_group
|
252
|
+
# @return [::String]
|
253
|
+
# Optional. Name of the resource group within the azure subscription.
|
254
|
+
# @!attribute [rw] namespace
|
255
|
+
# @return [::String]
|
256
|
+
# Optional. The name of the Event Hubs namespace.
|
257
|
+
# @!attribute [rw] event_hub
|
258
|
+
# @return [::String]
|
259
|
+
# Optional. The name of the Event Hub.
|
260
|
+
# @!attribute [rw] client_id
|
261
|
+
# @return [::String]
|
262
|
+
# Optional. The client id of the Azure application that is being used to
|
263
|
+
# authenticate Pub/Sub.
|
264
|
+
# @!attribute [rw] tenant_id
|
265
|
+
# @return [::String]
|
266
|
+
# Optional. The tenant id of the Azure application that is being used to
|
267
|
+
# authenticate Pub/Sub.
|
268
|
+
# @!attribute [rw] subscription_id
|
269
|
+
# @return [::String]
|
270
|
+
# Optional. The Azure subscription id.
|
271
|
+
# @!attribute [rw] gcp_service_account
|
272
|
+
# @return [::String]
|
273
|
+
# Optional. The GCP service account to be used for Federated Identity
|
274
|
+
# authentication.
|
275
|
+
class AzureEventHubs
|
276
|
+
include ::Google::Protobuf::MessageExts
|
277
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
278
|
+
|
279
|
+
# Possible states for managed ingestion from Event Hubs.
|
280
|
+
module State
|
281
|
+
# Default value. This value is unused.
|
282
|
+
STATE_UNSPECIFIED = 0
|
283
|
+
|
284
|
+
# Ingestion is active.
|
285
|
+
ACTIVE = 1
|
286
|
+
|
287
|
+
# Permission denied encountered while consuming data from Event Hubs.
|
288
|
+
# This can happen when `client_id`, or `tenant_id` are invalid. Or the
|
289
|
+
# right permissions haven't been granted.
|
290
|
+
EVENT_HUBS_PERMISSION_DENIED = 2
|
291
|
+
|
292
|
+
# Permission denied encountered while publishing to the topic.
|
293
|
+
PUBLISH_PERMISSION_DENIED = 3
|
294
|
+
|
295
|
+
# The provided Event Hubs namespace couldn't be found.
|
296
|
+
NAMESPACE_NOT_FOUND = 4
|
297
|
+
|
298
|
+
# The provided Event Hub couldn't be found.
|
299
|
+
EVENT_HUB_NOT_FOUND = 5
|
300
|
+
|
301
|
+
# The provided Event Hubs subscription couldn't be found.
|
302
|
+
SUBSCRIPTION_NOT_FOUND = 6
|
303
|
+
|
304
|
+
# The provided Event Hubs resource group couldn't be found.
|
305
|
+
RESOURCE_GROUP_NOT_FOUND = 7
|
306
|
+
end
|
307
|
+
end
|
308
|
+
|
309
|
+
# Ingestion settings for Amazon MSK.
|
310
|
+
# @!attribute [r] state
|
311
|
+
# @return [::Google::Cloud::PubSub::V1::IngestionDataSourceSettings::AwsMsk::State]
|
312
|
+
# Output only. An output-only field that indicates the state of the Amazon
|
313
|
+
# MSK ingestion source.
|
314
|
+
# @!attribute [rw] cluster_arn
|
315
|
+
# @return [::String]
|
316
|
+
# Required. The Amazon Resource Name (ARN) that uniquely identifies the
|
317
|
+
# cluster.
|
318
|
+
# @!attribute [rw] topic
|
319
|
+
# @return [::String]
|
320
|
+
# Required. The name of the topic in the Amazon MSK cluster that Pub/Sub
|
321
|
+
# will import from.
|
322
|
+
# @!attribute [rw] aws_role_arn
|
323
|
+
# @return [::String]
|
324
|
+
# Required. AWS role ARN to be used for Federated Identity authentication
|
325
|
+
# with Amazon MSK. Check the Pub/Sub docs for how to set up this role and
|
326
|
+
# the required permissions that need to be attached to it.
|
327
|
+
# @!attribute [rw] gcp_service_account
|
328
|
+
# @return [::String]
|
329
|
+
# Required. The GCP service account to be used for Federated Identity
|
330
|
+
# authentication with Amazon MSK (via a `AssumeRoleWithWebIdentity` call
|
331
|
+
# for the provided role). The `aws_role_arn` must be set up with
|
332
|
+
# `accounts.google.com:sub` equals to this service account number.
|
333
|
+
class AwsMsk
|
334
|
+
include ::Google::Protobuf::MessageExts
|
335
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
336
|
+
|
337
|
+
# Possible states for managed ingestion from Amazon MSK.
|
338
|
+
module State
|
339
|
+
# Default value. This value is unused.
|
340
|
+
STATE_UNSPECIFIED = 0
|
341
|
+
|
342
|
+
# Ingestion is active.
|
343
|
+
ACTIVE = 1
|
344
|
+
|
345
|
+
# Permission denied encountered while consuming data from Amazon MSK.
|
346
|
+
MSK_PERMISSION_DENIED = 2
|
347
|
+
|
348
|
+
# Permission denied encountered while publishing to the topic.
|
349
|
+
PUBLISH_PERMISSION_DENIED = 3
|
350
|
+
|
351
|
+
# The provided MSK cluster wasn't found.
|
352
|
+
CLUSTER_NOT_FOUND = 4
|
353
|
+
|
354
|
+
# The provided topic wasn't found.
|
355
|
+
TOPIC_NOT_FOUND = 5
|
356
|
+
end
|
357
|
+
end
|
358
|
+
|
359
|
+
# Ingestion settings for Confluent Cloud.
|
360
|
+
# @!attribute [r] state
|
361
|
+
# @return [::Google::Cloud::PubSub::V1::IngestionDataSourceSettings::ConfluentCloud::State]
|
362
|
+
# Output only. An output-only field that indicates the state of the
|
363
|
+
# Confluent Cloud ingestion source.
|
364
|
+
# @!attribute [rw] bootstrap_server
|
365
|
+
# @return [::String]
|
366
|
+
# Required. The address of the bootstrap server. The format is url:port.
|
367
|
+
# @!attribute [rw] cluster_id
|
368
|
+
# @return [::String]
|
369
|
+
# Required. The id of the cluster.
|
370
|
+
# @!attribute [rw] topic
|
371
|
+
# @return [::String]
|
372
|
+
# Required. The name of the topic in the Confluent Cloud cluster that
|
373
|
+
# Pub/Sub will import from.
|
374
|
+
# @!attribute [rw] identity_pool_id
|
375
|
+
# @return [::String]
|
376
|
+
# Required. The id of the identity pool to be used for Federated Identity
|
377
|
+
# authentication with Confluent Cloud. See
|
378
|
+
# https://docs.confluent.io/cloud/current/security/authenticate/workload-identities/identity-providers/oauth/identity-pools.html#add-oauth-identity-pools.
|
379
|
+
# @!attribute [rw] gcp_service_account
|
380
|
+
# @return [::String]
|
381
|
+
# Required. The GCP service account to be used for Federated Identity
|
382
|
+
# authentication with `identity_pool_id`.
|
383
|
+
class ConfluentCloud
|
384
|
+
include ::Google::Protobuf::MessageExts
|
385
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
386
|
+
|
387
|
+
# Possible states for managed ingestion from Confluent Cloud.
|
388
|
+
module State
|
389
|
+
# Default value. This value is unused.
|
390
|
+
STATE_UNSPECIFIED = 0
|
391
|
+
|
392
|
+
# Ingestion is active.
|
393
|
+
ACTIVE = 1
|
394
|
+
|
395
|
+
# Permission denied encountered while consuming data from Confluent
|
396
|
+
# Cloud.
|
397
|
+
CONFLUENT_CLOUD_PERMISSION_DENIED = 2
|
398
|
+
|
399
|
+
# Permission denied encountered while publishing to the topic.
|
400
|
+
PUBLISH_PERMISSION_DENIED = 3
|
401
|
+
|
402
|
+
# The provided bootstrap server address is unreachable.
|
403
|
+
UNREACHABLE_BOOTSTRAP_SERVER = 4
|
404
|
+
|
405
|
+
# The provided cluster wasn't found.
|
406
|
+
CLUSTER_NOT_FOUND = 5
|
407
|
+
|
408
|
+
# The provided topic wasn't found.
|
409
|
+
TOPIC_NOT_FOUND = 6
|
410
|
+
end
|
411
|
+
end
|
236
412
|
end
|
237
413
|
|
238
414
|
# Settings for Platform Logs produced by Pub/Sub.
|
@@ -277,6 +453,15 @@ module Google
|
|
277
453
|
# @!attribute [rw] cloud_storage_failure
|
278
454
|
# @return [::Google::Cloud::PubSub::V1::IngestionFailureEvent::CloudStorageFailure]
|
279
455
|
# Optional. Failure when ingesting from Cloud Storage.
|
456
|
+
# @!attribute [rw] aws_msk_failure
|
457
|
+
# @return [::Google::Cloud::PubSub::V1::IngestionFailureEvent::AwsMskFailureReason]
|
458
|
+
# Optional. Failure when ingesting from Amazon MSK.
|
459
|
+
# @!attribute [rw] azure_event_hubs_failure
|
460
|
+
# @return [::Google::Cloud::PubSub::V1::IngestionFailureEvent::AzureEventHubsFailureReason]
|
461
|
+
# Optional. Failure when ingesting from Azure Event Hubs.
|
462
|
+
# @!attribute [rw] confluent_cloud_failure
|
463
|
+
# @return [::Google::Cloud::PubSub::V1::IngestionFailureEvent::ConfluentCloudFailureReason]
|
464
|
+
# Optional. Failure when ingesting from Confluent Cloud.
|
280
465
|
class IngestionFailureEvent
|
281
466
|
include ::Google::Protobuf::MessageExts
|
282
467
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -324,6 +509,75 @@ module Google
|
|
324
509
|
include ::Google::Protobuf::MessageExts
|
325
510
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
326
511
|
end
|
512
|
+
|
513
|
+
# Failure when ingesting from an Amazon MSK source.
|
514
|
+
# @!attribute [rw] cluster_arn
|
515
|
+
# @return [::String]
|
516
|
+
# Optional. The ARN of the cluster of the topic being ingested from.
|
517
|
+
# @!attribute [rw] kafka_topic
|
518
|
+
# @return [::String]
|
519
|
+
# Optional. The name of the Kafka topic being ingested from.
|
520
|
+
# @!attribute [rw] partition_id
|
521
|
+
# @return [::Integer]
|
522
|
+
# Optional. The partition ID of the message that failed to be ingested.
|
523
|
+
# @!attribute [rw] offset
|
524
|
+
# @return [::Integer]
|
525
|
+
# Optional. The offset within the partition of the message that failed to
|
526
|
+
# be ingested.
|
527
|
+
# @!attribute [rw] api_violation_reason
|
528
|
+
# @return [::Google::Cloud::PubSub::V1::IngestionFailureEvent::ApiViolationReason]
|
529
|
+
# Optional. The Pub/Sub API limits prevented the desired message from
|
530
|
+
# being published.
|
531
|
+
class AwsMskFailureReason
|
532
|
+
include ::Google::Protobuf::MessageExts
|
533
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
534
|
+
end
|
535
|
+
|
536
|
+
# Failure when ingesting from an Azure Event Hubs source.
|
537
|
+
# @!attribute [rw] namespace
|
538
|
+
# @return [::String]
|
539
|
+
# Optional. The namespace containing the event hub being ingested from.
|
540
|
+
# @!attribute [rw] event_hub
|
541
|
+
# @return [::String]
|
542
|
+
# Optional. The name of the event hub being ingested from.
|
543
|
+
# @!attribute [rw] partition_id
|
544
|
+
# @return [::Integer]
|
545
|
+
# Optional. The partition ID of the message that failed to be ingested.
|
546
|
+
# @!attribute [rw] offset
|
547
|
+
# @return [::Integer]
|
548
|
+
# Optional. The offset within the partition of the message that failed to
|
549
|
+
# be ingested.
|
550
|
+
# @!attribute [rw] api_violation_reason
|
551
|
+
# @return [::Google::Cloud::PubSub::V1::IngestionFailureEvent::ApiViolationReason]
|
552
|
+
# Optional. The Pub/Sub API limits prevented the desired message from
|
553
|
+
# being published.
|
554
|
+
class AzureEventHubsFailureReason
|
555
|
+
include ::Google::Protobuf::MessageExts
|
556
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
557
|
+
end
|
558
|
+
|
559
|
+
# Failure when ingesting from a Confluent Cloud source.
|
560
|
+
# @!attribute [rw] cluster_id
|
561
|
+
# @return [::String]
|
562
|
+
# Optional. The cluster ID containing the topic being ingested from.
|
563
|
+
# @!attribute [rw] kafka_topic
|
564
|
+
# @return [::String]
|
565
|
+
# Optional. The name of the Kafka topic being ingested from.
|
566
|
+
# @!attribute [rw] partition_id
|
567
|
+
# @return [::Integer]
|
568
|
+
# Optional. The partition ID of the message that failed to be ingested.
|
569
|
+
# @!attribute [rw] offset
|
570
|
+
# @return [::Integer]
|
571
|
+
# Optional. The offset within the partition of the message that failed to
|
572
|
+
# be ingested.
|
573
|
+
# @!attribute [rw] api_violation_reason
|
574
|
+
# @return [::Google::Cloud::PubSub::V1::IngestionFailureEvent::ApiViolationReason]
|
575
|
+
# Optional. The Pub/Sub API limits prevented the desired message from
|
576
|
+
# being published.
|
577
|
+
class ConfluentCloudFailureReason
|
578
|
+
include ::Google::Protobuf::MessageExts
|
579
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
580
|
+
end
|
327
581
|
end
|
328
582
|
|
329
583
|
# A topic resource.
|
metadata
CHANGED
@@ -1,14 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-cloud-pubsub-v1
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.5.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Google LLC
|
8
|
-
autorequire:
|
9
8
|
bindir: bin
|
10
9
|
cert_chain: []
|
11
|
-
date:
|
10
|
+
date: 2025-01-15 00:00:00.000000000 Z
|
12
11
|
dependencies:
|
13
12
|
- !ruby/object:Gem::Dependency
|
14
13
|
name: gapic-common
|
@@ -16,7 +15,7 @@ dependencies:
|
|
16
15
|
requirements:
|
17
16
|
- - ">="
|
18
17
|
- !ruby/object:Gem::Version
|
19
|
-
version: 0.
|
18
|
+
version: 0.24.0
|
20
19
|
- - "<"
|
21
20
|
- !ruby/object:Gem::Version
|
22
21
|
version: 2.a
|
@@ -26,7 +25,7 @@ dependencies:
|
|
26
25
|
requirements:
|
27
26
|
- - ">="
|
28
27
|
- !ruby/object:Gem::Version
|
29
|
-
version: 0.
|
28
|
+
version: 0.24.0
|
30
29
|
- - "<"
|
31
30
|
- !ruby/object:Gem::Version
|
32
31
|
version: 2.a
|
@@ -118,7 +117,6 @@ homepage: https://github.com/googleapis/google-cloud-ruby
|
|
118
117
|
licenses:
|
119
118
|
- Apache-2.0
|
120
119
|
metadata: {}
|
121
|
-
post_install_message:
|
122
120
|
rdoc_options: []
|
123
121
|
require_paths:
|
124
122
|
- lib
|
@@ -133,8 +131,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
133
131
|
- !ruby/object:Gem::Version
|
134
132
|
version: '0'
|
135
133
|
requirements: []
|
136
|
-
rubygems_version: 3.
|
137
|
-
signing_key:
|
134
|
+
rubygems_version: 3.6.2
|
138
135
|
specification_version: 4
|
139
136
|
summary: Provides reliable, many-to-many, asynchronous messaging between applications.
|
140
137
|
test_files: []
|