Some applications need to receive messages from multiple subscriptions. In this case they can use this option to override the default subscription in a Subscriber::Pull() or Subscriber::Subscribe() call.
[[["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\u003eThis webpage documents various versions of the \u003ccode\u003eSubscriptionOption\u003c/code\u003e for Google Cloud Pub/Sub, ranging from version 2.11.0 up to the latest release candidate 2.37.0-rc.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eSubscriptionOption\u003c/code\u003e allows applications to override the default subscription when using \u003ccode\u003eSubscriber::Pull()\u003c/code\u003e or \u003ccode\u003eSubscriber::Subscribe()\u003c/code\u003e, enabling the reception of messages from multiple subscriptions.\u003c/p\u003e\n"],["\u003cp\u003eThe most recent stable release of the \u003ccode\u003eSubscriptionOption\u003c/code\u003e documented on this page is version 2.36.0, while the oldest being 2.11.0.\u003c/p\u003e\n"],["\u003cp\u003eThe latest version is a release candidate, version 2.37.0-rc, which may contain features not present in stable releases.\u003c/p\u003e\n"],["\u003cp\u003eType aliases for the object described in this documentation is \u003ccode\u003eSubscription\u003c/code\u003e.\u003c/p\u003e\n"]]],[],null,[]]