You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When converting CloudEvents to legacy events, a legacy pubsub CloudEvent has type attribute "google.cloud.pubsub.topic.v1.messagePublished". This can be converted to a legacy event eventType as
Similarly, the CloudEvent source attribute e.g. //pubsub.googleapis.com/projects/sample-project/topics/gcf-test can be converted into a legacy event resource as
When converting CloudEvents to legacy events, a legacy pubsub CloudEvent has
type
attribute"google.cloud.pubsub.topic.v1.messagePublished"
. This can be converted to a legacy eventeventType
asgoogle.pubsub.topic.publish
providers/cloud.pubsub/eventTypes/topic.publish
(deprecated).Similarly, the CloudEvent
source
attribute e.g.//pubsub.googleapis.com/projects/sample-project/topics/gcf-test
can be converted into a legacy eventresource
asprojects/sample-project/topics/gcf-test
(deprecated).(This is also the case for legacy storage events.)
cc: @grant @jskeet
The text was updated successfully, but these errors were encountered: