Reference documentation and code samples for the Cloud PubSub V1 Client class StreamingPullResponse.
Response for the StreamingPull
method. This response is used to stream
messages from the server to the client.
Generated from protobuf message google.pubsub.v1.StreamingPullResponse
Methods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ received_messages
↳ acknowledge_confirmation
Google\Cloud\PubSub\V1\StreamingPullResponse\AcknowledgeConfirmation
This field will only be set if enable_exactly_once_delivery
is set to true
.
↳ modify_ack_deadline_confirmation
Google\Cloud\PubSub\V1\StreamingPullResponse\ModifyAckDeadlineConfirmation
This field will only be set if enable_exactly_once_delivery
is set to true
.
↳ subscription_properties
Google\Cloud\PubSub\V1\StreamingPullResponse\SubscriptionProperties
Properties associated with this subscription.
getReceivedMessages
Received Pub/Sub messages. This will not be empty.
setReceivedMessages
Received Pub/Sub messages. This will not be empty.
$this
getAcknowledgeConfirmation
This field will only be set if enable_exactly_once_delivery
is set to true
.
hasAcknowledgeConfirmation
clearAcknowledgeConfirmation
setAcknowledgeConfirmation
This field will only be set if enable_exactly_once_delivery
is set to true
.
$this
getModifyAckDeadlineConfirmation
This field will only be set if enable_exactly_once_delivery
is set to true
.
hasModifyAckDeadlineConfirmation
clearModifyAckDeadlineConfirmation
setModifyAckDeadlineConfirmation
This field will only be set if enable_exactly_once_delivery
is set to true
.
$this
getSubscriptionProperties
Properties associated with this subscription.
hasSubscriptionProperties
clearSubscriptionProperties
setSubscriptionProperties
Properties associated with this subscription.
$this