Cloud PubSub V1 Client - Class AcknowledgeConfirmation (1.40.1)

Reference documentation and code samples for the Cloud PubSub V1 Client class AcknowledgeConfirmation.

Acknowledgement IDs sent in one or more previous requests to acknowledge a previously received message.

Generated from protobuf message google.pubsub.v1.StreamingPullResponse.AcknowledgeConfirmation

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ ack_ids array

Successfully processed acknowledgement IDs.

↳ invalid_ack_ids array

List of acknowledgement IDs that were malformed or whose acknowledgement deadline has expired.

↳ unordered_ack_ids array

List of acknowledgement IDs that were out of order.

getAckIds

Successfully processed acknowledgement IDs.

Returns
Type Description
Google\Protobuf\Internal\RepeatedField

setAckIds

Successfully processed acknowledgement IDs.

Parameter
Name Description
var string[]
Returns
Type Description
$this

getInvalidAckIds

List of acknowledgement IDs that were malformed or whose acknowledgement deadline has expired.

Returns
Type Description
Google\Protobuf\Internal\RepeatedField

setInvalidAckIds

List of acknowledgement IDs that were malformed or whose acknowledgement deadline has expired.

Parameter
Name Description
var string[]
Returns
Type Description
$this

getUnorderedAckIds

List of acknowledgement IDs that were out of order.

Returns
Type Description
Google\Protobuf\Internal\RepeatedField

setUnorderedAckIds

List of acknowledgement IDs that were out of order.

Parameter
Name Description
var string[]
Returns
Type Description
$this