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\u003eThe webpage provides documentation for various versions of the \u003ccode\u003egoogle::cloud::pubsub::SubscriptionOption\u003c/code\u003e, ranging from version 2.11.0 to 2.37.0-rc (the latest).\u003c/p\u003e\n"],["\u003cp\u003eThe documentation allows users to access specific versions of the \u003ccode\u003eSubscriptionOption\u003c/code\u003e documentation, with each version linking to the corresponding struct documentation.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eSubscriptionOption\u003c/code\u003e allows overriding the default subscription in \u003ccode\u003eSubscriber::Pull()\u003c/code\u003e or \u003ccode\u003eSubscriber::Subscribe()\u003c/code\u003e calls, which is useful for applications receiving messages from multiple subscriptions.\u003c/p\u003e\n"],["\u003cp\u003eThe Alias type of \u003ccode\u003eSubscription\u003c/code\u003e is described within the \u003ccode\u003eSubscriptionOption\u003c/code\u003e documentation.\u003c/p\u003e\n"],["\u003cp\u003eThe current documentation version being viewed is 2.32.0.\u003c/p\u003e\n"]]],[],null,[]]