IoT Core Broker Service, gRPC: BrokerDataService.Publish
Written by
Updated at July 1, 2026
Publishes message on behalf of specified broker
gRPC request
rpc Publish (PublishBrokerDataRequest) returns (PublishBrokerDataResponse)
PublishBrokerDataRequest
{
"broker_id": "string",
"topic": "string",
"data": "bytes"
}
|
Field |
Description |
|
broker_id |
string Required field. ID of broker publishing message The maximum string length in characters is 50. |
|
topic |
string Required field. Topic where message should be published The maximum string length in characters is 1024. |
|
data |
bytes Content of the message The maximum string length in characters is 262144. |
PublishBrokerDataResponse
{}
|
Field |
Description |
|
Empty |
|