Required. The maximum number of messages to return for this request. Must
be a positive integer. The Pub/Sub system may return fewer than the number
specified.
Optional. If this field set to true, the system will respond immediately
even if it there are no messages available to return in the Pull
response. Otherwise, the system may wait (for a bounded amount of time)
until at least one message is available, rather than returning no messages.
Warning: setting this field to true is discouraged because it adversely
impacts the performance of Pull operations. We recommend that users do
not set this field.
[[["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 details the \u003ccode\u003ePullRequest\u003c/code\u003e class within the \u003ccode\u003eGoogle.Cloud.PubSub.V1\u003c/code\u003e namespace, specifically for version 2.5.0 of the library, but also provides links to many versions up to the latest, 3.23.0.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003ePullRequest\u003c/code\u003e class, which implements several interfaces like \u003ccode\u003eIMessage\u003c/code\u003e and \u003ccode\u003eIDeepCloneable\u003c/code\u003e, is used to make requests for the \u003ccode\u003ePull\u003c/code\u003e method within Google Cloud Pub/Sub.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003ePullRequest\u003c/code\u003e class has properties like \u003ccode\u003eMaxMessages\u003c/code\u003e, which specifies the maximum number of messages to return, \u003ccode\u003eSubscription\u003c/code\u003e, indicating the subscription to pull from, and \u003ccode\u003eReturnImmediately\u003c/code\u003e, an optional and discouraged boolean that specifies whether the method should return immediately, even if no messages are ready.\u003c/p\u003e\n"],["\u003cp\u003eThere are two constructors for the \u003ccode\u003ePullRequest\u003c/code\u003e class, one with no arguments, and one that takes another instance of the class as an argument, allowing for easy duplication of objects.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eSubscriptionAsSubscriptionName\u003c/code\u003e is a read-only property used to view the resource name property, \u003ccode\u003eSubscription\u003c/code\u003e, as a strongly typed object.\u003c/p\u003e\n"]]],[],null,[]]