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\u003eThe \u003ccode\u003ePullRequest\u003c/code\u003e class is used to request data from the \u003ccode\u003ePull\u003c/code\u003e method within the Google Cloud Pub/Sub service, serving as a request object for retrieving messages.\u003c/p\u003e\n"],["\u003cp\u003eThe latest version of this class is version 3.23.0, and numerous previous versions of this class are documented, spanning from versions 2.3.0 to 3.22.0.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003ePullRequest\u003c/code\u003e inherits from \u003ccode\u003eObject\u003c/code\u003e and implements multiple interfaces, including \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e, for enhanced functionality.\u003c/p\u003e\n"],["\u003cp\u003eKey properties of \u003ccode\u003ePullRequest\u003c/code\u003e include \u003ccode\u003eMaxMessages\u003c/code\u003e (the maximum number of messages to be pulled), \u003ccode\u003eReturnImmediately\u003c/code\u003e (an optional setting for immediate response), and \u003ccode\u003eSubscription\u003c/code\u003e (specifying the target subscription).\u003c/p\u003e\n"],["\u003cp\u003eThe class features two constructors: a parameterless constructor and one that takes another \u003ccode\u003ePullRequest\u003c/code\u003e instance as a parameter, allowing for the creation of new requests, and cloned requests respectively.\u003c/p\u003e\n"]]],[],null,[]]