Class PullRequest
Request for the Pull
method.
Implements
Inherited Members
Namespace: Google.Apis.Pubsub.v1beta2.Data
Assembly: Google.Apis.Pubsub.v1beta2.dll
Syntax
public class PullRequest : IDirectResponseSchema
Properties
ETag
The ETag of the item.
Declaration
public virtual string ETag { get; set; }
Property Value
Type | Description |
---|---|
string |
MaxMessages
The maximum number of messages returned for this request. The Pub/Sub system may return fewer than the number specified.
Declaration
[JsonProperty("maxMessages")]
public virtual int? MaxMessages { get; set; }
Property Value
Type | Description |
---|---|
int? |
ReturnImmediately
Optional. If this is specified as true the system will respond immediately even if it is not able to return
a message in the Pull
response. Otherwise the system is allowed to wait until at least one message is
available rather than returning no messages. The client may cancel the request if it does not wish to wait
any longer for the response. 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.
Declaration
[JsonProperty("returnImmediately")]
public virtual bool? ReturnImmediately { get; set; }
Property Value
Type | Description |
---|---|
bool? |