public long? CompressionBytesThreshold { get; set; }
Specifies the threshold for the number of bytes in a message batch before compression is applied.
This property comes into play only when EnableCompression is set to true.
If the number of bytes in a batch is less than this value, compression will not be applied even
if EnableCompression is true.
If null, defaults to DefaultCompressionBytesThreshold.
Represents a time interval to wait for the PublisherClient to send any pending messages
after the DisposeAsync() method has been called. If this time interval expires, the
clean shutdown process will be aborted, and there may be locally queued messages that remain unsent.
If null, defaults to DefaultDisposeTimeout.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-07 UTC."],[[["\u003cp\u003eThis webpage provides reference documentation for the \u003ccode\u003ePublisherClient.Settings\u003c/code\u003e class within the Google Cloud Pub/Sub v1 API, specifically for .NET development.\u003c/p\u003e\n"],["\u003cp\u003eThe content offers an extensive list of previous versions, with links to the respective documentation for each version of \u003ccode\u003ePublisherClient.Settings\u003c/code\u003e, starting from version 3.23.0 down to 2.3.0, as well as a latest version link.\u003c/p\u003e\n"],["\u003cp\u003eKey properties of the \u003ccode\u003ePublisherClient.Settings\u003c/code\u003e class include \u003ccode\u003eBatchingSettings\u003c/code\u003e, \u003ccode\u003eCompressionBytesThreshold\u003c/code\u003e, \u003ccode\u003eDisposeTimeout\u003c/code\u003e, \u003ccode\u003eEnableCompression\u003c/code\u003e, \u003ccode\u003eEnableMessageOrdering\u003c/code\u003e, and \u003ccode\u003eScheduler\u003c/code\u003e, which allow customization of message publishing behavior.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eSettings\u003c/code\u003e class also provides methods like \u003ccode\u003eClone()\u003c/code\u003e to create a duplicate instance, and default values can be found for properties like \u003ccode\u003eBatchingSettings\u003c/code\u003e, \u003ccode\u003eCompressionBytesThreshold\u003c/code\u003e and \u003ccode\u003eDisposeTimeout\u003c/code\u003e when the properties are set to \u003ccode\u003enull\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe class has inherited members from the base object class such as \u003ccode\u003eGetHashCode()\u003c/code\u003e, \u003ccode\u003eGetType()\u003c/code\u003e, and \u003ccode\u003eToString()\u003c/code\u003e, and is found in the \u003ccode\u003eGoogle.Cloud.PubSub.V1\u003c/code\u003e namespace within the \u003ccode\u003eGoogle.Cloud.PubSub.V1.dll\u003c/code\u003e assembly.\u003c/p\u003e\n"]]],[],null,[]]