Cloud Pub/Sub v1 API - Class PullResponse (3.5.1)

public sealed class PullResponse : IMessage<PullResponse>, IEquatable<PullResponse>, IDeepCloneable<PullResponse>, IBufferMessage, IMessage

Reference documentation and code samples for the Cloud Pub/Sub v1 API class PullResponse.

Response for the Pull method.

Inheritance

object > PullResponse

Namespace

Google.Cloud.PubSub.V1

Assembly

Google.Cloud.PubSub.V1.dll

Constructors

PullResponse()

public PullResponse()

PullResponse(PullResponse)

public PullResponse(PullResponse other)
Parameter
NameDescription
otherPullResponse

Properties

ReceivedMessages

public RepeatedField<ReceivedMessage> ReceivedMessages { get; }

Received Pub/Sub messages. The list will be empty if there are no more messages available in the backlog, or if no messages could be returned before the request timeout. For JSON, the response can be entirely empty. The Pub/Sub system may return fewer than the maxMessages requested even if there are more messages available in the backlog.

Property Value
TypeDescription
RepeatedFieldReceivedMessage