Class PublishFlowControl (2.13.0)

PublishFlowControl(message_limit: int = 1000, byte_limit: int = 10000000, limit_exceeded_behavior: google.cloud.pubsub_v1.types.LimitExceededBehavior = <LimitExceededBehavior.IGNORE: 'ignore'>)

The client flow control settings for message publishing.

Inheritance

builtins.object > builtins.tuple > PublishFlowControl

Methods

PublishFlowControl

PublishFlowControl(message_limit: int = 1000, byte_limit: int = 10000000, limit_exceeded_behavior: google.cloud.pubsub_v1.types.LimitExceededBehavior = <LimitExceededBehavior.IGNORE: 'ignore'>)

Create new instance of PublishFlowControl(message_limit, byte_limit, limit_exceeded_behavior)