Skip to content

Commit 5a5f82c

Browse files
committed
docs: Fix typos in mapping document
1 parent 67fc729 commit 5a5f82c

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

docs/mapping.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -141,8 +141,8 @@ This will lead to CloudEvent attributes of:
141141

142142
### Cloud PubSub events
143143

144-
The GCF HTTP representation of Cloud Storage events (events with a
145-
*gcf_service* of `storage.googleapis.com`) contain a `data` property
144+
The GCF HTTP representation of Cloud PubSub events (events with a
145+
*gcf_service* of `pubsub.googleapis.com`) contain a `data` property
146146
which needs to be wrapped in an extra JSON object in the CloudEvent
147147
`data` attribute, to conform with the [expected CloudEvent
148148
representation](https://github.com/googleapis/google-cloudevents/blob/master/proto/google/events/cloud/pubsub/v1/data.proto).
@@ -160,7 +160,7 @@ Additionally, two properties should be populated in the message,
160160
based on the context:
161161

162162
- The `messageId` property in the `message` object should be set to *gcf_event_id*
163-
- The `publishTime` proeprty in the `message` object should be set to *gcf_timestamp*
163+
- The `publishTime` property in the `message` object should be set to *gcf_timestamp*
164164

165165
The conversion should **not** parse *gcf_data* to ensure that only
166166
expected properties are present. (For example, the GCF HTTP

0 commit comments

Comments
 (0)