class AcknowledgeRequest extends Message

Request for the Acknowledge method.

Protobuf type Google\Pubsub\V1\AcknowledgeRequest

Methods

__construct()

No description

string
getSubscription()

The subscription whose message is being acknowledged.

setSubscription(string $var)

The subscription whose message is being acknowledged.

RepeatedField
getAckIds()

The acknowledgment ID for the messages being acknowledged that was returned by the Pub/Sub system in the Pull response. Must not be empty.

setAckIds(array|RepeatedField $var)

The acknowledgment ID for the messages being acknowledged that was returned by the Pub/Sub system in the Pull response. Must not be empty.

Details

at line 33
__construct()

at line 45
string getSubscription()

The subscription whose message is being acknowledged.

Format is projects/{project}/subscriptions/{sub}.

Generated from protobuf field string subscription = 1;

Return Value

string

at line 57
setSubscription(string $var)

The subscription whose message is being acknowledged.

Format is projects/{project}/subscriptions/{sub}.

Generated from protobuf field string subscription = 1;

Parameters

string $var

at line 70
RepeatedField getAckIds()

The acknowledgment ID for the messages being acknowledged that was returned by the Pub/Sub system in the Pull response. Must not be empty.

Generated from protobuf field repeated string ack_ids = 2;

Return Value

RepeatedField

at line 82
setAckIds(array|RepeatedField $var)

The acknowledgment ID for the messages being acknowledged that was returned by the Pub/Sub system in the Pull response. Must not be empty.

Generated from protobuf field repeated string ack_ids = 2;

Parameters

array|RepeatedField $var