GoogleCloudPlatform/gcloud-node — pull request #330 by pilwon (2014-12-15 17:32:44+00:00)
Title: Bug fix: pubsub does not publish message data.

The official API documentation for `publish` endpoint requires `data` and `label` nested under `message` key. (see https://cloud.google.com/pubsub/v1beta1/topics/publish)

```js
{
"topic": string,
"message": {
"data": bytes,
"label": [
{
"key": string,
"strValue": string,
"numValue": long
}
]
}
}
```