google-cloud-pubsub 2.25.2__tar.gz → 2.26.0__tar.gz
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.
- {google_cloud_pubsub-2.25.2/google_cloud_pubsub.egg-info → google_cloud_pubsub-2.26.0}/PKG-INFO +1 -1
- {google_cloud_pubsub-2.25.2 → google_cloud_pubsub-2.26.0}/google/pubsub/__init__.py +2 -0
- {google_cloud_pubsub-2.25.2/google/pubsub_v1 → google_cloud_pubsub-2.26.0/google/pubsub}/gapic_version.py +1 -1
- {google_cloud_pubsub-2.25.2 → google_cloud_pubsub-2.26.0}/google/pubsub_v1/__init__.py +2 -0
- {google_cloud_pubsub-2.25.2/google/pubsub → google_cloud_pubsub-2.26.0/google/pubsub_v1}/gapic_version.py +1 -1
- {google_cloud_pubsub-2.25.2 → google_cloud_pubsub-2.26.0}/google/pubsub_v1/types/__init__.py +2 -0
- {google_cloud_pubsub-2.25.2 → google_cloud_pubsub-2.26.0}/google/pubsub_v1/types/pubsub.py +263 -1
- {google_cloud_pubsub-2.25.2 → google_cloud_pubsub-2.26.0/google_cloud_pubsub.egg-info}/PKG-INFO +1 -1
- {google_cloud_pubsub-2.25.2 → google_cloud_pubsub-2.26.0}/scripts/fixup_pubsub_v1_keywords.py +1 -1
- {google_cloud_pubsub-2.25.2 → google_cloud_pubsub-2.26.0}/LICENSE +0 -0
- {google_cloud_pubsub-2.25.2 → google_cloud_pubsub-2.26.0}/MANIFEST.in +0 -0
- {google_cloud_pubsub-2.25.2 → google_cloud_pubsub-2.26.0}/README.rst +0 -0
- {google_cloud_pubsub-2.25.2 → google_cloud_pubsub-2.26.0}/google/cloud/pubsub/__init__.py +0 -0
- {google_cloud_pubsub-2.25.2 → google_cloud_pubsub-2.26.0}/google/cloud/pubsub_v1/__init__.py +0 -0
- {google_cloud_pubsub-2.25.2 → google_cloud_pubsub-2.26.0}/google/cloud/pubsub_v1/exceptions.py +0 -0
- {google_cloud_pubsub-2.25.2 → google_cloud_pubsub-2.26.0}/google/cloud/pubsub_v1/futures.py +0 -0
- {google_cloud_pubsub-2.25.2 → google_cloud_pubsub-2.26.0}/google/cloud/pubsub_v1/open_telemetry/__init__.py +0 -0
- {google_cloud_pubsub-2.25.2 → google_cloud_pubsub-2.26.0}/google/cloud/pubsub_v1/open_telemetry/context_propagation.py +0 -0
- {google_cloud_pubsub-2.25.2 → google_cloud_pubsub-2.26.0}/google/cloud/pubsub_v1/open_telemetry/publish_message_wrapper.py +0 -0
- {google_cloud_pubsub-2.25.2 → google_cloud_pubsub-2.26.0}/google/cloud/pubsub_v1/open_telemetry/subscribe_opentelemetry.py +0 -0
- {google_cloud_pubsub-2.25.2 → google_cloud_pubsub-2.26.0}/google/cloud/pubsub_v1/proto/pubsub.proto +0 -0
- {google_cloud_pubsub-2.25.2 → google_cloud_pubsub-2.26.0}/google/cloud/pubsub_v1/proto/schema.proto +0 -0
- {google_cloud_pubsub-2.25.2 → google_cloud_pubsub-2.26.0}/google/cloud/pubsub_v1/publisher/__init__.py +0 -0
- {google_cloud_pubsub-2.25.2 → google_cloud_pubsub-2.26.0}/google/cloud/pubsub_v1/publisher/_batch/__init__.py +0 -0
- {google_cloud_pubsub-2.25.2 → google_cloud_pubsub-2.26.0}/google/cloud/pubsub_v1/publisher/_batch/base.py +0 -0
- {google_cloud_pubsub-2.25.2 → google_cloud_pubsub-2.26.0}/google/cloud/pubsub_v1/publisher/_batch/thread.py +0 -0
- {google_cloud_pubsub-2.25.2 → google_cloud_pubsub-2.26.0}/google/cloud/pubsub_v1/publisher/_sequencer/__init__.py +0 -0
- {google_cloud_pubsub-2.25.2 → google_cloud_pubsub-2.26.0}/google/cloud/pubsub_v1/publisher/_sequencer/base.py +0 -0
- {google_cloud_pubsub-2.25.2 → google_cloud_pubsub-2.26.0}/google/cloud/pubsub_v1/publisher/_sequencer/ordered_sequencer.py +0 -0
- {google_cloud_pubsub-2.25.2 → google_cloud_pubsub-2.26.0}/google/cloud/pubsub_v1/publisher/_sequencer/unordered_sequencer.py +0 -0
- {google_cloud_pubsub-2.25.2 → google_cloud_pubsub-2.26.0}/google/cloud/pubsub_v1/publisher/client.py +0 -0
- {google_cloud_pubsub-2.25.2 → google_cloud_pubsub-2.26.0}/google/cloud/pubsub_v1/publisher/exceptions.py +0 -0
- {google_cloud_pubsub-2.25.2 → google_cloud_pubsub-2.26.0}/google/cloud/pubsub_v1/publisher/flow_controller.py +0 -0
- {google_cloud_pubsub-2.25.2 → google_cloud_pubsub-2.26.0}/google/cloud/pubsub_v1/publisher/futures.py +0 -0
- {google_cloud_pubsub-2.25.2 → google_cloud_pubsub-2.26.0}/google/cloud/pubsub_v1/subscriber/__init__.py +0 -0
- {google_cloud_pubsub-2.25.2 → google_cloud_pubsub-2.26.0}/google/cloud/pubsub_v1/subscriber/_protocol/__init__.py +0 -0
- {google_cloud_pubsub-2.25.2 → google_cloud_pubsub-2.26.0}/google/cloud/pubsub_v1/subscriber/_protocol/dispatcher.py +0 -0
- {google_cloud_pubsub-2.25.2 → google_cloud_pubsub-2.26.0}/google/cloud/pubsub_v1/subscriber/_protocol/heartbeater.py +0 -0
- {google_cloud_pubsub-2.25.2 → google_cloud_pubsub-2.26.0}/google/cloud/pubsub_v1/subscriber/_protocol/helper_threads.py +0 -0
- {google_cloud_pubsub-2.25.2 → google_cloud_pubsub-2.26.0}/google/cloud/pubsub_v1/subscriber/_protocol/histogram.py +0 -0
- {google_cloud_pubsub-2.25.2 → google_cloud_pubsub-2.26.0}/google/cloud/pubsub_v1/subscriber/_protocol/leaser.py +0 -0
- {google_cloud_pubsub-2.25.2 → google_cloud_pubsub-2.26.0}/google/cloud/pubsub_v1/subscriber/_protocol/messages_on_hold.py +0 -0
- {google_cloud_pubsub-2.25.2 → google_cloud_pubsub-2.26.0}/google/cloud/pubsub_v1/subscriber/_protocol/requests.py +0 -0
- {google_cloud_pubsub-2.25.2 → google_cloud_pubsub-2.26.0}/google/cloud/pubsub_v1/subscriber/_protocol/streaming_pull_manager.py +0 -0
- {google_cloud_pubsub-2.25.2 → google_cloud_pubsub-2.26.0}/google/cloud/pubsub_v1/subscriber/client.py +0 -0
- {google_cloud_pubsub-2.25.2 → google_cloud_pubsub-2.26.0}/google/cloud/pubsub_v1/subscriber/exceptions.py +0 -0
- {google_cloud_pubsub-2.25.2 → google_cloud_pubsub-2.26.0}/google/cloud/pubsub_v1/subscriber/futures.py +0 -0
- {google_cloud_pubsub-2.25.2 → google_cloud_pubsub-2.26.0}/google/cloud/pubsub_v1/subscriber/message.py +0 -0
- {google_cloud_pubsub-2.25.2 → google_cloud_pubsub-2.26.0}/google/cloud/pubsub_v1/subscriber/scheduler.py +0 -0
- {google_cloud_pubsub-2.25.2 → google_cloud_pubsub-2.26.0}/google/cloud/pubsub_v1/types.py +0 -0
- {google_cloud_pubsub-2.25.2 → google_cloud_pubsub-2.26.0}/google/pubsub/py.typed +0 -0
- {google_cloud_pubsub-2.25.2 → google_cloud_pubsub-2.26.0}/google/pubsub_v1/gapic_metadata.json +0 -0
- {google_cloud_pubsub-2.25.2 → google_cloud_pubsub-2.26.0}/google/pubsub_v1/py.typed +0 -0
- {google_cloud_pubsub-2.25.2 → google_cloud_pubsub-2.26.0}/google/pubsub_v1/services/__init__.py +0 -0
- {google_cloud_pubsub-2.25.2 → google_cloud_pubsub-2.26.0}/google/pubsub_v1/services/publisher/__init__.py +0 -0
- {google_cloud_pubsub-2.25.2 → google_cloud_pubsub-2.26.0}/google/pubsub_v1/services/publisher/async_client.py +0 -0
- {google_cloud_pubsub-2.25.2 → google_cloud_pubsub-2.26.0}/google/pubsub_v1/services/publisher/client.py +0 -0
- {google_cloud_pubsub-2.25.2 → google_cloud_pubsub-2.26.0}/google/pubsub_v1/services/publisher/pagers.py +0 -0
- {google_cloud_pubsub-2.25.2 → google_cloud_pubsub-2.26.0}/google/pubsub_v1/services/publisher/transports/__init__.py +0 -0
- {google_cloud_pubsub-2.25.2 → google_cloud_pubsub-2.26.0}/google/pubsub_v1/services/publisher/transports/base.py +0 -0
- {google_cloud_pubsub-2.25.2 → google_cloud_pubsub-2.26.0}/google/pubsub_v1/services/publisher/transports/grpc.py +0 -0
- {google_cloud_pubsub-2.25.2 → google_cloud_pubsub-2.26.0}/google/pubsub_v1/services/publisher/transports/grpc_asyncio.py +0 -0
- {google_cloud_pubsub-2.25.2 → google_cloud_pubsub-2.26.0}/google/pubsub_v1/services/publisher/transports/rest.py +0 -0
- {google_cloud_pubsub-2.25.2 → google_cloud_pubsub-2.26.0}/google/pubsub_v1/services/schema_service/__init__.py +0 -0
- {google_cloud_pubsub-2.25.2 → google_cloud_pubsub-2.26.0}/google/pubsub_v1/services/schema_service/async_client.py +0 -0
- {google_cloud_pubsub-2.25.2 → google_cloud_pubsub-2.26.0}/google/pubsub_v1/services/schema_service/client.py +0 -0
- {google_cloud_pubsub-2.25.2 → google_cloud_pubsub-2.26.0}/google/pubsub_v1/services/schema_service/pagers.py +0 -0
- {google_cloud_pubsub-2.25.2 → google_cloud_pubsub-2.26.0}/google/pubsub_v1/services/schema_service/transports/__init__.py +0 -0
- {google_cloud_pubsub-2.25.2 → google_cloud_pubsub-2.26.0}/google/pubsub_v1/services/schema_service/transports/base.py +0 -0
- {google_cloud_pubsub-2.25.2 → google_cloud_pubsub-2.26.0}/google/pubsub_v1/services/schema_service/transports/grpc.py +0 -0
- {google_cloud_pubsub-2.25.2 → google_cloud_pubsub-2.26.0}/google/pubsub_v1/services/schema_service/transports/grpc_asyncio.py +0 -0
- {google_cloud_pubsub-2.25.2 → google_cloud_pubsub-2.26.0}/google/pubsub_v1/services/schema_service/transports/rest.py +0 -0
- {google_cloud_pubsub-2.25.2 → google_cloud_pubsub-2.26.0}/google/pubsub_v1/services/subscriber/__init__.py +0 -0
- {google_cloud_pubsub-2.25.2 → google_cloud_pubsub-2.26.0}/google/pubsub_v1/services/subscriber/async_client.py +0 -0
- {google_cloud_pubsub-2.25.2 → google_cloud_pubsub-2.26.0}/google/pubsub_v1/services/subscriber/client.py +0 -0
- {google_cloud_pubsub-2.25.2 → google_cloud_pubsub-2.26.0}/google/pubsub_v1/services/subscriber/pagers.py +0 -0
- {google_cloud_pubsub-2.25.2 → google_cloud_pubsub-2.26.0}/google/pubsub_v1/services/subscriber/transports/__init__.py +0 -0
- {google_cloud_pubsub-2.25.2 → google_cloud_pubsub-2.26.0}/google/pubsub_v1/services/subscriber/transports/base.py +0 -0
- {google_cloud_pubsub-2.25.2 → google_cloud_pubsub-2.26.0}/google/pubsub_v1/services/subscriber/transports/grpc.py +0 -0
- {google_cloud_pubsub-2.25.2 → google_cloud_pubsub-2.26.0}/google/pubsub_v1/services/subscriber/transports/grpc_asyncio.py +0 -0
- {google_cloud_pubsub-2.25.2 → google_cloud_pubsub-2.26.0}/google/pubsub_v1/services/subscriber/transports/rest.py +0 -0
- {google_cloud_pubsub-2.25.2 → google_cloud_pubsub-2.26.0}/google/pubsub_v1/types/schema.py +0 -0
- {google_cloud_pubsub-2.25.2 → google_cloud_pubsub-2.26.0}/google_cloud_pubsub.egg-info/SOURCES.txt +0 -0
- {google_cloud_pubsub-2.25.2 → google_cloud_pubsub-2.26.0}/google_cloud_pubsub.egg-info/dependency_links.txt +0 -0
- {google_cloud_pubsub-2.25.2 → google_cloud_pubsub-2.26.0}/google_cloud_pubsub.egg-info/not-zip-safe +0 -0
- {google_cloud_pubsub-2.25.2 → google_cloud_pubsub-2.26.0}/google_cloud_pubsub.egg-info/requires.txt +0 -0
- {google_cloud_pubsub-2.25.2 → google_cloud_pubsub-2.26.0}/google_cloud_pubsub.egg-info/top_level.txt +0 -0
- {google_cloud_pubsub-2.25.2 → google_cloud_pubsub-2.26.0}/setup.cfg +0 -0
- {google_cloud_pubsub-2.25.2 → google_cloud_pubsub-2.26.0}/setup.py +0 -0
- {google_cloud_pubsub-2.25.2 → google_cloud_pubsub-2.26.0}/tests/__init__.py +0 -0
- {google_cloud_pubsub-2.25.2 → google_cloud_pubsub-2.26.0}/tests/system.py +0 -0
- {google_cloud_pubsub-2.25.2 → google_cloud_pubsub-2.26.0}/tests/unit/__init__.py +0 -0
- {google_cloud_pubsub-2.25.2 → google_cloud_pubsub-2.26.0}/tests/unit/gapic/__init__.py +0 -0
- {google_cloud_pubsub-2.25.2 → google_cloud_pubsub-2.26.0}/tests/unit/gapic/pubsub_v1/__init__.py +0 -0
- {google_cloud_pubsub-2.25.2 → google_cloud_pubsub-2.26.0}/tests/unit/gapic/pubsub_v1/test_publisher.py +0 -0
- {google_cloud_pubsub-2.25.2 → google_cloud_pubsub-2.26.0}/tests/unit/gapic/pubsub_v1/test_schema_service.py +0 -0
- {google_cloud_pubsub-2.25.2 → google_cloud_pubsub-2.26.0}/tests/unit/gapic/pubsub_v1/test_subscriber.py +0 -0
- {google_cloud_pubsub-2.25.2 → google_cloud_pubsub-2.26.0}/tests/unit/pubsub_v1/conftest.py +0 -0
- {google_cloud_pubsub-2.25.2 → google_cloud_pubsub-2.26.0}/tests/unit/pubsub_v1/publisher/batch/test_base.py +0 -0
- {google_cloud_pubsub-2.25.2 → google_cloud_pubsub-2.26.0}/tests/unit/pubsub_v1/publisher/batch/test_thread.py +0 -0
- {google_cloud_pubsub-2.25.2 → google_cloud_pubsub-2.26.0}/tests/unit/pubsub_v1/publisher/sequencer/test_ordered_sequencer.py +0 -0
- {google_cloud_pubsub-2.25.2 → google_cloud_pubsub-2.26.0}/tests/unit/pubsub_v1/publisher/sequencer/test_unordered_sequencer.py +0 -0
- {google_cloud_pubsub-2.25.2 → google_cloud_pubsub-2.26.0}/tests/unit/pubsub_v1/publisher/test_flow_controller.py +0 -0
- {google_cloud_pubsub-2.25.2 → google_cloud_pubsub-2.26.0}/tests/unit/pubsub_v1/publisher/test_futures_publisher.py +0 -0
- {google_cloud_pubsub-2.25.2 → google_cloud_pubsub-2.26.0}/tests/unit/pubsub_v1/publisher/test_publish_message_wrapper.py +0 -0
- {google_cloud_pubsub-2.25.2 → google_cloud_pubsub-2.26.0}/tests/unit/pubsub_v1/publisher/test_publisher_client.py +0 -0
- {google_cloud_pubsub-2.25.2 → google_cloud_pubsub-2.26.0}/tests/unit/pubsub_v1/subscriber/test_dispatcher.py +0 -0
- {google_cloud_pubsub-2.25.2 → google_cloud_pubsub-2.26.0}/tests/unit/pubsub_v1/subscriber/test_futures_subscriber.py +0 -0
- {google_cloud_pubsub-2.25.2 → google_cloud_pubsub-2.26.0}/tests/unit/pubsub_v1/subscriber/test_heartbeater.py +0 -0
- {google_cloud_pubsub-2.25.2 → google_cloud_pubsub-2.26.0}/tests/unit/pubsub_v1/subscriber/test_helper_threads.py +0 -0
- {google_cloud_pubsub-2.25.2 → google_cloud_pubsub-2.26.0}/tests/unit/pubsub_v1/subscriber/test_histogram.py +0 -0
- {google_cloud_pubsub-2.25.2 → google_cloud_pubsub-2.26.0}/tests/unit/pubsub_v1/subscriber/test_leaser.py +0 -0
- {google_cloud_pubsub-2.25.2 → google_cloud_pubsub-2.26.0}/tests/unit/pubsub_v1/subscriber/test_message.py +0 -0
- {google_cloud_pubsub-2.25.2 → google_cloud_pubsub-2.26.0}/tests/unit/pubsub_v1/subscriber/test_messages_on_hold.py +0 -0
- {google_cloud_pubsub-2.25.2 → google_cloud_pubsub-2.26.0}/tests/unit/pubsub_v1/subscriber/test_scheduler.py +0 -0
- {google_cloud_pubsub-2.25.2 → google_cloud_pubsub-2.26.0}/tests/unit/pubsub_v1/subscriber/test_streaming_pull_manager.py +0 -0
- {google_cloud_pubsub-2.25.2 → google_cloud_pubsub-2.26.0}/tests/unit/pubsub_v1/subscriber/test_subscribe_opentelemetry.py +0 -0
- {google_cloud_pubsub-2.25.2 → google_cloud_pubsub-2.26.0}/tests/unit/pubsub_v1/subscriber/test_subscriber_client.py +0 -0
- {google_cloud_pubsub-2.25.2 → google_cloud_pubsub-2.26.0}/tests/unit/pubsub_v1/test_futures.py +0 -0
- {google_cloud_pubsub-2.25.2 → google_cloud_pubsub-2.26.0}/tests/unit/test_packaging.py +0 -0
- {google_cloud_pubsub-2.25.2 → google_cloud_pubsub-2.26.0}/tests/unit/test_pubsub.py +0 -0
|
@@ -55,6 +55,7 @@ from google.pubsub_v1.types.pubsub import ListTopicSubscriptionsResponse
|
|
|
55
55
|
from google.pubsub_v1.types.pubsub import MessageStoragePolicy
|
|
56
56
|
from google.pubsub_v1.types.pubsub import ModifyAckDeadlineRequest
|
|
57
57
|
from google.pubsub_v1.types.pubsub import ModifyPushConfigRequest
|
|
58
|
+
from google.pubsub_v1.types.pubsub import PlatformLogsSettings
|
|
58
59
|
from google.pubsub_v1.types.pubsub import PublishRequest
|
|
59
60
|
from google.pubsub_v1.types.pubsub import PublishResponse
|
|
60
61
|
from google.pubsub_v1.types.pubsub import PubsubMessage
|
|
@@ -127,6 +128,7 @@ __all__ = (
|
|
|
127
128
|
"MessageStoragePolicy",
|
|
128
129
|
"ModifyAckDeadlineRequest",
|
|
129
130
|
"ModifyPushConfigRequest",
|
|
131
|
+
"PlatformLogsSettings",
|
|
130
132
|
"PublishRequest",
|
|
131
133
|
"PublishResponse",
|
|
132
134
|
"PubsubMessage",
|
|
@@ -53,6 +53,7 @@ from .types.pubsub import ListTopicSubscriptionsResponse
|
|
|
53
53
|
from .types.pubsub import MessageStoragePolicy
|
|
54
54
|
from .types.pubsub import ModifyAckDeadlineRequest
|
|
55
55
|
from .types.pubsub import ModifyPushConfigRequest
|
|
56
|
+
from .types.pubsub import PlatformLogsSettings
|
|
56
57
|
from .types.pubsub import PublishRequest
|
|
57
58
|
from .types.pubsub import PublishResponse
|
|
58
59
|
from .types.pubsub import PubsubMessage
|
|
@@ -132,6 +133,7 @@ __all__ = (
|
|
|
132
133
|
"MessageStoragePolicy",
|
|
133
134
|
"ModifyAckDeadlineRequest",
|
|
134
135
|
"ModifyPushConfigRequest",
|
|
136
|
+
"PlatformLogsSettings",
|
|
135
137
|
"PublishRequest",
|
|
136
138
|
"PublishResponse",
|
|
137
139
|
"PublisherClient",
|
{google_cloud_pubsub-2.25.2 → google_cloud_pubsub-2.26.0}/google/pubsub_v1/types/__init__.py
RENAMED
|
@@ -44,6 +44,7 @@ from .pubsub import (
|
|
|
44
44
|
MessageStoragePolicy,
|
|
45
45
|
ModifyAckDeadlineRequest,
|
|
46
46
|
ModifyPushConfigRequest,
|
|
47
|
+
PlatformLogsSettings,
|
|
47
48
|
PublishRequest,
|
|
48
49
|
PublishResponse,
|
|
49
50
|
PubsubMessage,
|
|
@@ -122,6 +123,7 @@ __all__ = (
|
|
|
122
123
|
"MessageStoragePolicy",
|
|
123
124
|
"ModifyAckDeadlineRequest",
|
|
124
125
|
"ModifyPushConfigRequest",
|
|
126
|
+
"PlatformLogsSettings",
|
|
125
127
|
"PublishRequest",
|
|
126
128
|
"PublishResponse",
|
|
127
129
|
"PubsubMessage",
|
|
@@ -31,6 +31,7 @@ __protobuf__ = proto.module(
|
|
|
31
31
|
"MessageStoragePolicy",
|
|
32
32
|
"SchemaSettings",
|
|
33
33
|
"IngestionDataSourceSettings",
|
|
34
|
+
"PlatformLogsSettings",
|
|
34
35
|
"Topic",
|
|
35
36
|
"PubsubMessage",
|
|
36
37
|
"GetTopicRequest",
|
|
@@ -160,6 +161,11 @@ class SchemaSettings(proto.Message):
|
|
|
160
161
|
class IngestionDataSourceSettings(proto.Message):
|
|
161
162
|
r"""Settings for an ingestion data source on a topic.
|
|
162
163
|
|
|
164
|
+
This message has `oneof`_ fields (mutually exclusive fields).
|
|
165
|
+
For each oneof, at most one member field can be set at the same time.
|
|
166
|
+
Setting any member of the oneof automatically clears all other
|
|
167
|
+
members.
|
|
168
|
+
|
|
163
169
|
.. _oneof: https://proto-plus-python.readthedocs.io/en/stable/fields.html#oneofs-mutually-exclusive-fields
|
|
164
170
|
|
|
165
171
|
Attributes:
|
|
@@ -167,6 +173,13 @@ class IngestionDataSourceSettings(proto.Message):
|
|
|
167
173
|
Optional. Amazon Kinesis Data Streams.
|
|
168
174
|
|
|
169
175
|
This field is a member of `oneof`_ ``source``.
|
|
176
|
+
cloud_storage (google.pubsub_v1.types.IngestionDataSourceSettings.CloudStorage):
|
|
177
|
+
Optional. Cloud Storage.
|
|
178
|
+
|
|
179
|
+
This field is a member of `oneof`_ ``source``.
|
|
180
|
+
platform_logs_settings (google.pubsub_v1.types.PlatformLogsSettings):
|
|
181
|
+
Optional. Platform Logs settings. If unset,
|
|
182
|
+
no Platform Logs will be generated.
|
|
170
183
|
"""
|
|
171
184
|
|
|
172
185
|
class AwsKinesis(proto.Message):
|
|
@@ -259,12 +272,227 @@ class IngestionDataSourceSettings(proto.Message):
|
|
|
259
272
|
number=5,
|
|
260
273
|
)
|
|
261
274
|
|
|
275
|
+
class CloudStorage(proto.Message):
|
|
276
|
+
r"""Ingestion settings for Cloud Storage.
|
|
277
|
+
|
|
278
|
+
This message has `oneof`_ fields (mutually exclusive fields).
|
|
279
|
+
For each oneof, at most one member field can be set at the same time.
|
|
280
|
+
Setting any member of the oneof automatically clears all other
|
|
281
|
+
members.
|
|
282
|
+
|
|
283
|
+
.. _oneof: https://proto-plus-python.readthedocs.io/en/stable/fields.html#oneofs-mutually-exclusive-fields
|
|
284
|
+
|
|
285
|
+
Attributes:
|
|
286
|
+
state (google.pubsub_v1.types.IngestionDataSourceSettings.CloudStorage.State):
|
|
287
|
+
Output only. An output-only field that
|
|
288
|
+
indicates the state of the Cloud Storage
|
|
289
|
+
ingestion source.
|
|
290
|
+
bucket (str):
|
|
291
|
+
Optional. Cloud Storage bucket. The bucket name must be
|
|
292
|
+
without any prefix like "gs://". See the [bucket naming
|
|
293
|
+
requirements]
|
|
294
|
+
(https://cloud.google.com/storage/docs/buckets#naming).
|
|
295
|
+
text_format (google.pubsub_v1.types.IngestionDataSourceSettings.CloudStorage.TextFormat):
|
|
296
|
+
Optional. Data from Cloud Storage will be
|
|
297
|
+
interpreted as text.
|
|
298
|
+
|
|
299
|
+
This field is a member of `oneof`_ ``input_format``.
|
|
300
|
+
avro_format (google.pubsub_v1.types.IngestionDataSourceSettings.CloudStorage.AvroFormat):
|
|
301
|
+
Optional. Data from Cloud Storage will be
|
|
302
|
+
interpreted in Avro format.
|
|
303
|
+
|
|
304
|
+
This field is a member of `oneof`_ ``input_format``.
|
|
305
|
+
pubsub_avro_format (google.pubsub_v1.types.IngestionDataSourceSettings.CloudStorage.PubSubAvroFormat):
|
|
306
|
+
Optional. It will be assumed data from Cloud Storage was
|
|
307
|
+
written via `Cloud Storage
|
|
308
|
+
subscriptions <https://cloud.google.com/pubsub/docs/cloudstorage>`__.
|
|
309
|
+
|
|
310
|
+
This field is a member of `oneof`_ ``input_format``.
|
|
311
|
+
minimum_object_create_time (google.protobuf.timestamp_pb2.Timestamp):
|
|
312
|
+
Optional. Only objects with a larger or equal
|
|
313
|
+
creation timestamp will be ingested.
|
|
314
|
+
match_glob (str):
|
|
315
|
+
Optional. Glob pattern used to match objects that will be
|
|
316
|
+
ingested. If unset, all objects will be ingested. See the
|
|
317
|
+
`supported
|
|
318
|
+
patterns <https://cloud.google.com/storage/docs/json_api/v1/objects/list#list-objects-and-prefixes-using-glob>`__.
|
|
319
|
+
"""
|
|
320
|
+
|
|
321
|
+
class State(proto.Enum):
|
|
322
|
+
r"""Possible states for ingestion from Cloud Storage.
|
|
323
|
+
|
|
324
|
+
Values:
|
|
325
|
+
STATE_UNSPECIFIED (0):
|
|
326
|
+
Default value. This value is unused.
|
|
327
|
+
ACTIVE (1):
|
|
328
|
+
Ingestion is active.
|
|
329
|
+
CLOUD_STORAGE_PERMISSION_DENIED (2):
|
|
330
|
+
Permission denied encountered while calling the Cloud
|
|
331
|
+
Storage API. This can happen if the Pub/Sub SA has not been
|
|
332
|
+
granted the `appropriate
|
|
333
|
+
permissions <https://cloud.google.com/storage/docs/access-control/iam-permissions>`__:
|
|
334
|
+
|
|
335
|
+
- storage.objects.list: to list the objects in a bucket.
|
|
336
|
+
- storage.objects.get: to read the objects in a bucket.
|
|
337
|
+
- storage.buckets.get: to verify the bucket exists.
|
|
338
|
+
PUBLISH_PERMISSION_DENIED (3):
|
|
339
|
+
Permission denied encountered while publishing to the topic.
|
|
340
|
+
This can happen if the Pub/Sub SA has not been granted the
|
|
341
|
+
`appropriate publish
|
|
342
|
+
permissions <https://cloud.google.com/pubsub/docs/access-control#pubsub.publisher>`__
|
|
343
|
+
BUCKET_NOT_FOUND (4):
|
|
344
|
+
The provided Cloud Storage bucket doesn't
|
|
345
|
+
exist.
|
|
346
|
+
TOO_MANY_OBJECTS (5):
|
|
347
|
+
The Cloud Storage bucket has too many
|
|
348
|
+
objects, ingestion will be paused.
|
|
349
|
+
"""
|
|
350
|
+
STATE_UNSPECIFIED = 0
|
|
351
|
+
ACTIVE = 1
|
|
352
|
+
CLOUD_STORAGE_PERMISSION_DENIED = 2
|
|
353
|
+
PUBLISH_PERMISSION_DENIED = 3
|
|
354
|
+
BUCKET_NOT_FOUND = 4
|
|
355
|
+
TOO_MANY_OBJECTS = 5
|
|
356
|
+
|
|
357
|
+
class TextFormat(proto.Message):
|
|
358
|
+
r"""Configuration for reading Cloud Storage data in text format. Each
|
|
359
|
+
line of text as specified by the delimiter will be set to the
|
|
360
|
+
``data`` field of a Pub/Sub message.
|
|
361
|
+
|
|
362
|
+
|
|
363
|
+
.. _oneof: https://proto-plus-python.readthedocs.io/en/stable/fields.html#oneofs-mutually-exclusive-fields
|
|
364
|
+
|
|
365
|
+
Attributes:
|
|
366
|
+
delimiter (str):
|
|
367
|
+
Optional. When unset, '\n' is used.
|
|
368
|
+
|
|
369
|
+
This field is a member of `oneof`_ ``_delimiter``.
|
|
370
|
+
"""
|
|
371
|
+
|
|
372
|
+
delimiter: str = proto.Field(
|
|
373
|
+
proto.STRING,
|
|
374
|
+
number=1,
|
|
375
|
+
optional=True,
|
|
376
|
+
)
|
|
377
|
+
|
|
378
|
+
class AvroFormat(proto.Message):
|
|
379
|
+
r"""Configuration for reading Cloud Storage data in Avro binary format.
|
|
380
|
+
The bytes of each object will be set to the ``data`` field of a
|
|
381
|
+
Pub/Sub message.
|
|
382
|
+
|
|
383
|
+
"""
|
|
384
|
+
|
|
385
|
+
class PubSubAvroFormat(proto.Message):
|
|
386
|
+
r"""Configuration for reading Cloud Storage data written via `Cloud
|
|
387
|
+
Storage
|
|
388
|
+
subscriptions <https://cloud.google.com/pubsub/docs/cloudstorage>`__.
|
|
389
|
+
The data and attributes fields of the originally exported Pub/Sub
|
|
390
|
+
message will be restored when publishing.
|
|
391
|
+
|
|
392
|
+
"""
|
|
393
|
+
|
|
394
|
+
state: "IngestionDataSourceSettings.CloudStorage.State" = proto.Field(
|
|
395
|
+
proto.ENUM,
|
|
396
|
+
number=1,
|
|
397
|
+
enum="IngestionDataSourceSettings.CloudStorage.State",
|
|
398
|
+
)
|
|
399
|
+
bucket: str = proto.Field(
|
|
400
|
+
proto.STRING,
|
|
401
|
+
number=2,
|
|
402
|
+
)
|
|
403
|
+
text_format: "IngestionDataSourceSettings.CloudStorage.TextFormat" = (
|
|
404
|
+
proto.Field(
|
|
405
|
+
proto.MESSAGE,
|
|
406
|
+
number=3,
|
|
407
|
+
oneof="input_format",
|
|
408
|
+
message="IngestionDataSourceSettings.CloudStorage.TextFormat",
|
|
409
|
+
)
|
|
410
|
+
)
|
|
411
|
+
avro_format: "IngestionDataSourceSettings.CloudStorage.AvroFormat" = (
|
|
412
|
+
proto.Field(
|
|
413
|
+
proto.MESSAGE,
|
|
414
|
+
number=4,
|
|
415
|
+
oneof="input_format",
|
|
416
|
+
message="IngestionDataSourceSettings.CloudStorage.AvroFormat",
|
|
417
|
+
)
|
|
418
|
+
)
|
|
419
|
+
pubsub_avro_format: "IngestionDataSourceSettings.CloudStorage.PubSubAvroFormat" = proto.Field(
|
|
420
|
+
proto.MESSAGE,
|
|
421
|
+
number=5,
|
|
422
|
+
oneof="input_format",
|
|
423
|
+
message="IngestionDataSourceSettings.CloudStorage.PubSubAvroFormat",
|
|
424
|
+
)
|
|
425
|
+
minimum_object_create_time: timestamp_pb2.Timestamp = proto.Field(
|
|
426
|
+
proto.MESSAGE,
|
|
427
|
+
number=6,
|
|
428
|
+
message=timestamp_pb2.Timestamp,
|
|
429
|
+
)
|
|
430
|
+
match_glob: str = proto.Field(
|
|
431
|
+
proto.STRING,
|
|
432
|
+
number=9,
|
|
433
|
+
)
|
|
434
|
+
|
|
262
435
|
aws_kinesis: AwsKinesis = proto.Field(
|
|
263
436
|
proto.MESSAGE,
|
|
264
437
|
number=1,
|
|
265
438
|
oneof="source",
|
|
266
439
|
message=AwsKinesis,
|
|
267
440
|
)
|
|
441
|
+
cloud_storage: CloudStorage = proto.Field(
|
|
442
|
+
proto.MESSAGE,
|
|
443
|
+
number=2,
|
|
444
|
+
oneof="source",
|
|
445
|
+
message=CloudStorage,
|
|
446
|
+
)
|
|
447
|
+
platform_logs_settings: "PlatformLogsSettings" = proto.Field(
|
|
448
|
+
proto.MESSAGE,
|
|
449
|
+
number=4,
|
|
450
|
+
message="PlatformLogsSettings",
|
|
451
|
+
)
|
|
452
|
+
|
|
453
|
+
|
|
454
|
+
class PlatformLogsSettings(proto.Message):
|
|
455
|
+
r"""Settings for Platform Logs produced by Pub/Sub.
|
|
456
|
+
|
|
457
|
+
Attributes:
|
|
458
|
+
severity (google.pubsub_v1.types.PlatformLogsSettings.Severity):
|
|
459
|
+
Optional. The minimum severity level of
|
|
460
|
+
Platform Logs that will be written.
|
|
461
|
+
"""
|
|
462
|
+
|
|
463
|
+
class Severity(proto.Enum):
|
|
464
|
+
r"""Severity levels of Platform Logs.
|
|
465
|
+
|
|
466
|
+
Values:
|
|
467
|
+
SEVERITY_UNSPECIFIED (0):
|
|
468
|
+
Default value. Logs level is unspecified.
|
|
469
|
+
Logs will be disabled.
|
|
470
|
+
DISABLED (1):
|
|
471
|
+
Logs will be disabled.
|
|
472
|
+
DEBUG (2):
|
|
473
|
+
Debug logs and higher-severity logs will be
|
|
474
|
+
written.
|
|
475
|
+
INFO (3):
|
|
476
|
+
Info logs and higher-severity logs will be
|
|
477
|
+
written.
|
|
478
|
+
WARNING (4):
|
|
479
|
+
Warning logs and higher-severity logs will be
|
|
480
|
+
written.
|
|
481
|
+
ERROR (5):
|
|
482
|
+
Only error logs will be written.
|
|
483
|
+
"""
|
|
484
|
+
SEVERITY_UNSPECIFIED = 0
|
|
485
|
+
DISABLED = 1
|
|
486
|
+
DEBUG = 2
|
|
487
|
+
INFO = 3
|
|
488
|
+
WARNING = 4
|
|
489
|
+
ERROR = 5
|
|
490
|
+
|
|
491
|
+
severity: Severity = proto.Field(
|
|
492
|
+
proto.ENUM,
|
|
493
|
+
number=1,
|
|
494
|
+
enum=Severity,
|
|
495
|
+
)
|
|
268
496
|
|
|
269
497
|
|
|
270
498
|
class Topic(proto.Message):
|
|
@@ -821,7 +1049,7 @@ class Subscription(proto.Message):
|
|
|
821
1049
|
published. If ``retain_acked_messages`` is true, then this
|
|
822
1050
|
also configures the retention of acknowledged messages, and
|
|
823
1051
|
thus configures how far back in time a ``Seek`` can be done.
|
|
824
|
-
Defaults to 7 days. Cannot be more than
|
|
1052
|
+
Defaults to 7 days. Cannot be more than 31 days or less than
|
|
825
1053
|
10 minutes.
|
|
826
1054
|
labels (MutableMapping[str, str]):
|
|
827
1055
|
Optional. See `Creating and managing
|
|
@@ -906,6 +1134,10 @@ class Subscription(proto.Message):
|
|
|
906
1134
|
Output only. An output-only field indicating
|
|
907
1135
|
whether or not the subscription can receive
|
|
908
1136
|
messages.
|
|
1137
|
+
analytics_hub_subscription_info (google.pubsub_v1.types.Subscription.AnalyticsHubSubscriptionInfo):
|
|
1138
|
+
Output only. Information about the associated
|
|
1139
|
+
Analytics Hub subscription. Only set if the
|
|
1140
|
+
subscritpion is created by Analytics Hub.
|
|
909
1141
|
"""
|
|
910
1142
|
|
|
911
1143
|
class State(proto.Enum):
|
|
@@ -927,6 +1159,31 @@ class Subscription(proto.Message):
|
|
|
927
1159
|
ACTIVE = 1
|
|
928
1160
|
RESOURCE_ERROR = 2
|
|
929
1161
|
|
|
1162
|
+
class AnalyticsHubSubscriptionInfo(proto.Message):
|
|
1163
|
+
r"""Information about an associated Analytics Hub subscription
|
|
1164
|
+
(https://cloud.google.com/bigquery/docs/analytics-hub-manage-subscriptions).
|
|
1165
|
+
|
|
1166
|
+
Attributes:
|
|
1167
|
+
listing (str):
|
|
1168
|
+
Optional. The name of the associated Analytics Hub listing
|
|
1169
|
+
resource. Pattern:
|
|
1170
|
+
"projects/{project}/locations/{location}/dataExchanges/{data_exchange}/listings/{listing}".
|
|
1171
|
+
subscription (str):
|
|
1172
|
+
Optional. The name of the associated
|
|
1173
|
+
Analytics Hub subscription resource. Pattern:
|
|
1174
|
+
|
|
1175
|
+
"projects/{project}/locations/{location}/subscriptions/{subscription}".
|
|
1176
|
+
"""
|
|
1177
|
+
|
|
1178
|
+
listing: str = proto.Field(
|
|
1179
|
+
proto.STRING,
|
|
1180
|
+
number=1,
|
|
1181
|
+
)
|
|
1182
|
+
subscription: str = proto.Field(
|
|
1183
|
+
proto.STRING,
|
|
1184
|
+
number=2,
|
|
1185
|
+
)
|
|
1186
|
+
|
|
930
1187
|
name: str = proto.Field(
|
|
931
1188
|
proto.STRING,
|
|
932
1189
|
number=1,
|
|
@@ -1009,6 +1266,11 @@ class Subscription(proto.Message):
|
|
|
1009
1266
|
number=19,
|
|
1010
1267
|
enum=State,
|
|
1011
1268
|
)
|
|
1269
|
+
analytics_hub_subscription_info: AnalyticsHubSubscriptionInfo = proto.Field(
|
|
1270
|
+
proto.MESSAGE,
|
|
1271
|
+
number=23,
|
|
1272
|
+
message=AnalyticsHubSubscriptionInfo,
|
|
1273
|
+
)
|
|
1012
1274
|
|
|
1013
1275
|
|
|
1014
1276
|
class RetryPolicy(proto.Message):
|
{google_cloud_pubsub-2.25.2 → google_cloud_pubsub-2.26.0}/scripts/fixup_pubsub_v1_keywords.py
RENAMED
|
@@ -43,7 +43,7 @@ class pubsubCallTransformer(cst.CSTTransformer):
|
|
|
43
43
|
'commit_schema': ('name', 'schema', ),
|
|
44
44
|
'create_schema': ('parent', 'schema', 'schema_id', ),
|
|
45
45
|
'create_snapshot': ('name', 'subscription', 'labels', ),
|
|
46
|
-
'create_subscription': ('name', 'topic', 'push_config', 'bigquery_config', 'cloud_storage_config', 'ack_deadline_seconds', 'retain_acked_messages', 'message_retention_duration', 'labels', 'enable_message_ordering', 'expiration_policy', 'filter', 'dead_letter_policy', 'retry_policy', 'detached', 'enable_exactly_once_delivery', 'topic_message_retention_duration', 'state', ),
|
|
46
|
+
'create_subscription': ('name', 'topic', 'push_config', 'bigquery_config', 'cloud_storage_config', 'ack_deadline_seconds', 'retain_acked_messages', 'message_retention_duration', 'labels', 'enable_message_ordering', 'expiration_policy', 'filter', 'dead_letter_policy', 'retry_policy', 'detached', 'enable_exactly_once_delivery', 'topic_message_retention_duration', 'state', 'analytics_hub_subscription_info', ),
|
|
47
47
|
'create_topic': ('name', 'labels', 'message_storage_policy', 'kms_key_name', 'schema_settings', 'satisfies_pzs', 'message_retention_duration', 'state', 'ingestion_data_source_settings', ),
|
|
48
48
|
'delete_schema': ('name', ),
|
|
49
49
|
'delete_schema_revision': ('name', 'revision_id', ),
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{google_cloud_pubsub-2.25.2 → google_cloud_pubsub-2.26.0}/google/cloud/pubsub_v1/__init__.py
RENAMED
|
File without changes
|
{google_cloud_pubsub-2.25.2 → google_cloud_pubsub-2.26.0}/google/cloud/pubsub_v1/exceptions.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{google_cloud_pubsub-2.25.2 → google_cloud_pubsub-2.26.0}/google/cloud/pubsub_v1/proto/pubsub.proto
RENAMED
|
File without changes
|
{google_cloud_pubsub-2.25.2 → google_cloud_pubsub-2.26.0}/google/cloud/pubsub_v1/proto/schema.proto
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{google_cloud_pubsub-2.25.2 → google_cloud_pubsub-2.26.0}/google/cloud/pubsub_v1/publisher/client.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{google_cloud_pubsub-2.25.2 → google_cloud_pubsub-2.26.0}/google/pubsub_v1/gapic_metadata.json
RENAMED
|
File without changes
|
|
File without changes
|
{google_cloud_pubsub-2.25.2 → google_cloud_pubsub-2.26.0}/google/pubsub_v1/services/__init__.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{google_cloud_pubsub-2.25.2 → google_cloud_pubsub-2.26.0}/google_cloud_pubsub.egg-info/SOURCES.txt
RENAMED
|
File without changes
|
|
File without changes
|
{google_cloud_pubsub-2.25.2 → google_cloud_pubsub-2.26.0}/google_cloud_pubsub.egg-info/not-zip-safe
RENAMED
|
File without changes
|
{google_cloud_pubsub-2.25.2 → google_cloud_pubsub-2.26.0}/google_cloud_pubsub.egg-info/requires.txt
RENAMED
|
File without changes
|
{google_cloud_pubsub-2.25.2 → google_cloud_pubsub-2.26.0}/google_cloud_pubsub.egg-info/top_level.txt
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{google_cloud_pubsub-2.25.2 → google_cloud_pubsub-2.26.0}/tests/unit/gapic/pubsub_v1/__init__.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{google_cloud_pubsub-2.25.2 → google_cloud_pubsub-2.26.0}/tests/unit/pubsub_v1/test_futures.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|