class PublishResponse extends Message

Response for the Publish method.

Protobuf type Google\Pubsub\V1\PublishResponse

Methods

__construct()

No description

RepeatedField
getMessageIds()

The server-assigned ID of each published message, in the same order as the messages in the request. IDs are guaranteed to be unique within the topic.

setMessageIds(array|RepeatedField $var)

The server-assigned ID of each published message, in the same order as the messages in the request. IDs are guaranteed to be unique within the topic.

Details

at line 27
__construct()

at line 40
RepeatedField getMessageIds()

The server-assigned ID of each published message, in the same order as the messages in the request. IDs are guaranteed to be unique within the topic.

Generated from protobuf field repeated string message_ids = 1;

Return Value

RepeatedField

at line 53
setMessageIds(array|RepeatedField $var)

The server-assigned ID of each published message, in the same order as the messages in the request. IDs are guaranteed to be unique within the topic.

Generated from protobuf field repeated string message_ids = 1;

Parameters

array|RepeatedField $var