class ModifyAckDeadlineRequest extends Message

Request for the ModifyAckDeadline method.

Protobuf type Google\Pubsub\V1\ModifyAckDeadlineRequest

Methods

__construct()

No description

string
getSubscription()

The name of the subscription.

setSubscription(string $var)

The name of the subscription.

RepeatedField
getAckIds()

List of acknowledgment IDs.

setAckIds(array|RepeatedField $var)

List of acknowledgment IDs.

int
getAckDeadlineSeconds()

The new ack deadline with respect to the time this request was sent to the Pub/Sub system. For example, if the value is 10, the new ack deadline will expire 10 seconds after the ModifyAckDeadline call was made. Specifying zero may immediately make the message available for another pull request.

setAckDeadlineSeconds(int $var)

The new ack deadline with respect to the time this request was sent to the Pub/Sub system. For example, if the value is 10, the new ack deadline will expire 10 seconds after the ModifyAckDeadline call was made. Specifying zero may immediately make the message available for another pull request.

Details

at line 44
__construct()

at line 56
string getSubscription()

The name of the subscription.

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

Generated from protobuf field string subscription = 1;

Return Value

string

at line 68
setSubscription(string $var)

The name of the subscription.

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

Generated from protobuf field string subscription = 1;

Parameters

string $var

at line 80
RepeatedField getAckIds()

List of acknowledgment IDs.

Generated from protobuf field repeated string ack_ids = 4;

Return Value

RepeatedField

at line 91
setAckIds(array|RepeatedField $var)

List of acknowledgment IDs.

Generated from protobuf field repeated string ack_ids = 4;

Parameters

array|RepeatedField $var

at line 109
int getAckDeadlineSeconds()

The new ack deadline with respect to the time this request was sent to the Pub/Sub system. For example, if the value is 10, the new ack deadline will expire 10 seconds after the ModifyAckDeadline call was made. Specifying zero may immediately make the message available for another pull request.

The minimum deadline you can specify is 0 seconds. The maximum deadline you can specify is 600 seconds (10 minutes).

Generated from protobuf field int32 ack_deadline_seconds = 3;

Return Value

int

at line 126
setAckDeadlineSeconds(int $var)

The new ack deadline with respect to the time this request was sent to the Pub/Sub system. For example, if the value is 10, the new ack deadline will expire 10 seconds after the ModifyAckDeadline call was made. Specifying zero may immediately make the message available for another pull request.

The minimum deadline you can specify is 0 seconds. The maximum deadline you can specify is 600 seconds (10 minutes).

Generated from protobuf field int32 ack_deadline_seconds = 3;

Parameters

int $var