google-cloud-pubsub-v1 1.4.0 → 1.8.1
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 +1 -1
- data/lib/google/cloud/pubsub/v1/publisher/client.rb +11 -1
- data/lib/google/cloud/pubsub/v1/schema_service/client.rb +11 -0
- data/lib/google/cloud/pubsub/v1/subscriber/client.rb +15 -1
- data/lib/google/cloud/pubsub/v1/version.rb +1 -1
- data/lib/google/pubsub/v1/pubsub_pb.rb +12 -1
- data/lib/google/pubsub/v1/schema_pb.rb +1 -1
- data/proto_docs/google/api/client.rb +14 -0
- data/proto_docs/google/pubsub/v1/pubsub.rb +366 -2
- data/proto_docs/google/pubsub/v1/schema.rb +4 -0
- metadata +6 -9
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d410e6c1e0fe95f59e263002fb8390bd773c8321b1a49a6eee096d4161d0fb8d
|
4
|
+
data.tar.gz: f05a807b903a6b848a71556ff3aa54e8a91dc72fd5e1cbe104b3b1f8d2e42bd8
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 74ec9b608ecad5bac4d6a17a8faef93065a859ab0e0a18e96e1b63712c46c00a7d953b6abb0dd6ee6a358081db10e1a157744d4715ee3bf2eea3df09b53e9b24
|
7
|
+
data.tar.gz: d9eaa21cf54d63f5842f669192be929d1e73f2c32abad0731ac914e5ff4038f84d35415990ba378b170cd5594ebe0e05c187554247ab84c8287a1f80959ba3a9
|
data/README.md
CHANGED
@@ -86,7 +86,7 @@ To browse ready to use code samples check [Google Cloud Samples](https://cloud.g
|
|
86
86
|
|
87
87
|
## Supported Ruby Versions
|
88
88
|
|
89
|
-
This library is supported on Ruby
|
89
|
+
This library is supported on Ruby 3.0+.
|
90
90
|
|
91
91
|
Google provides official support for Ruby versions that are actively supported
|
92
92
|
by Ruby Core—that is, Ruby versions that are either in normal maintenance or
|
@@ -259,7 +259,7 @@ module Google
|
|
259
259
|
# @param options [::Gapic::CallOptions, ::Hash]
|
260
260
|
# Overrides the default settings for this call, e.g, timeout, retries, etc. Optional.
|
261
261
|
#
|
262
|
-
# @overload create_topic(name: nil, labels: nil, message_storage_policy: nil, kms_key_name: nil, schema_settings: nil, satisfies_pzs: nil, message_retention_duration: nil, ingestion_data_source_settings: nil)
|
262
|
+
# @overload create_topic(name: nil, labels: nil, message_storage_policy: nil, kms_key_name: nil, schema_settings: nil, satisfies_pzs: nil, message_retention_duration: nil, ingestion_data_source_settings: nil, message_transforms: nil)
|
263
263
|
# Pass arguments to `create_topic` via keyword arguments. Note that at
|
264
264
|
# least one keyword argument is required. To specify no parameters, or to keep all
|
265
265
|
# the default parameter values, pass an empty Hash as a request object (see above).
|
@@ -300,6 +300,9 @@ module Google
|
|
300
300
|
# subscriptions. Cannot be more than 31 days or less than 10 minutes.
|
301
301
|
# @param ingestion_data_source_settings [::Google::Cloud::PubSub::V1::IngestionDataSourceSettings, ::Hash]
|
302
302
|
# Optional. Settings for ingestion from a data source into this topic.
|
303
|
+
# @param message_transforms [::Array<::Google::Cloud::PubSub::V1::MessageTransform, ::Hash>]
|
304
|
+
# Optional. Transforms to be applied to messages published to the topic.
|
305
|
+
# Transforms are applied in the order specified.
|
303
306
|
#
|
304
307
|
# @yield [response, operation] Access the result along with the RPC operation
|
305
308
|
# @yieldparam response [::Google::Cloud::PubSub::V1::Topic]
|
@@ -1141,6 +1144,13 @@ module Google
|
|
1141
1144
|
# * (`GRPC::Core::Channel`) a gRPC channel with included credentials
|
1142
1145
|
# * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
|
1143
1146
|
# * (`nil`) indicating no credentials
|
1147
|
+
#
|
1148
|
+
# Warning: If you accept a credential configuration (JSON file or Hash) from an
|
1149
|
+
# external source for authentication to Google Cloud, you must validate it before
|
1150
|
+
# providing it to a Google API client library. Providing an unvalidated credential
|
1151
|
+
# configuration to Google APIs can compromise the security of your systems and data.
|
1152
|
+
# For more information, refer to [Validate credential configurations from external
|
1153
|
+
# sources](https://cloud.google.com/docs/authentication/external/externally-sourced-credentials).
|
1144
1154
|
# @return [::Object]
|
1145
1155
|
# @!attribute [rw] scope
|
1146
1156
|
# The OAuth scopes
|
@@ -1107,8 +1107,12 @@ module Google
|
|
1107
1107
|
# Name of the schema against which to validate.
|
1108
1108
|
#
|
1109
1109
|
# Format is `projects/{project}/schemas/{schema}`.
|
1110
|
+
#
|
1111
|
+
# Note: The following fields are mutually exclusive: `name`, `schema`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
1110
1112
|
# @param schema [::Google::Cloud::PubSub::V1::Schema, ::Hash]
|
1111
1113
|
# Ad-hoc schema against which to validate
|
1114
|
+
#
|
1115
|
+
# Note: The following fields are mutually exclusive: `schema`, `name`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
1112
1116
|
# @param message [::String]
|
1113
1117
|
# Message to validate against the provided `schema_spec`.
|
1114
1118
|
# @param encoding [::Google::Cloud::PubSub::V1::Encoding]
|
@@ -1222,6 +1226,13 @@ module Google
|
|
1222
1226
|
# * (`GRPC::Core::Channel`) a gRPC channel with included credentials
|
1223
1227
|
# * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
|
1224
1228
|
# * (`nil`) indicating no credentials
|
1229
|
+
#
|
1230
|
+
# Warning: If you accept a credential configuration (JSON file or Hash) from an
|
1231
|
+
# external source for authentication to Google Cloud, you must validate it before
|
1232
|
+
# providing it to a Google API client library. Providing an unvalidated credential
|
1233
|
+
# configuration to Google APIs can compromise the security of your systems and data.
|
1234
|
+
# For more information, refer to [Validate credential configurations from external
|
1235
|
+
# sources](https://cloud.google.com/docs/authentication/external/externally-sourced-credentials).
|
1225
1236
|
# @return [::Object]
|
1226
1237
|
# @!attribute [rw] scope
|
1227
1238
|
# The OAuth scopes
|
@@ -304,7 +304,7 @@ module Google
|
|
304
304
|
# @param options [::Gapic::CallOptions, ::Hash]
|
305
305
|
# Overrides the default settings for this call, e.g, timeout, retries, etc. Optional.
|
306
306
|
#
|
307
|
-
# @overload create_subscription(name: nil, topic: nil, push_config: nil, bigquery_config: nil, cloud_storage_config: nil, ack_deadline_seconds: nil, retain_acked_messages: nil, message_retention_duration: nil, labels: nil, enable_message_ordering: nil, expiration_policy: nil, filter: nil, dead_letter_policy: nil, retry_policy: nil, detached: nil, enable_exactly_once_delivery: nil)
|
307
|
+
# @overload create_subscription(name: nil, topic: nil, push_config: nil, bigquery_config: nil, cloud_storage_config: nil, ack_deadline_seconds: nil, retain_acked_messages: nil, message_retention_duration: nil, labels: nil, enable_message_ordering: nil, expiration_policy: nil, filter: nil, dead_letter_policy: nil, retry_policy: nil, detached: nil, enable_exactly_once_delivery: nil, message_transforms: nil)
|
308
308
|
# Pass arguments to `create_subscription` via keyword arguments. Note that at
|
309
309
|
# least one keyword argument is required. To specify no parameters, or to keep all
|
310
310
|
# the default parameter values, pass an empty Hash as a request object (see above).
|
@@ -421,6 +421,9 @@ module Google
|
|
421
421
|
# when `enable_exactly_once_delivery` is true if the message was published
|
422
422
|
# multiple times by a publisher client. These copies are considered distinct
|
423
423
|
# by Pub/Sub and have distinct `message_id` values.
|
424
|
+
# @param message_transforms [::Array<::Google::Cloud::PubSub::V1::MessageTransform, ::Hash>]
|
425
|
+
# Optional. Transforms to be applied to messages before they are delivered to
|
426
|
+
# subscribers. Transforms are applied in the order specified.
|
424
427
|
#
|
425
428
|
# @yield [response, operation] Access the result along with the RPC operation
|
426
429
|
# @yieldparam response [::Google::Cloud::PubSub::V1::Subscription]
|
@@ -1863,11 +1866,15 @@ module Google
|
|
1863
1866
|
# window (or to a point before the system's notion of the subscription
|
1864
1867
|
# creation time), only retained messages will be marked as unacknowledged,
|
1865
1868
|
# and already-expunged messages will not be restored.
|
1869
|
+
#
|
1870
|
+
# Note: The following fields are mutually exclusive: `time`, `snapshot`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
1866
1871
|
# @param snapshot [::String]
|
1867
1872
|
# Optional. The snapshot to seek to. The snapshot's topic must be the same
|
1868
1873
|
# as that of the provided subscription. Format is
|
1869
1874
|
# `projects/{project}/snapshots/{snap}`.
|
1870
1875
|
#
|
1876
|
+
# Note: The following fields are mutually exclusive: `snapshot`, `time`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
1877
|
+
#
|
1871
1878
|
# @yield [response, operation] Access the result along with the RPC operation
|
1872
1879
|
# @yieldparam response [::Google::Cloud::PubSub::V1::SeekResponse]
|
1873
1880
|
# @yieldparam operation [::GRPC::ActiveCall::Operation]
|
@@ -1976,6 +1983,13 @@ module Google
|
|
1976
1983
|
# * (`GRPC::Core::Channel`) a gRPC channel with included credentials
|
1977
1984
|
# * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
|
1978
1985
|
# * (`nil`) indicating no credentials
|
1986
|
+
#
|
1987
|
+
# Warning: If you accept a credential configuration (JSON file or Hash) from an
|
1988
|
+
# external source for authentication to Google Cloud, you must validate it before
|
1989
|
+
# providing it to a Google API client library. Providing an unvalidated credential
|
1990
|
+
# configuration to Google APIs can compromise the security of your systems and data.
|
1991
|
+
# For more information, refer to [Validate credential configurations from external
|
1992
|
+
# sources](https://cloud.google.com/docs/authentication/external/externally-sourced-credentials).
|
1979
1993
|
# @return [::Object]
|
1980
1994
|
# @!attribute [rw] scope
|
1981
1995
|
# The OAuth scopes
|
@@ -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\">\n\rJavaScriptUDF\x12\x1a\n\rfunction_name\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12\x11\n\x04\x63ode\x18\x02 \x01(\tB\x03\xe0\x41\x02\"\x8e\x01\n\x10MessageTransform\x12>\n\x0ejavascript_udf\x18\x02 \x01(\x0b\x32\x1f.google.pubsub.v1.JavaScriptUDFB\x03\xe0\x41\x01H\x00\x12\x16\n\x07\x65nabled\x18\x03 \x01(\x08\x42\x05\x18\x01\xe0\x41\x01\x12\x15\n\x08\x64isabled\x18\x04 \x01(\x08\x42\x03\xe0\x41\x01\x42\x0b\n\ttransform\"\x8e\x06\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\x12\x43\n\x12message_transforms\x18\r \x03(\x0b\x32\".google.pubsub.v1.MessageTransformB\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:c\xea\x41`\n\x1bpubsub.googleapis.com/Topic\x12!projects/{project}/topics/{topic}\x12\x0f_deleted-topic_*\x06topics2\x05topic\"\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\"\x8d\x0b\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\x12\x43\n\x12message_transforms\x18\x19 \x03(\x0b\x32\".google.pubsub.v1.MessageTransformB\x03\xe0\x41\x01\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:u\xea\x41r\n\"pubsub.googleapis.com/Subscription\x12/projects/{project}/subscriptions/{subscription}*\rsubscriptions2\x0csubscription\"\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\"\xd6\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:a\xea\x41^\n\x1epubsub.googleapis.com/Snapshot\x12\'projects/{project}/snapshots/{snapshot}*\tsnapshots2\x08snapshot\"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\xa7\x01\n\x14\x63om.google.pubsub.v1B\x0bPubsubProtoP\x01Z2cloud.google.com/go/pubsub/apiv1/pubsubpb;pubsubpb\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,23 @@ 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
|
76
|
+
JavaScriptUDF = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.pubsub.v1.JavaScriptUDF").msgclass
|
77
|
+
MessageTransform = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.pubsub.v1.MessageTransform").msgclass
|
67
78
|
Topic = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.pubsub.v1.Topic").msgclass
|
68
79
|
Topic::State = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.pubsub.v1.Topic.State").enummodule
|
69
80
|
PubsubMessage = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.pubsub.v1.PubsubMessage").msgclass
|
@@ -12,7 +12,7 @@ require 'google/protobuf/empty_pb'
|
|
12
12
|
require 'google/protobuf/timestamp_pb'
|
13
13
|
|
14
14
|
|
15
|
-
descriptor_data = "\n\x1dgoogle/pubsub/v1/schema.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\x1bgoogle/protobuf/empty.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\xbd\x02\n\x06Schema\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12+\n\x04type\x18\x02 \x01(\x0e\x32\x1d.google.pubsub.v1.Schema.Type\x12\x12\n\ndefinition\x18\x03 \x01(\t\x12\x1b\n\x0brevision_id\x18\x04 \x01(\tB\x06\xe0\x41\x05\xe0\x41\x03\x12=\n\x14revision_create_time\x18\x06 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\";\n\x04Type\x12\x14\n\x10TYPE_UNSPECIFIED\x10\x00\x12\x13\n\x0fPROTOCOL_BUFFER\x10\x01\x12\x08\n\x04\x41VRO\x10\x02:F\xea\x41\x43\n\x1cpubsub.googleapis.com/Schema\x12#projects/{project}/schemas/{schema}\"\x8d\x01\n\x13\x43reateSchemaRequest\x12\x34\n\x06parent\x18\x01 \x01(\tB$\xe0\x41\x02\xfa\x41\x1e\x12\x1cpubsub.googleapis.com/Schema\x12-\n\x06schema\x18\x02 \x01(\x0b\x32\x18.google.pubsub.v1.SchemaB\x03\xe0\x41\x02\x12\x11\n\tschema_id\x18\x03 \x01(\t\"r\n\x10GetSchemaRequest\x12\x32\n\x04name\x18\x01 \x01(\tB$\xe0\x41\x02\xfa\x41\x1e\n\x1cpubsub.googleapis.com/Schema\x12*\n\x04view\x18\x02 \x01(\x0e\x32\x1c.google.pubsub.v1.SchemaView\"\xac\x01\n\x12ListSchemasRequest\x12\x43\n\x06parent\x18\x01 \x01(\tB3\xe0\x41\x02\xfa\x41-\n+cloudresourcemanager.googleapis.com/Project\x12*\n\x04view\x18\x02 \x01(\x0e\x32\x1c.google.pubsub.v1.SchemaView\x12\x11\n\tpage_size\x18\x03 \x01(\x05\x12\x12\n\npage_token\x18\x04 \x01(\t\"Y\n\x13ListSchemasResponse\x12)\n\x07schemas\x18\x01 \x03(\x0b\x32\x18.google.pubsub.v1.Schema\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"\xa3\x01\n\x1aListSchemaRevisionsRequest\x12\x32\n\x04name\x18\x01 \x01(\tB$\xe0\x41\x02\xfa\x41\x1e\n\x1cpubsub.googleapis.com/Schema\x12*\n\x04view\x18\x02 \x01(\x0e\x32\x1c.google.pubsub.v1.SchemaView\x12\x11\n\tpage_size\x18\x03 \x01(\x05\x12\x12\n\npage_token\x18\x04 \x01(\t\"a\n\x1bListSchemaRevisionsResponse\x12)\n\x07schemas\x18\x01 \x03(\x0b\x32\x18.google.pubsub.v1.Schema\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"x\n\x13\x43ommitSchemaRequest\x12\x32\n\x04name\x18\x01 \x01(\tB$\xe0\x41\x02\xfa\x41\x1e\n\x1cpubsub.googleapis.com/Schema\x12-\n\x06schema\x18\x02 \x01(\x0b\x32\x18.google.pubsub.v1.SchemaB\x03\xe0\x41\x02\"e\n\x15RollbackSchemaRequest\x12\x32\n\x04name\x18\x01 \x01(\tB$\xe0\x41\x02\xfa\x41\x1e\n\x1cpubsub.googleapis.com/Schema\x12\x18\n\x0brevision_id\x18\x02 \x01(\tB\x03\xe0\x41\x02\"m\n\x1b\x44\x65leteSchemaRevisionRequest\x12\x32\n\x04name\x18\x01 \x01(\tB$\xe0\x41\x02\xfa\x41\x1e\n\x1cpubsub.googleapis.com/Schema\x12\x1a\n\x0brevision_id\x18\x02 \x01(\tB\x05\x18\x01\xe0\x41\x01\"I\n\x13\x44\x65leteSchemaRequest\x12\x32\n\x04name\x18\x01 \x01(\tB$\xe0\x41\x02\xfa\x41\x1e\n\x1cpubsub.googleapis.com/Schema\"\x8b\x01\n\x15ValidateSchemaRequest\x12\x43\n\x06parent\x18\x01 \x01(\tB3\xe0\x41\x02\xfa\x41-\n+cloudresourcemanager.googleapis.com/Project\x12-\n\x06schema\x18\x02 \x01(\x0b\x32\x18.google.pubsub.v1.SchemaB\x03\xe0\x41\x02\"\x18\n\x16ValidateSchemaResponse\"\x8a\x02\n\x16ValidateMessageRequest\x12\x43\n\x06parent\x18\x01 \x01(\tB3\xe0\x41\x02\xfa\x41-\n+cloudresourcemanager.googleapis.com/Project\x12\x31\n\x04name\x18\x02 \x01(\tB!\xfa\x41\x1e\n\x1cpubsub.googleapis.com/SchemaH\x00\x12*\n\x06schema\x18\x03 \x01(\x0b\x32\x18.google.pubsub.v1.SchemaH\x00\x12\x0f\n\x07message\x18\x04 \x01(\x0c\x12,\n\x08\x65ncoding\x18\x05 \x01(\x0e\x32\x1a.google.pubsub.v1.EncodingB\r\n\x0bschema_spec\"\x19\n\x17ValidateMessageResponse*>\n\nSchemaView\x12\x1b\n\x17SCHEMA_VIEW_UNSPECIFIED\x10\x00\x12\t\n\x05\x42\x41SIC\x10\x01\x12\x08\n\x04\x46ULL\x10\x02*:\n\x08\x45ncoding\x12\x18\n\x14\x45NCODING_UNSPECIFIED\x10\x00\x12\x08\n\x04JSON\x10\x01\x12\n\n\x06\x42INARY\x10\x02\x32\x88\r\n\rSchemaService\x12\x9a\x01\n\x0c\x43reateSchema\x12%.google.pubsub.v1.CreateSchemaRequest\x1a\x18.google.pubsub.v1.Schema\"I\xda\x41\x17parent,schema,schema_id\x82\xd3\xe4\x93\x02)\"\x1f/v1/{parent=projects/*}/schemas:\x06schema\x12y\n\tGetSchema\x12\".google.pubsub.v1.GetSchemaRequest\x1a\x18.google.pubsub.v1.Schema\".\xda\x41\x04name\x82\xd3\xe4\x93\x02!\x12\x1f/v1/{name=projects/*/schemas/*}\x12\x8c\x01\n\x0bListSchemas\x12$.google.pubsub.v1.ListSchemasRequest\x1a%.google.pubsub.v1.ListSchemasResponse\"0\xda\x41\x06parent\x82\xd3\xe4\x93\x02!\x12\x1f/v1/{parent=projects/*}/schemas\x12\xb0\x01\n\x13ListSchemaRevisions\x12,.google.pubsub.v1.ListSchemaRevisionsRequest\x1a-.google.pubsub.v1.ListSchemaRevisionsResponse\"<\xda\x41\x04name\x82\xd3\xe4\x93\x02/\x12-/v1/{name=projects/*/schemas/*}:listRevisions\x12\x90\x01\n\x0c\x43ommitSchema\x12%.google.pubsub.v1.CommitSchemaRequest\x1a\x18.google.pubsub.v1.Schema\"?\xda\x41\x0bname,schema\x82\xd3\xe4\x93\x02+\"&/v1/{name=projects/*/schemas/*}:commit:\x01*\x12\x9b\x01\n\x0eRollbackSchema\x12\'.google.pubsub.v1.RollbackSchemaRequest\x1a\x18.google.pubsub.v1.Schema\"F\xda\x41\x10name,revision_id\x82\xd3\xe4\x93\x02-\"(/v1/{name=projects/*/schemas/*}:rollback:\x01*\x12\xaa\x01\n\x14\x44\x65leteSchemaRevision\x12-.google.pubsub.v1.DeleteSchemaRevisionRequest\x1a\x18.google.pubsub.v1.Schema\"I\xda\x41\x10name,revision_id\x82\xd3\xe4\x93\x02\x30*./v1/{name=projects/*/schemas/*}:deleteRevision\x12}\n\x0c\x44\x65leteSchema\x12%.google.pubsub.v1.DeleteSchemaRequest\x1a\x16.google.protobuf.Empty\".\xda\x41\x04name\x82\xd3\xe4\x93\x02!*\x1f/v1/{name=projects/*/schemas/*}\x12\xa8\x01\n\x0eValidateSchema\x12\'.google.pubsub.v1.ValidateSchemaRequest\x1a(.google.pubsub.v1.ValidateSchemaResponse\"C\xda\x41\rparent,schema\x82\xd3\xe4\x93\x02-\"(/v1/{parent=projects/*}/schemas:validate:\x01*\x12\xa2\x01\n\x0fValidateMessage\x12(.google.pubsub.v1.ValidateMessageRequest\x1a).google.pubsub.v1.ValidateMessageResponse\":\x82\xd3\xe4\x93\x02\x34\"//v1/{parent=projects/*}/schemas:validateMessage:\x01*\x1ap\xca\x41\x15pubsub.googleapis.com\xd2\x41Uhttps://www.googleapis.com/auth/cloud-platform,https://www.googleapis.com/auth/pubsubB\
|
15
|
+
descriptor_data = "\n\x1dgoogle/pubsub/v1/schema.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\x1bgoogle/protobuf/empty.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\xbd\x02\n\x06Schema\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12+\n\x04type\x18\x02 \x01(\x0e\x32\x1d.google.pubsub.v1.Schema.Type\x12\x12\n\ndefinition\x18\x03 \x01(\t\x12\x1b\n\x0brevision_id\x18\x04 \x01(\tB\x06\xe0\x41\x05\xe0\x41\x03\x12=\n\x14revision_create_time\x18\x06 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\";\n\x04Type\x12\x14\n\x10TYPE_UNSPECIFIED\x10\x00\x12\x13\n\x0fPROTOCOL_BUFFER\x10\x01\x12\x08\n\x04\x41VRO\x10\x02:F\xea\x41\x43\n\x1cpubsub.googleapis.com/Schema\x12#projects/{project}/schemas/{schema}\"\x8d\x01\n\x13\x43reateSchemaRequest\x12\x34\n\x06parent\x18\x01 \x01(\tB$\xe0\x41\x02\xfa\x41\x1e\x12\x1cpubsub.googleapis.com/Schema\x12-\n\x06schema\x18\x02 \x01(\x0b\x32\x18.google.pubsub.v1.SchemaB\x03\xe0\x41\x02\x12\x11\n\tschema_id\x18\x03 \x01(\t\"r\n\x10GetSchemaRequest\x12\x32\n\x04name\x18\x01 \x01(\tB$\xe0\x41\x02\xfa\x41\x1e\n\x1cpubsub.googleapis.com/Schema\x12*\n\x04view\x18\x02 \x01(\x0e\x32\x1c.google.pubsub.v1.SchemaView\"\xac\x01\n\x12ListSchemasRequest\x12\x43\n\x06parent\x18\x01 \x01(\tB3\xe0\x41\x02\xfa\x41-\n+cloudresourcemanager.googleapis.com/Project\x12*\n\x04view\x18\x02 \x01(\x0e\x32\x1c.google.pubsub.v1.SchemaView\x12\x11\n\tpage_size\x18\x03 \x01(\x05\x12\x12\n\npage_token\x18\x04 \x01(\t\"Y\n\x13ListSchemasResponse\x12)\n\x07schemas\x18\x01 \x03(\x0b\x32\x18.google.pubsub.v1.Schema\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"\xa3\x01\n\x1aListSchemaRevisionsRequest\x12\x32\n\x04name\x18\x01 \x01(\tB$\xe0\x41\x02\xfa\x41\x1e\n\x1cpubsub.googleapis.com/Schema\x12*\n\x04view\x18\x02 \x01(\x0e\x32\x1c.google.pubsub.v1.SchemaView\x12\x11\n\tpage_size\x18\x03 \x01(\x05\x12\x12\n\npage_token\x18\x04 \x01(\t\"a\n\x1bListSchemaRevisionsResponse\x12)\n\x07schemas\x18\x01 \x03(\x0b\x32\x18.google.pubsub.v1.Schema\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"x\n\x13\x43ommitSchemaRequest\x12\x32\n\x04name\x18\x01 \x01(\tB$\xe0\x41\x02\xfa\x41\x1e\n\x1cpubsub.googleapis.com/Schema\x12-\n\x06schema\x18\x02 \x01(\x0b\x32\x18.google.pubsub.v1.SchemaB\x03\xe0\x41\x02\"e\n\x15RollbackSchemaRequest\x12\x32\n\x04name\x18\x01 \x01(\tB$\xe0\x41\x02\xfa\x41\x1e\n\x1cpubsub.googleapis.com/Schema\x12\x18\n\x0brevision_id\x18\x02 \x01(\tB\x03\xe0\x41\x02\"m\n\x1b\x44\x65leteSchemaRevisionRequest\x12\x32\n\x04name\x18\x01 \x01(\tB$\xe0\x41\x02\xfa\x41\x1e\n\x1cpubsub.googleapis.com/Schema\x12\x1a\n\x0brevision_id\x18\x02 \x01(\tB\x05\x18\x01\xe0\x41\x01\"I\n\x13\x44\x65leteSchemaRequest\x12\x32\n\x04name\x18\x01 \x01(\tB$\xe0\x41\x02\xfa\x41\x1e\n\x1cpubsub.googleapis.com/Schema\"\x8b\x01\n\x15ValidateSchemaRequest\x12\x43\n\x06parent\x18\x01 \x01(\tB3\xe0\x41\x02\xfa\x41-\n+cloudresourcemanager.googleapis.com/Project\x12-\n\x06schema\x18\x02 \x01(\x0b\x32\x18.google.pubsub.v1.SchemaB\x03\xe0\x41\x02\"\x18\n\x16ValidateSchemaResponse\"\x8a\x02\n\x16ValidateMessageRequest\x12\x43\n\x06parent\x18\x01 \x01(\tB3\xe0\x41\x02\xfa\x41-\n+cloudresourcemanager.googleapis.com/Project\x12\x31\n\x04name\x18\x02 \x01(\tB!\xfa\x41\x1e\n\x1cpubsub.googleapis.com/SchemaH\x00\x12*\n\x06schema\x18\x03 \x01(\x0b\x32\x18.google.pubsub.v1.SchemaH\x00\x12\x0f\n\x07message\x18\x04 \x01(\x0c\x12,\n\x08\x65ncoding\x18\x05 \x01(\x0e\x32\x1a.google.pubsub.v1.EncodingB\r\n\x0bschema_spec\"\x19\n\x17ValidateMessageResponse*>\n\nSchemaView\x12\x1b\n\x17SCHEMA_VIEW_UNSPECIFIED\x10\x00\x12\t\n\x05\x42\x41SIC\x10\x01\x12\x08\n\x04\x46ULL\x10\x02*:\n\x08\x45ncoding\x12\x18\n\x14\x45NCODING_UNSPECIFIED\x10\x00\x12\x08\n\x04JSON\x10\x01\x12\n\n\x06\x42INARY\x10\x02\x32\x88\r\n\rSchemaService\x12\x9a\x01\n\x0c\x43reateSchema\x12%.google.pubsub.v1.CreateSchemaRequest\x1a\x18.google.pubsub.v1.Schema\"I\xda\x41\x17parent,schema,schema_id\x82\xd3\xe4\x93\x02)\"\x1f/v1/{parent=projects/*}/schemas:\x06schema\x12y\n\tGetSchema\x12\".google.pubsub.v1.GetSchemaRequest\x1a\x18.google.pubsub.v1.Schema\".\xda\x41\x04name\x82\xd3\xe4\x93\x02!\x12\x1f/v1/{name=projects/*/schemas/*}\x12\x8c\x01\n\x0bListSchemas\x12$.google.pubsub.v1.ListSchemasRequest\x1a%.google.pubsub.v1.ListSchemasResponse\"0\xda\x41\x06parent\x82\xd3\xe4\x93\x02!\x12\x1f/v1/{parent=projects/*}/schemas\x12\xb0\x01\n\x13ListSchemaRevisions\x12,.google.pubsub.v1.ListSchemaRevisionsRequest\x1a-.google.pubsub.v1.ListSchemaRevisionsResponse\"<\xda\x41\x04name\x82\xd3\xe4\x93\x02/\x12-/v1/{name=projects/*/schemas/*}:listRevisions\x12\x90\x01\n\x0c\x43ommitSchema\x12%.google.pubsub.v1.CommitSchemaRequest\x1a\x18.google.pubsub.v1.Schema\"?\xda\x41\x0bname,schema\x82\xd3\xe4\x93\x02+\"&/v1/{name=projects/*/schemas/*}:commit:\x01*\x12\x9b\x01\n\x0eRollbackSchema\x12\'.google.pubsub.v1.RollbackSchemaRequest\x1a\x18.google.pubsub.v1.Schema\"F\xda\x41\x10name,revision_id\x82\xd3\xe4\x93\x02-\"(/v1/{name=projects/*/schemas/*}:rollback:\x01*\x12\xaa\x01\n\x14\x44\x65leteSchemaRevision\x12-.google.pubsub.v1.DeleteSchemaRevisionRequest\x1a\x18.google.pubsub.v1.Schema\"I\xda\x41\x10name,revision_id\x82\xd3\xe4\x93\x02\x30*./v1/{name=projects/*/schemas/*}:deleteRevision\x12}\n\x0c\x44\x65leteSchema\x12%.google.pubsub.v1.DeleteSchemaRequest\x1a\x16.google.protobuf.Empty\".\xda\x41\x04name\x82\xd3\xe4\x93\x02!*\x1f/v1/{name=projects/*/schemas/*}\x12\xa8\x01\n\x0eValidateSchema\x12\'.google.pubsub.v1.ValidateSchemaRequest\x1a(.google.pubsub.v1.ValidateSchemaResponse\"C\xda\x41\rparent,schema\x82\xd3\xe4\x93\x02-\"(/v1/{parent=projects/*}/schemas:validate:\x01*\x12\xa2\x01\n\x0fValidateMessage\x12(.google.pubsub.v1.ValidateMessageRequest\x1a).google.pubsub.v1.ValidateMessageResponse\":\x82\xd3\xe4\x93\x02\x34\"//v1/{parent=projects/*}/schemas:validateMessage:\x01*\x1ap\xca\x41\x15pubsub.googleapis.com\xd2\x41Uhttps://www.googleapis.com/auth/cloud-platform,https://www.googleapis.com/auth/pubsubB\xa7\x01\n\x14\x63om.google.pubsub.v1B\x0bSchemaProtoP\x01Z2cloud.google.com/go/pubsub/apiv1/pubsubpb;pubsubpb\xaa\x02\x16Google.Cloud.PubSub.V1\xca\x02\x16Google\\Cloud\\PubSub\\V1\xea\x02\x19Google::Cloud::PubSub::V1b\x06proto3"
|
16
16
|
|
17
17
|
pool = Google::Protobuf::DescriptorPool.generated_pool
|
18
18
|
|
@@ -221,6 +221,12 @@ module Google
|
|
221
221
|
# Pythonic which are included in `protobuf>=5.29.x`. This feature will be
|
222
222
|
# enabled by default 1 month after launching the feature in preview
|
223
223
|
# packages.
|
224
|
+
# @!attribute [rw] unversioned_package_disabled
|
225
|
+
# @return [::Boolean]
|
226
|
+
# Disables generation of an unversioned Python package for this client
|
227
|
+
# library. This means that the module names will need to be versioned in
|
228
|
+
# import statements. For example `import google.cloud.library_v2` instead
|
229
|
+
# of `import google.cloud.library`.
|
224
230
|
class ExperimentalFeatures
|
225
231
|
include ::Google::Protobuf::MessageExts
|
226
232
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -409,6 +415,14 @@ module Google
|
|
409
415
|
# @return [::Array<::String>]
|
410
416
|
# An allowlist of the fully qualified names of RPCs that should be included
|
411
417
|
# on public client surfaces.
|
418
|
+
# @!attribute [rw] generate_omitted_as_internal
|
419
|
+
# @return [::Boolean]
|
420
|
+
# Setting this to true indicates to the client generators that methods
|
421
|
+
# that would be excluded from the generation should instead be generated
|
422
|
+
# in a way that indicates these methods should not be consumed by
|
423
|
+
# end users. How this is expressed is up to individual language
|
424
|
+
# implementations to decide. Some examples may be: added annotations,
|
425
|
+
# obfuscated identifiers, or other language idiomatic patterns.
|
412
426
|
class SelectiveGapicGeneration
|
413
427
|
include ::Google::Protobuf::MessageExts
|
414
428
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -71,9 +71,28 @@ module Google
|
|
71
71
|
# @!attribute [rw] aws_kinesis
|
72
72
|
# @return [::Google::Cloud::PubSub::V1::IngestionDataSourceSettings::AwsKinesis]
|
73
73
|
# Optional. Amazon Kinesis Data Streams.
|
74
|
+
#
|
75
|
+
# Note: The following fields are mutually exclusive: `aws_kinesis`, `cloud_storage`, `azure_event_hubs`, `aws_msk`, `confluent_cloud`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
74
76
|
# @!attribute [rw] cloud_storage
|
75
77
|
# @return [::Google::Cloud::PubSub::V1::IngestionDataSourceSettings::CloudStorage]
|
76
78
|
# Optional. Cloud Storage.
|
79
|
+
#
|
80
|
+
# Note: The following fields are mutually exclusive: `cloud_storage`, `aws_kinesis`, `azure_event_hubs`, `aws_msk`, `confluent_cloud`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
81
|
+
# @!attribute [rw] azure_event_hubs
|
82
|
+
# @return [::Google::Cloud::PubSub::V1::IngestionDataSourceSettings::AzureEventHubs]
|
83
|
+
# Optional. Azure Event Hubs.
|
84
|
+
#
|
85
|
+
# Note: The following fields are mutually exclusive: `azure_event_hubs`, `aws_kinesis`, `cloud_storage`, `aws_msk`, `confluent_cloud`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
86
|
+
# @!attribute [rw] aws_msk
|
87
|
+
# @return [::Google::Cloud::PubSub::V1::IngestionDataSourceSettings::AwsMsk]
|
88
|
+
# Optional. Amazon MSK.
|
89
|
+
#
|
90
|
+
# Note: The following fields are mutually exclusive: `aws_msk`, `aws_kinesis`, `cloud_storage`, `azure_event_hubs`, `confluent_cloud`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
91
|
+
# @!attribute [rw] confluent_cloud
|
92
|
+
# @return [::Google::Cloud::PubSub::V1::IngestionDataSourceSettings::ConfluentCloud]
|
93
|
+
# Optional. Confluent Cloud.
|
94
|
+
#
|
95
|
+
# Note: The following fields are mutually exclusive: `confluent_cloud`, `aws_kinesis`, `cloud_storage`, `azure_event_hubs`, `aws_msk`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
77
96
|
# @!attribute [rw] platform_logs_settings
|
78
97
|
# @return [::Google::Cloud::PubSub::V1::PlatformLogsSettings]
|
79
98
|
# Optional. Platform Logs settings. If unset, no Platform Logs will be
|
@@ -154,14 +173,20 @@ module Google
|
|
154
173
|
# @!attribute [rw] text_format
|
155
174
|
# @return [::Google::Cloud::PubSub::V1::IngestionDataSourceSettings::CloudStorage::TextFormat]
|
156
175
|
# Optional. Data from Cloud Storage will be interpreted as text.
|
176
|
+
#
|
177
|
+
# Note: The following fields are mutually exclusive: `text_format`, `avro_format`, `pubsub_avro_format`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
157
178
|
# @!attribute [rw] avro_format
|
158
179
|
# @return [::Google::Cloud::PubSub::V1::IngestionDataSourceSettings::CloudStorage::AvroFormat]
|
159
180
|
# Optional. Data from Cloud Storage will be interpreted in Avro format.
|
181
|
+
#
|
182
|
+
# Note: The following fields are mutually exclusive: `avro_format`, `text_format`, `pubsub_avro_format`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
160
183
|
# @!attribute [rw] pubsub_avro_format
|
161
184
|
# @return [::Google::Cloud::PubSub::V1::IngestionDataSourceSettings::CloudStorage::PubSubAvroFormat]
|
162
185
|
# Optional. It will be assumed data from Cloud Storage was written via
|
163
186
|
# [Cloud Storage
|
164
187
|
# subscriptions](https://cloud.google.com/pubsub/docs/cloudstorage).
|
188
|
+
#
|
189
|
+
# Note: The following fields are mutually exclusive: `pubsub_avro_format`, `text_format`, `avro_format`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
165
190
|
# @!attribute [rw] minimum_object_create_time
|
166
191
|
# @return [::Google::Protobuf::Timestamp]
|
167
192
|
# Optional. Only objects with a larger or equal creation timestamp will be
|
@@ -233,6 +258,173 @@ module Google
|
|
233
258
|
TOO_MANY_OBJECTS = 5
|
234
259
|
end
|
235
260
|
end
|
261
|
+
|
262
|
+
# Ingestion settings for Azure Event Hubs.
|
263
|
+
# @!attribute [r] state
|
264
|
+
# @return [::Google::Cloud::PubSub::V1::IngestionDataSourceSettings::AzureEventHubs::State]
|
265
|
+
# Output only. An output-only field that indicates the state of the Event
|
266
|
+
# Hubs ingestion source.
|
267
|
+
# @!attribute [rw] resource_group
|
268
|
+
# @return [::String]
|
269
|
+
# Optional. Name of the resource group within the azure subscription.
|
270
|
+
# @!attribute [rw] namespace
|
271
|
+
# @return [::String]
|
272
|
+
# Optional. The name of the Event Hubs namespace.
|
273
|
+
# @!attribute [rw] event_hub
|
274
|
+
# @return [::String]
|
275
|
+
# Optional. The name of the Event Hub.
|
276
|
+
# @!attribute [rw] client_id
|
277
|
+
# @return [::String]
|
278
|
+
# Optional. The client id of the Azure application that is being used to
|
279
|
+
# authenticate Pub/Sub.
|
280
|
+
# @!attribute [rw] tenant_id
|
281
|
+
# @return [::String]
|
282
|
+
# Optional. The tenant id of the Azure application that is being used to
|
283
|
+
# authenticate Pub/Sub.
|
284
|
+
# @!attribute [rw] subscription_id
|
285
|
+
# @return [::String]
|
286
|
+
# Optional. The Azure subscription id.
|
287
|
+
# @!attribute [rw] gcp_service_account
|
288
|
+
# @return [::String]
|
289
|
+
# Optional. The GCP service account to be used for Federated Identity
|
290
|
+
# authentication.
|
291
|
+
class AzureEventHubs
|
292
|
+
include ::Google::Protobuf::MessageExts
|
293
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
294
|
+
|
295
|
+
# Possible states for managed ingestion from Event Hubs.
|
296
|
+
module State
|
297
|
+
# Default value. This value is unused.
|
298
|
+
STATE_UNSPECIFIED = 0
|
299
|
+
|
300
|
+
# Ingestion is active.
|
301
|
+
ACTIVE = 1
|
302
|
+
|
303
|
+
# Permission denied encountered while consuming data from Event Hubs.
|
304
|
+
# This can happen when `client_id`, or `tenant_id` are invalid. Or the
|
305
|
+
# right permissions haven't been granted.
|
306
|
+
EVENT_HUBS_PERMISSION_DENIED = 2
|
307
|
+
|
308
|
+
# Permission denied encountered while publishing to the topic.
|
309
|
+
PUBLISH_PERMISSION_DENIED = 3
|
310
|
+
|
311
|
+
# The provided Event Hubs namespace couldn't be found.
|
312
|
+
NAMESPACE_NOT_FOUND = 4
|
313
|
+
|
314
|
+
# The provided Event Hub couldn't be found.
|
315
|
+
EVENT_HUB_NOT_FOUND = 5
|
316
|
+
|
317
|
+
# The provided Event Hubs subscription couldn't be found.
|
318
|
+
SUBSCRIPTION_NOT_FOUND = 6
|
319
|
+
|
320
|
+
# The provided Event Hubs resource group couldn't be found.
|
321
|
+
RESOURCE_GROUP_NOT_FOUND = 7
|
322
|
+
end
|
323
|
+
end
|
324
|
+
|
325
|
+
# Ingestion settings for Amazon MSK.
|
326
|
+
# @!attribute [r] state
|
327
|
+
# @return [::Google::Cloud::PubSub::V1::IngestionDataSourceSettings::AwsMsk::State]
|
328
|
+
# Output only. An output-only field that indicates the state of the Amazon
|
329
|
+
# MSK ingestion source.
|
330
|
+
# @!attribute [rw] cluster_arn
|
331
|
+
# @return [::String]
|
332
|
+
# Required. The Amazon Resource Name (ARN) that uniquely identifies the
|
333
|
+
# cluster.
|
334
|
+
# @!attribute [rw] topic
|
335
|
+
# @return [::String]
|
336
|
+
# Required. The name of the topic in the Amazon MSK cluster that Pub/Sub
|
337
|
+
# will import from.
|
338
|
+
# @!attribute [rw] aws_role_arn
|
339
|
+
# @return [::String]
|
340
|
+
# Required. AWS role ARN to be used for Federated Identity authentication
|
341
|
+
# with Amazon MSK. Check the Pub/Sub docs for how to set up this role and
|
342
|
+
# the required permissions that need to be attached to it.
|
343
|
+
# @!attribute [rw] gcp_service_account
|
344
|
+
# @return [::String]
|
345
|
+
# Required. The GCP service account to be used for Federated Identity
|
346
|
+
# authentication with Amazon MSK (via a `AssumeRoleWithWebIdentity` call
|
347
|
+
# for the provided role). The `aws_role_arn` must be set up with
|
348
|
+
# `accounts.google.com:sub` equals to this service account number.
|
349
|
+
class AwsMsk
|
350
|
+
include ::Google::Protobuf::MessageExts
|
351
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
352
|
+
|
353
|
+
# Possible states for managed ingestion from Amazon MSK.
|
354
|
+
module State
|
355
|
+
# Default value. This value is unused.
|
356
|
+
STATE_UNSPECIFIED = 0
|
357
|
+
|
358
|
+
# Ingestion is active.
|
359
|
+
ACTIVE = 1
|
360
|
+
|
361
|
+
# Permission denied encountered while consuming data from Amazon MSK.
|
362
|
+
MSK_PERMISSION_DENIED = 2
|
363
|
+
|
364
|
+
# Permission denied encountered while publishing to the topic.
|
365
|
+
PUBLISH_PERMISSION_DENIED = 3
|
366
|
+
|
367
|
+
# The provided MSK cluster wasn't found.
|
368
|
+
CLUSTER_NOT_FOUND = 4
|
369
|
+
|
370
|
+
# The provided topic wasn't found.
|
371
|
+
TOPIC_NOT_FOUND = 5
|
372
|
+
end
|
373
|
+
end
|
374
|
+
|
375
|
+
# Ingestion settings for Confluent Cloud.
|
376
|
+
# @!attribute [r] state
|
377
|
+
# @return [::Google::Cloud::PubSub::V1::IngestionDataSourceSettings::ConfluentCloud::State]
|
378
|
+
# Output only. An output-only field that indicates the state of the
|
379
|
+
# Confluent Cloud ingestion source.
|
380
|
+
# @!attribute [rw] bootstrap_server
|
381
|
+
# @return [::String]
|
382
|
+
# Required. The address of the bootstrap server. The format is url:port.
|
383
|
+
# @!attribute [rw] cluster_id
|
384
|
+
# @return [::String]
|
385
|
+
# Required. The id of the cluster.
|
386
|
+
# @!attribute [rw] topic
|
387
|
+
# @return [::String]
|
388
|
+
# Required. The name of the topic in the Confluent Cloud cluster that
|
389
|
+
# Pub/Sub will import from.
|
390
|
+
# @!attribute [rw] identity_pool_id
|
391
|
+
# @return [::String]
|
392
|
+
# Required. The id of the identity pool to be used for Federated Identity
|
393
|
+
# authentication with Confluent Cloud. See
|
394
|
+
# https://docs.confluent.io/cloud/current/security/authenticate/workload-identities/identity-providers/oauth/identity-pools.html#add-oauth-identity-pools.
|
395
|
+
# @!attribute [rw] gcp_service_account
|
396
|
+
# @return [::String]
|
397
|
+
# Required. The GCP service account to be used for Federated Identity
|
398
|
+
# authentication with `identity_pool_id`.
|
399
|
+
class ConfluentCloud
|
400
|
+
include ::Google::Protobuf::MessageExts
|
401
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
402
|
+
|
403
|
+
# Possible states for managed ingestion from Confluent Cloud.
|
404
|
+
module State
|
405
|
+
# Default value. This value is unused.
|
406
|
+
STATE_UNSPECIFIED = 0
|
407
|
+
|
408
|
+
# Ingestion is active.
|
409
|
+
ACTIVE = 1
|
410
|
+
|
411
|
+
# Permission denied encountered while consuming data from Confluent
|
412
|
+
# Cloud.
|
413
|
+
CONFLUENT_CLOUD_PERMISSION_DENIED = 2
|
414
|
+
|
415
|
+
# Permission denied encountered while publishing to the topic.
|
416
|
+
PUBLISH_PERMISSION_DENIED = 3
|
417
|
+
|
418
|
+
# The provided bootstrap server address is unreachable.
|
419
|
+
UNREACHABLE_BOOTSTRAP_SERVER = 4
|
420
|
+
|
421
|
+
# The provided cluster wasn't found.
|
422
|
+
CLUSTER_NOT_FOUND = 5
|
423
|
+
|
424
|
+
# The provided topic wasn't found.
|
425
|
+
TOPIC_NOT_FOUND = 6
|
426
|
+
end
|
427
|
+
end
|
236
428
|
end
|
237
429
|
|
238
430
|
# Settings for Platform Logs produced by Pub/Sub.
|
@@ -277,6 +469,23 @@ module Google
|
|
277
469
|
# @!attribute [rw] cloud_storage_failure
|
278
470
|
# @return [::Google::Cloud::PubSub::V1::IngestionFailureEvent::CloudStorageFailure]
|
279
471
|
# Optional. Failure when ingesting from Cloud Storage.
|
472
|
+
#
|
473
|
+
# Note: The following fields are mutually exclusive: `cloud_storage_failure`, `aws_msk_failure`, `azure_event_hubs_failure`, `confluent_cloud_failure`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
474
|
+
# @!attribute [rw] aws_msk_failure
|
475
|
+
# @return [::Google::Cloud::PubSub::V1::IngestionFailureEvent::AwsMskFailureReason]
|
476
|
+
# Optional. Failure when ingesting from Amazon MSK.
|
477
|
+
#
|
478
|
+
# Note: The following fields are mutually exclusive: `aws_msk_failure`, `cloud_storage_failure`, `azure_event_hubs_failure`, `confluent_cloud_failure`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
479
|
+
# @!attribute [rw] azure_event_hubs_failure
|
480
|
+
# @return [::Google::Cloud::PubSub::V1::IngestionFailureEvent::AzureEventHubsFailureReason]
|
481
|
+
# Optional. Failure when ingesting from Azure Event Hubs.
|
482
|
+
#
|
483
|
+
# Note: The following fields are mutually exclusive: `azure_event_hubs_failure`, `cloud_storage_failure`, `aws_msk_failure`, `confluent_cloud_failure`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
484
|
+
# @!attribute [rw] confluent_cloud_failure
|
485
|
+
# @return [::Google::Cloud::PubSub::V1::IngestionFailureEvent::ConfluentCloudFailureReason]
|
486
|
+
# Optional. Failure when ingesting from Confluent Cloud.
|
487
|
+
#
|
488
|
+
# Note: The following fields are mutually exclusive: `confluent_cloud_failure`, `cloud_storage_failure`, `aws_msk_failure`, `azure_event_hubs_failure`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
280
489
|
class IngestionFailureEvent
|
281
490
|
include ::Google::Protobuf::MessageExts
|
282
491
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -316,14 +525,149 @@ module Google
|
|
316
525
|
# @!attribute [rw] avro_failure_reason
|
317
526
|
# @return [::Google::Cloud::PubSub::V1::IngestionFailureEvent::AvroFailureReason]
|
318
527
|
# Optional. Failure encountered when parsing an Avro file.
|
528
|
+
#
|
529
|
+
# Note: The following fields are mutually exclusive: `avro_failure_reason`, `api_violation_reason`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
319
530
|
# @!attribute [rw] api_violation_reason
|
320
531
|
# @return [::Google::Cloud::PubSub::V1::IngestionFailureEvent::ApiViolationReason]
|
321
532
|
# Optional. The Pub/Sub API limits prevented the desired message from
|
322
533
|
# being published.
|
534
|
+
#
|
535
|
+
# Note: The following fields are mutually exclusive: `api_violation_reason`, `avro_failure_reason`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
323
536
|
class CloudStorageFailure
|
324
537
|
include ::Google::Protobuf::MessageExts
|
325
538
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
326
539
|
end
|
540
|
+
|
541
|
+
# Failure when ingesting from an Amazon MSK source.
|
542
|
+
# @!attribute [rw] cluster_arn
|
543
|
+
# @return [::String]
|
544
|
+
# Optional. The ARN of the cluster of the topic being ingested from.
|
545
|
+
# @!attribute [rw] kafka_topic
|
546
|
+
# @return [::String]
|
547
|
+
# Optional. The name of the Kafka topic being ingested from.
|
548
|
+
# @!attribute [rw] partition_id
|
549
|
+
# @return [::Integer]
|
550
|
+
# Optional. The partition ID of the message that failed to be ingested.
|
551
|
+
# @!attribute [rw] offset
|
552
|
+
# @return [::Integer]
|
553
|
+
# Optional. The offset within the partition of the message that failed to
|
554
|
+
# be ingested.
|
555
|
+
# @!attribute [rw] api_violation_reason
|
556
|
+
# @return [::Google::Cloud::PubSub::V1::IngestionFailureEvent::ApiViolationReason]
|
557
|
+
# Optional. The Pub/Sub API limits prevented the desired message from
|
558
|
+
# being published.
|
559
|
+
class AwsMskFailureReason
|
560
|
+
include ::Google::Protobuf::MessageExts
|
561
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
562
|
+
end
|
563
|
+
|
564
|
+
# Failure when ingesting from an Azure Event Hubs source.
|
565
|
+
# @!attribute [rw] namespace
|
566
|
+
# @return [::String]
|
567
|
+
# Optional. The namespace containing the event hub being ingested from.
|
568
|
+
# @!attribute [rw] event_hub
|
569
|
+
# @return [::String]
|
570
|
+
# Optional. The name of the event hub being ingested from.
|
571
|
+
# @!attribute [rw] partition_id
|
572
|
+
# @return [::Integer]
|
573
|
+
# Optional. The partition ID of the message that failed to be ingested.
|
574
|
+
# @!attribute [rw] offset
|
575
|
+
# @return [::Integer]
|
576
|
+
# Optional. The offset within the partition of the message that failed to
|
577
|
+
# be ingested.
|
578
|
+
# @!attribute [rw] api_violation_reason
|
579
|
+
# @return [::Google::Cloud::PubSub::V1::IngestionFailureEvent::ApiViolationReason]
|
580
|
+
# Optional. The Pub/Sub API limits prevented the desired message from
|
581
|
+
# being published.
|
582
|
+
class AzureEventHubsFailureReason
|
583
|
+
include ::Google::Protobuf::MessageExts
|
584
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
585
|
+
end
|
586
|
+
|
587
|
+
# Failure when ingesting from a Confluent Cloud source.
|
588
|
+
# @!attribute [rw] cluster_id
|
589
|
+
# @return [::String]
|
590
|
+
# Optional. The cluster ID containing the topic being ingested from.
|
591
|
+
# @!attribute [rw] kafka_topic
|
592
|
+
# @return [::String]
|
593
|
+
# Optional. The name of the Kafka topic being ingested from.
|
594
|
+
# @!attribute [rw] partition_id
|
595
|
+
# @return [::Integer]
|
596
|
+
# Optional. The partition ID of the message that failed to be ingested.
|
597
|
+
# @!attribute [rw] offset
|
598
|
+
# @return [::Integer]
|
599
|
+
# Optional. The offset within the partition of the message that failed to
|
600
|
+
# be ingested.
|
601
|
+
# @!attribute [rw] api_violation_reason
|
602
|
+
# @return [::Google::Cloud::PubSub::V1::IngestionFailureEvent::ApiViolationReason]
|
603
|
+
# Optional. The Pub/Sub API limits prevented the desired message from
|
604
|
+
# being published.
|
605
|
+
class ConfluentCloudFailureReason
|
606
|
+
include ::Google::Protobuf::MessageExts
|
607
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
608
|
+
end
|
609
|
+
end
|
610
|
+
|
611
|
+
# User-defined JavaScript function that can transform or filter a Pub/Sub
|
612
|
+
# message.
|
613
|
+
# @!attribute [rw] function_name
|
614
|
+
# @return [::String]
|
615
|
+
# Required. Name of the JavasScript function that should applied to Pub/Sub
|
616
|
+
# messages.
|
617
|
+
# @!attribute [rw] code
|
618
|
+
# @return [::String]
|
619
|
+
# Required. JavaScript code that contains a function `function_name` with the
|
620
|
+
# below signature:
|
621
|
+
#
|
622
|
+
# ```
|
623
|
+
# /**
|
624
|
+
# * Transforms a Pub/Sub message.
|
625
|
+
#
|
626
|
+
# * @return \\{(Object<string, (string | Object<string, string>)>|null)} - To
|
627
|
+
# * filter a message, return `null`. To transform a message return a map
|
628
|
+
# * with the following keys:
|
629
|
+
# * - (required) 'data' : \\{string}
|
630
|
+
# * - (optional) 'attributes' : \\{Object<string, string>}
|
631
|
+
# * Returning empty `attributes` will remove all attributes from the
|
632
|
+
# * message.
|
633
|
+
# *
|
634
|
+
# * @param \\{(Object<string, (string | Object<string, string>)>} Pub/Sub
|
635
|
+
# * message. Keys:
|
636
|
+
# * - (required) 'data' : \\{string}
|
637
|
+
# * - (required) 'attributes' : \\{Object<string, string>}
|
638
|
+
# *
|
639
|
+
# * @param \\{Object<string, any>} metadata - Pub/Sub message metadata.
|
640
|
+
# * Keys:
|
641
|
+
# * - (optional) 'message_id' : \\{string}
|
642
|
+
# * - (optional) 'publish_time': \\{string} YYYY-MM-DDTHH:MM:SSZ format
|
643
|
+
# * - (optional) 'ordering_key': \\{string}
|
644
|
+
# */
|
645
|
+
#
|
646
|
+
# function <function_name>(message, metadata) {
|
647
|
+
# }
|
648
|
+
# ```
|
649
|
+
class JavaScriptUDF
|
650
|
+
include ::Google::Protobuf::MessageExts
|
651
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
652
|
+
end
|
653
|
+
|
654
|
+
# All supported message transforms types.
|
655
|
+
# @!attribute [rw] javascript_udf
|
656
|
+
# @return [::Google::Cloud::PubSub::V1::JavaScriptUDF]
|
657
|
+
# Optional. JavaScript User Defined Function. If multiple JavaScriptUDF's
|
658
|
+
# are specified on a resource, each must have a unique `function_name`.
|
659
|
+
# @!attribute [rw] enabled
|
660
|
+
# @deprecated This field is deprecated and may be removed in the next major version update.
|
661
|
+
# @return [::Boolean]
|
662
|
+
# Optional. This field is deprecated, use the `disabled` field to disable
|
663
|
+
# transforms.
|
664
|
+
# @!attribute [rw] disabled
|
665
|
+
# @return [::Boolean]
|
666
|
+
# Optional. If true, the transform is disabled and will not be applied to
|
667
|
+
# messages. Defaults to `false`.
|
668
|
+
class MessageTransform
|
669
|
+
include ::Google::Protobuf::MessageExts
|
670
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
327
671
|
end
|
328
672
|
|
329
673
|
# A topic resource.
|
@@ -374,6 +718,10 @@ module Google
|
|
374
718
|
# @!attribute [rw] ingestion_data_source_settings
|
375
719
|
# @return [::Google::Cloud::PubSub::V1::IngestionDataSourceSettings]
|
376
720
|
# Optional. Settings for ingestion from a data source into this topic.
|
721
|
+
# @!attribute [rw] message_transforms
|
722
|
+
# @return [::Array<::Google::Cloud::PubSub::V1::MessageTransform>]
|
723
|
+
# Optional. Transforms to be applied to messages published to the topic.
|
724
|
+
# Transforms are applied in the order specified.
|
377
725
|
class Topic
|
378
726
|
include ::Google::Protobuf::MessageExts
|
379
727
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -774,12 +1122,16 @@ module Google
|
|
774
1122
|
# @return [::Google::Cloud::PubSub::V1::Subscription::AnalyticsHubSubscriptionInfo]
|
775
1123
|
# Output only. Information about the associated Analytics Hub subscription.
|
776
1124
|
# Only set if the subscritpion is created by Analytics Hub.
|
1125
|
+
# @!attribute [rw] message_transforms
|
1126
|
+
# @return [::Array<::Google::Cloud::PubSub::V1::MessageTransform>]
|
1127
|
+
# Optional. Transforms to be applied to messages before they are delivered to
|
1128
|
+
# subscribers. Transforms are applied in the order specified.
|
777
1129
|
class Subscription
|
778
1130
|
include ::Google::Protobuf::MessageExts
|
779
1131
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
780
1132
|
|
781
|
-
# Information about an associated Analytics Hub
|
782
|
-
# (https://cloud.google.com/bigquery/docs/analytics-hub-manage-subscriptions).
|
1133
|
+
# Information about an associated [Analytics Hub
|
1134
|
+
# subscription](https://cloud.google.com/bigquery/docs/analytics-hub-manage-subscriptions).
|
783
1135
|
# @!attribute [rw] listing
|
784
1136
|
# @return [::String]
|
785
1137
|
# Optional. The name of the associated Analytics Hub listing resource.
|
@@ -933,9 +1285,13 @@ module Google
|
|
933
1285
|
# Optional. When set, the payload to the push endpoint is in the form of
|
934
1286
|
# the JSON representation of a PubsubMessage
|
935
1287
|
# (https://cloud.google.com/pubsub/docs/reference/rpc/google.pubsub.v1#pubsubmessage).
|
1288
|
+
#
|
1289
|
+
# Note: The following fields are mutually exclusive: `pubsub_wrapper`, `no_wrapper`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
936
1290
|
# @!attribute [rw] no_wrapper
|
937
1291
|
# @return [::Google::Cloud::PubSub::V1::PushConfig::NoWrapper]
|
938
1292
|
# Optional. When set, the payload to the push endpoint is not wrapped.
|
1293
|
+
#
|
1294
|
+
# Note: The following fields are mutually exclusive: `no_wrapper`, `pubsub_wrapper`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
939
1295
|
class PushConfig
|
940
1296
|
include ::Google::Protobuf::MessageExts
|
941
1297
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -1091,10 +1447,14 @@ module Google
|
|
1091
1447
|
# @return [::Google::Cloud::PubSub::V1::CloudStorageConfig::TextConfig]
|
1092
1448
|
# Optional. If set, message data will be written to Cloud Storage in text
|
1093
1449
|
# format.
|
1450
|
+
#
|
1451
|
+
# Note: The following fields are mutually exclusive: `text_config`, `avro_config`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
1094
1452
|
# @!attribute [rw] avro_config
|
1095
1453
|
# @return [::Google::Cloud::PubSub::V1::CloudStorageConfig::AvroConfig]
|
1096
1454
|
# Optional. If set, message data will be written to Cloud Storage in Avro
|
1097
1455
|
# format.
|
1456
|
+
#
|
1457
|
+
# Note: The following fields are mutually exclusive: `avro_config`, `text_config`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
1098
1458
|
# @!attribute [rw] max_duration
|
1099
1459
|
# @return [::Google::Protobuf::Duration]
|
1100
1460
|
# Optional. The maximum duration that can elapse before a new Cloud Storage
|
@@ -1680,11 +2040,15 @@ module Google
|
|
1680
2040
|
# window (or to a point before the system's notion of the subscription
|
1681
2041
|
# creation time), only retained messages will be marked as unacknowledged,
|
1682
2042
|
# and already-expunged messages will not be restored.
|
2043
|
+
#
|
2044
|
+
# Note: The following fields are mutually exclusive: `time`, `snapshot`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
1683
2045
|
# @!attribute [rw] snapshot
|
1684
2046
|
# @return [::String]
|
1685
2047
|
# Optional. The snapshot to seek to. The snapshot's topic must be the same
|
1686
2048
|
# as that of the provided subscription. Format is
|
1687
2049
|
# `projects/{project}/snapshots/{snap}`.
|
2050
|
+
#
|
2051
|
+
# Note: The following fields are mutually exclusive: `snapshot`, `time`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
1688
2052
|
class SeekRequest
|
1689
2053
|
include ::Google::Protobuf::MessageExts
|
1690
2054
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -251,9 +251,13 @@ module Google
|
|
251
251
|
# Name of the schema against which to validate.
|
252
252
|
#
|
253
253
|
# Format is `projects/{project}/schemas/{schema}`.
|
254
|
+
#
|
255
|
+
# Note: The following fields are mutually exclusive: `name`, `schema`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
254
256
|
# @!attribute [rw] schema
|
255
257
|
# @return [::Google::Cloud::PubSub::V1::Schema]
|
256
258
|
# Ad-hoc schema against which to validate
|
259
|
+
#
|
260
|
+
# Note: The following fields are mutually exclusive: `schema`, `name`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
257
261
|
# @!attribute [rw] message
|
258
262
|
# @return [::String]
|
259
263
|
# Message to validate against the provided `schema_spec`.
|
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.8.1
|
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-04-18 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.25.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.25.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
|
@@ -126,15 +124,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
126
124
|
requirements:
|
127
125
|
- - ">="
|
128
126
|
- !ruby/object:Gem::Version
|
129
|
-
version: '
|
127
|
+
version: '3.0'
|
130
128
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
131
129
|
requirements:
|
132
130
|
- - ">="
|
133
131
|
- !ruby/object:Gem::Version
|
134
132
|
version: '0'
|
135
133
|
requirements: []
|
136
|
-
rubygems_version: 3.5
|
137
|
-
signing_key:
|
134
|
+
rubygems_version: 3.6.5
|
138
135
|
specification_version: 4
|
139
136
|
summary: Provides reliable, many-to-many, asynchronous messaging between applications.
|
140
137
|
test_files: []
|