Reference documentation and code samples for the Cloud PubSub V1 Client class PublishResponse.
Response for the Publish
method.
Generated from protobuf message google.pubsub.v1.PublishResponse
Namespace
Google \ Cloud \ PubSub \ V1Methods
__construct
Constructor.
Parameters | |
---|---|
Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ message_ids |
array
Optional. 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. |
getMessageIds
Optional. 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.
Returns | |
---|---|
Type | Description |
Google\Protobuf\Internal\RepeatedField |
setMessageIds
Optional. 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.
Parameter | |
---|---|
Name | Description |
var |
string[]
|
Returns | |
---|---|
Type | Description |
$this |