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 in the Google Cloud Pub/Sub API, implementing multiple interfaces for message handling and object operations.\u003c/p\u003e\n"],["\u003cp\u003eThe latest version of Google.Cloud.PubSub.V1 is 3.23.0, and the page lists versions dating back to 2.3.0, with a link provided to the \u003ccode\u003ePullRequest\u003c/code\u003e documentation for each.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003ePullRequest\u003c/code\u003e class includes properties such as \u003ccode\u003eMaxMessages\u003c/code\u003e to specify the number of messages to be retrieved, \u003ccode\u003eSubscription\u003c/code\u003e to define the source of the messages, and \u003ccode\u003eReturnImmediately\u003c/code\u003e to control the timing of the response.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eSubscriptionAsSubscriptionName\u003c/code\u003e is a property that provides a typed view over the \u003ccode\u003eSubscription\u003c/code\u003e property, using \u003ccode\u003eSubscriptionName\u003c/code\u003e for resource name management.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003ePullRequest\u003c/code\u003e class has two constructors: one default constructor \u003ccode\u003ePullRequest()\u003c/code\u003e, and another that takes a \u003ccode\u003ePullRequest\u003c/code\u003e object as a parameter \u003ccode\u003ePullRequest(PullRequest other)\u003c/code\u003e.\u003c/p\u003e\n"]]],[],null,[]]