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.\u003c/p\u003e\n"],["\u003cp\u003eVersion 2.37.0-rc is the latest release candidate version, with a range of versions from 2.36.0 down to 2.11.0 available.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eCompressionAlgorithmOption\u003c/code\u003e allows selection of gRPC compression algorithms, including \u003ccode\u003eGRPC_COMPRESS_DEFLATE\u003c/code\u003e and \u003ccode\u003eGRPC_COMPRESS_GZIP\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThis feature enables users to configure compression settings for their Pub/Sub interactions, with potential for new algorithms to be supported in the future.\u003c/p\u003e\n"],["\u003cp\u003eThe type alias of the option \u003ccode\u003eCompressionAlgorithmOption\u003c/code\u003e is \u003ccode\u003eint\u003c/code\u003e.\u003c/p\u003e\n"]]],[],null,[]]