PublishRequest
class PublishRequest extends Message
Request for the Publish method.
Protobuf type Google\Pubsub\V1\PublishRequest
Methods
No description
The messages in the request will be published on this topic.
The messages in the request will be published on this topic.
The messages to publish.
The messages to publish.
Details
at line 32
__construct()
at line 44
string
getTopic()
The messages in the request will be published on this topic.
Format is projects/{project}/topics/{topic}
.
Generated from protobuf field string topic = 1;
at line 56
setTopic(string $var)
The messages in the request will be published on this topic.
Format is projects/{project}/topics/{topic}
.
Generated from protobuf field string topic = 1;
at line 68
RepeatedField
getMessages()
The messages to publish.
Generated from protobuf field repeated .google.pubsub.v1.PubsubMessage messages = 2;
at line 79
setMessages(array|RepeatedField $var)
The messages to publish.
Generated from protobuf field repeated .google.pubsub.v1.PubsubMessage messages = 2;