App Engine StandardでCloud Pub/SubのPush Requestを受けた時のRequestの内容。 Headerに認証のTokenを入れるみたいなのはないっぽいので、やりたいなら、BodyのAttributesに適当にToken入れる感じだろうか。
- Content-Length = [284]
- Accept-Charset = [UTF-8]
- X-Appengine-Country = [ZZ]
- X-Cloud-Trace-Context = [b637a4a25755adafd922090e3c844cee/379846021913007296]
- Host = [sinmetal-pubsub.appspot.com]
- User-Agent = [CloudPubSub-Google]
- Content-Type = [application/json]
{
"message": {
"data": "SGVsbG8gQ2xvdWQgUHViL1N1Yg==",
"attributes": {},
"message_id": "153364794594948",
"messageId": "153364794594948",
"publish_time": "2017-09-13T10:32:37.328Z",
"publishTime": "2017-09-13T10:32:37.328Z"
},
"subscription": "projects/sinmetal-pubsub/subscriptions/pushsubscription"
}