Class PullBatchRequest
Request for the PullBatch method.
Implements
Inherited Members
Namespace: Google.Apis.Pubsub.v1beta1a.Data
Assembly: Google.Apis.Pubsub.v1beta1a.dll
Syntax
public class PullBatchRequest : IDirectResponseSchema
Properties
ETag
The ETag of the item.
Declaration
public virtual string ETag { get; set; }
Property Value
Type | Description |
---|---|
string |
MaxEvents
The maximum number of PubsubEvents returned for this request. The Pub/Sub system may return fewer than the number of events specified.
Declaration
[JsonProperty("maxEvents")]
public virtual int? MaxEvents { get; set; }
Property Value
Type | Description |
---|---|
int? |
ReturnImmediately
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.
Declaration
[JsonProperty("returnImmediately")]
public virtual bool? ReturnImmediately { get; set; }
Property Value
Type | Description |
---|---|
bool? |
Subscription
The subscription from which messages should be pulled.
Declaration
[JsonProperty("subscription")]
public virtual string Subscription { get; set; }
Property Value
Type | Description |
---|---|
string |