Select the gRPC compression algorithm when compression is enabled. As of this writing, gRPC supports GRPC_COMPRESS_DEFLATE and GRPC_COMPRESS_GZIP. Other values may be added in the future and should be settable via this feature.
[[["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-14 UTC."],[[["\u003cp\u003eThe webpage provides documentation for different versions of the \u003ccode\u003eCompressionAlgorithmOption\u003c/code\u003e within the Google Cloud Pub/Sub C++ library, ranging from version 2.11.0 to the latest release candidate 2.37.0-rc.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eCompressionAlgorithmOption\u003c/code\u003e allows users to select a gRPC compression algorithm, such as \u003ccode\u003eGRPC_COMPRESS_DEFLATE\u003c/code\u003e or \u003ccode\u003eGRPC_COMPRESS_GZIP\u003c/code\u003e, when compression is activated.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eCompressionAlgorithmOption\u003c/code\u003e is an alias of the \u003ccode\u003eint\u003c/code\u003e data type, which enables its use in various functionalities requiring integer values within the Pub/Sub library.\u003c/p\u003e\n"],["\u003cp\u003eThe latest version available for the \u003ccode\u003eCompressionAlgorithmOption\u003c/code\u003e is the release candidate 2.37.0-rc, while the oldest documented version on this page is 2.11.0.\u003c/p\u003e\n"]]],[],null,[]]