Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions google/pubsub_v1/types/pubsub.py
Original file line number Diff line number Diff line change
Expand Up @@ -1432,6 +1432,10 @@ class CloudStorageConfig(proto.Message):
Storage file before a new file is created. Min 1 KB, max 10
GiB. The max_bytes limit may be exceeded in cases where
messages are larger than the limit.
max_messages (int):
Optional. The maximum number of messages that
can be written to a Cloud Storage file before a
new file is created. Min 1000 messages.
state (google.pubsub_v1.types.CloudStorageConfig.State):
Output only. An output-only field that
indicates whether or not the subscription can
Expand Down Expand Up @@ -1551,6 +1555,10 @@ class AvroConfig(proto.Message):
proto.INT64,
number=7,
)
max_messages: int = proto.Field(
proto.INT64,
number=8,
)
state: State = proto.Field(
proto.ENUM,
number=9,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
],
"language": "PYTHON",
"name": "google-cloud-pubsub",
"version": "2.22.0"
"version": "0.1.0"
},
"snippets": [
{
Expand Down